Searched refs:tree_conn (Results 1 – 5 of 5) sorted by relevance
25 struct ksmbd_tree_connect *tree_conn = NULL; in ksmbd_tree_conn_connect() local33 tree_conn = kzalloc(sizeof(struct ksmbd_tree_connect), GFP_KERNEL); in ksmbd_tree_conn_connect()34 if (!tree_conn) { in ksmbd_tree_conn_connect()39 tree_conn->id = ksmbd_acquire_tree_conn_id(sess); in ksmbd_tree_conn_connect()40 if (tree_conn->id < 0) { in ksmbd_tree_conn_connect()48 tree_conn, in ksmbd_tree_conn_connect()59 tree_conn->flags = resp->connection_flags; in ksmbd_tree_conn_connect()60 if (test_tree_conn_flag(tree_conn, KSMBD_TREE_CONN_FLAG_UPDATE)) { in ksmbd_tree_conn_connect()74 tree_conn->user = sess->user; in ksmbd_tree_conn_connect()75 tree_conn->share_conf = sc; in ksmbd_tree_conn_connect()[all …]
41 struct ksmbd_tree_connect *tree_conn; member44 static inline int test_tree_conn_flag(struct ksmbd_tree_connect *tree_conn, in test_tree_conn_flag() argument47 return tree_conn->flags & flag; in test_tree_conn_flag()58 struct ksmbd_tree_connect *tree_conn);
24 struct ksmbd_tree_connect *tree_conn,
552 struct ksmbd_tree_connect *tree_conn, in ksmbd_ipc_tree_connect_request() argument575 req->connect_id = tree_conn->id; in ksmbd_ipc_tree_connect_request()
1974 rsp->hdr.Id.SyncId.TreeId = cpu_to_le32(status.tree_conn->id); in smb2_tree_connect()1978 share = status.tree_conn->share_conf; in smb2_tree_connect()1991 if (test_tree_conn_flag(status.tree_conn, in smb2_tree_connect()2002 status.tree_conn->maximal_access = le32_to_cpu(rsp->MaximalAccess); in smb2_tree_connect()2004 status.tree_conn->posix_extensions = true; in smb2_tree_connect()2007 status.tree_conn->t_state = TREE_CONNECTED; in smb2_tree_connect()