Home
last modified time | relevance | path

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

/linux-5.19.10/fs/ksmbd/
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 …]
Dtransport_rdma.c160 #define KSMBD_TRANS(t) ((struct ksmbd_transport *)&((t)->transport)) macro
403 conn->transport = KSMBD_TRANS(t); in alloc_transport()
404 KSMBD_TRANS(t)->conn = conn; in alloc_transport()
405 KSMBD_TRANS(t)->ops = &ksmbd_smb_direct_transport_ops; in alloc_transport()
456 ksmbd_conn_free(KSMBD_TRANS(t)->conn); in free_transport()
2048 KSMBD_TRANS(t)->handler = kthread_run(ksmbd_conn_handler_loop, in smb_direct_handle_connect_request()
2049 KSMBD_TRANS(t)->conn, "ksmbd:r%u", in smb_direct_handle_connect_request()
2051 if (IS_ERR(KSMBD_TRANS(t)->handler)) { in smb_direct_handle_connect_request()
2052 ret = PTR_ERR(KSMBD_TRANS(t)->handler); in smb_direct_handle_connect_request()