Home
last modified time | relevance | path

Searched refs:KSMBD_TRANS (Results 1 – 2 of 2) sorted by relevance

/linux/fs/ksmbd/
A Dtransport_tcp.c43 #define KSMBD_TRANS(t) (&(t)->transport) macro
88 conn->transport = KSMBD_TRANS(t); in alloc_transport()
89 KSMBD_TRANS(t)->conn = conn; in alloc_transport()
90 KSMBD_TRANS(t)->ops = &ksmbd_tcp_transport_ops; in alloc_transport()
100 ksmbd_conn_free(KSMBD_TRANS(t)->conn); in free_transport()
191 csin = KSMBD_TCP_PEER_SOCKADDR(KSMBD_TRANS(t)->conn); in ksmbd_tcp_new_connection()
198 KSMBD_TRANS(t)->handler = kthread_run(ksmbd_conn_handler_loop, in ksmbd_tcp_new_connection()
199 KSMBD_TRANS(t)->conn, in ksmbd_tcp_new_connection()
202 if (IS_ERR(KSMBD_TRANS(t)->handler)) { in ksmbd_tcp_new_connection()
204 rc = PTR_ERR(KSMBD_TRANS(t)->handler); in ksmbd_tcp_new_connection()
[all …]
A Dtransport_rdma.c159 #define KSMBD_TRANS(t) ((struct ksmbd_transport *)&((t)->transport)) macro
391 conn->transport = KSMBD_TRANS(t); in alloc_transport()
392 KSMBD_TRANS(t)->conn = conn; in alloc_transport()
393 KSMBD_TRANS(t)->ops = &ksmbd_smb_direct_transport_ops; in alloc_transport()
445 ksmbd_conn_free(KSMBD_TRANS(t)->conn); in free_transport()
1935 KSMBD_TRANS(t)->handler = kthread_run(ksmbd_conn_handler_loop, in smb_direct_handle_connect_request()
1936 KSMBD_TRANS(t)->conn, "ksmbd:r%u", in smb_direct_handle_connect_request()
1938 if (IS_ERR(KSMBD_TRANS(t)->handler)) { in smb_direct_handle_connect_request()
1939 int ret = PTR_ERR(KSMBD_TRANS(t)->handler); in smb_direct_handle_connect_request()

Completed in 9 milliseconds