Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/mgmt/
H A Dtree_connect.c35 if (!tree_conn) { in ksmbd_tree_conn_connect()
41 if (tree_conn->id < 0) { in ksmbd_tree_conn_connect()
49 tree_conn, 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()
77 tree_conn->t_state = TREE_NEW; in ksmbd_tree_conn_connect()
78 status.tree_conn = tree_conn; in ksmbd_tree_conn_connect()
82 ret = xa_err(xa_store(&sess->tree_conns, tree_conn->id, tree_conn, in ksmbd_tree_conn_connect()
92 if (tree_conn) in ksmbd_tree_conn_connect()
95 kfree(tree_conn); in ksmbd_tree_conn_connect()
[all …]
H A 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);
/openbmc/linux/fs/smb/server/
H A Dtransport_ipc.h24 struct ksmbd_tree_connect *tree_conn,
H A Dtransport_ipc.c590 struct ksmbd_tree_connect *tree_conn, in ksmbd_ipc_tree_connect_request() argument
613 req->connect_id = tree_conn->id; in ksmbd_ipc_tree_connect_request()
H A Dsmb2pdu.c1968 rsp->hdr.Id.SyncId.TreeId = cpu_to_le32(status.tree_conn->id); in smb2_tree_connect()
1972 share = status.tree_conn->share_conf; in smb2_tree_connect()
1985 if (test_tree_conn_flag(status.tree_conn, in smb2_tree_connect()
1996 status.tree_conn->maximal_access = le32_to_cpu(rsp->MaximalAccess); in smb2_tree_connect()
1998 status.tree_conn->posix_extensions = true; in smb2_tree_connect()
2001 status.tree_conn->t_state = TREE_CONNECTED; in smb2_tree_connect()