Home
last modified time | relevance | path

Searched refs:tree_conn (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/fs/smb/server/mgmt/
Dtree_connect.c24 struct ksmbd_tree_connect *tree_conn = NULL; in ksmbd_tree_conn_connect() local
34 tree_conn = kzalloc(sizeof(struct ksmbd_tree_connect), GFP_KERNEL); in ksmbd_tree_conn_connect()
35 if (!tree_conn) { in ksmbd_tree_conn_connect()
40 tree_conn->id = ksmbd_acquire_tree_conn_id(sess); in ksmbd_tree_conn_connect()
41 if (tree_conn->id < 0) { in ksmbd_tree_conn_connect()
49 tree_conn, in ksmbd_tree_conn_connect()
60 tree_conn->flags = resp->connection_flags; in ksmbd_tree_conn_connect()
61 if (test_tree_conn_flag(tree_conn, KSMBD_TREE_CONN_FLAG_UPDATE)) { in ksmbd_tree_conn_connect()
75 tree_conn->user = sess->user; in ksmbd_tree_conn_connect()
76 tree_conn->share_conf = sc; in ksmbd_tree_conn_connect()
[all …]
Dtree_connect.h42 struct ksmbd_tree_connect *tree_conn; member
45 static inline int test_tree_conn_flag(struct ksmbd_tree_connect *tree_conn, in test_tree_conn_flag() argument
48 return tree_conn->flags & flag; in test_tree_conn_flag()
58 struct ksmbd_tree_connect *tree_conn);
/linux-6.12.1/fs/smb/server/
Dtransport_ipc.h26 struct ksmbd_tree_connect *tree_conn,
Dtransport_ipc.c646 struct ksmbd_tree_connect *tree_conn, in ksmbd_ipc_tree_connect_request() argument
669 req->connect_id = tree_conn->id; in ksmbd_ipc_tree_connect_request()
Dsmb2pdu.c1965 rsp->hdr.Id.SyncId.TreeId = cpu_to_le32(status.tree_conn->id); in smb2_tree_connect()
1969 share = status.tree_conn->share_conf; in smb2_tree_connect()
1982 if (test_tree_conn_flag(status.tree_conn, in smb2_tree_connect()
1993 status.tree_conn->maximal_access = le32_to_cpu(rsp->MaximalAccess); in smb2_tree_connect()
1995 status.tree_conn->posix_extensions = true; in smb2_tree_connect()
1998 status.tree_conn->t_state = TREE_CONNECTED; in smb2_tree_connect()