/linux-6.6.21/fs/smb/server/mgmt/ |
D | user_session.h | 32 struct ksmbd_session { struct 66 static inline int test_session_flag(struct ksmbd_session *sess, int bit) in test_session_flag() argument 71 static inline void set_session_flag(struct ksmbd_session *sess, int bit) in set_session_flag() 76 static inline void clear_session_flag(struct ksmbd_session *sess, int bit) in clear_session_flag() 81 struct ksmbd_session *ksmbd_smb2_session_create(void); 83 void ksmbd_session_destroy(struct ksmbd_session *sess); 85 struct ksmbd_session *ksmbd_session_lookup_slowpath(unsigned long long id); 86 struct ksmbd_session *ksmbd_session_lookup(struct ksmbd_conn *conn, 89 struct ksmbd_session *sess); 91 struct ksmbd_session *ksmbd_session_lookup_all(struct ksmbd_conn *conn, [all …]
|
D | user_session.c | 30 static void free_channel_list(struct ksmbd_session *sess) in free_channel_list() 43 static void __session_rpc_close(struct ksmbd_session *sess, in __session_rpc_close() 57 static void ksmbd_session_rpc_clear_list(struct ksmbd_session *sess) in ksmbd_session_rpc_clear_list() 91 int ksmbd_session_rpc_open(struct ksmbd_session *sess, char *rpc_name) in ksmbd_session_rpc_open() 125 void ksmbd_session_rpc_close(struct ksmbd_session *sess, int id) in ksmbd_session_rpc_close() 134 int ksmbd_session_rpc_method(struct ksmbd_session *sess, int id) in ksmbd_session_rpc_method() 142 void ksmbd_session_destroy(struct ksmbd_session *sess) in ksmbd_session_destroy() 159 static struct ksmbd_session *__session_lookup(unsigned long long id) in __session_lookup() 161 struct ksmbd_session *sess; in __session_lookup() 175 struct ksmbd_session *sess; in ksmbd_expire_session() [all …]
|
D | tree_connect.h | 50 struct ksmbd_session; 53 ksmbd_tree_conn_connect(struct ksmbd_conn *conn, struct ksmbd_session *sess, 57 int ksmbd_tree_conn_disconnect(struct ksmbd_session *sess, 60 struct ksmbd_tree_connect *ksmbd_tree_conn_lookup(struct ksmbd_session *sess, 63 int ksmbd_tree_conn_session_logoff(struct ksmbd_session *sess);
|
D | tree_connect.c | 19 ksmbd_tree_conn_connect(struct ksmbd_conn *conn, struct ksmbd_session *sess, in ksmbd_tree_conn_connect() 111 int ksmbd_tree_conn_disconnect(struct ksmbd_session *sess, in ksmbd_tree_conn_disconnect() 131 struct ksmbd_tree_connect *ksmbd_tree_conn_lookup(struct ksmbd_session *sess, in ksmbd_tree_conn_lookup() 149 int ksmbd_tree_conn_session_logoff(struct ksmbd_session *sess) in ksmbd_tree_conn_session_logoff()
|
/linux-6.6.21/fs/smb/server/ |
D | transport_ipc.h | 16 struct ksmbd_session; 22 ksmbd_ipc_tree_connect_request(struct ksmbd_session *sess, 35 struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle); 36 struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle); 37 struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle, 39 struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle); 40 struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle, 42 struct ksmbd_rpc_command *ksmbd_rpc_rap(struct ksmbd_session *sess, void *payload,
|
D | auth.h | 34 struct ksmbd_session; 42 int ksmbd_auth_ntlmv2(struct ksmbd_conn *conn, struct ksmbd_session *sess, 47 struct ksmbd_session *sess); 53 int ksmbd_krb5_authenticate(struct ksmbd_session *sess, char *in_blob, 59 int ksmbd_gen_smb30_signingkey(struct ksmbd_session *sess, 61 int ksmbd_gen_smb311_signingkey(struct ksmbd_session *sess, 64 struct ksmbd_session *sess); 66 struct ksmbd_session *sess);
|
D | auth.c | 79 static int ksmbd_gen_sess_key(struct ksmbd_session *sess, char *hash, in ksmbd_gen_sess_key() 124 static int calc_ntlmv2_hash(struct ksmbd_conn *conn, struct ksmbd_session *sess, in calc_ntlmv2_hash() 218 int ksmbd_auth_ntlmv2(struct ksmbd_conn *conn, struct ksmbd_session *sess, in ksmbd_auth_ntlmv2() 304 struct ksmbd_session *sess) in ksmbd_decode_ntlmssp_auth_blob() 509 int ksmbd_krb5_authenticate(struct ksmbd_session *sess, char *in_blob, in ksmbd_krb5_authenticate() 559 int ksmbd_krb5_authenticate(struct ksmbd_session *sess, char *in_blob, in ksmbd_krb5_authenticate() 674 static int generate_key(struct ksmbd_conn *conn, struct ksmbd_session *sess, in generate_key() 761 static int generate_smb3signingkey(struct ksmbd_session *sess, in generate_smb3signingkey() 795 int ksmbd_gen_smb30_signingkey(struct ksmbd_session *sess, in ksmbd_gen_smb30_signingkey() 809 int ksmbd_gen_smb311_signingkey(struct ksmbd_session *sess, in ksmbd_gen_smb311_signingkey() [all …]
|
D | ksmbd_work.h | 13 struct ksmbd_session; 31 struct ksmbd_session *sess;
|
D | transport_ipc.c | 214 static int rpc_context_flags(struct ksmbd_session *sess) in rpc_context_flags() 551 ksmbd_ipc_tree_connect_request(struct ksmbd_session *sess, in ksmbd_ipc_tree_connect_request() 661 struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle) in ksmbd_rpc_open() 683 struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle) in ksmbd_rpc_close() 705 struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle, in ksmbd_rpc_write() 730 struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle) in ksmbd_rpc_read() 753 struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle, in ksmbd_rpc_ioctl() 778 struct ksmbd_rpc_command *ksmbd_rpc_rap(struct ksmbd_session *sess, void *payload, in ksmbd_rpc_rap()
|
D | oplock.h | 64 struct ksmbd_session *sess; 127 int find_same_lease_key(struct ksmbd_session *sess, struct ksmbd_inode *ci,
|
D | smb_common.h | 409 int (*generate_signingkey)(struct ksmbd_session *sess, struct ksmbd_conn *conn); 410 int (*generate_encryptionkey)(struct ksmbd_conn *conn, struct ksmbd_session *sess);
|
D | vfs_cache.h | 29 struct ksmbd_session;
|
D | smb2pdu.h | 444 struct channel *lookup_chann_list(struct ksmbd_session *sess,
|
D | smb2pdu.c | 64 struct ksmbd_session *sess; in check_session_id() 76 struct channel *lookup_chann_list(struct ksmbd_session *sess, struct ksmbd_conn *conn) in lookup_chann_list() 613 struct ksmbd_session *prev_sess = ksmbd_session_lookup_slowpath(id); in destroy_previous_session() 1274 static int alloc_preauth_hash(struct ksmbd_session *sess, in alloc_preauth_hash() 1291 struct ksmbd_session *sess = work->sess; in generate_preauth_hash() 1452 struct ksmbd_session *sess = work->sess; in ntlm_authenticate() 1591 struct ksmbd_session *sess = work->sess; in krb5_authenticate() 1679 struct ksmbd_session *sess; in smb2_sess_setup() 1946 struct ksmbd_session *sess = work->sess; in smb2_tree_connect() 2130 struct ksmbd_session *sess = work->sess; in smb2_tree_disconnect() [all …]
|
D | oplock.c | 34 struct ksmbd_session *sess = work->sess; in alloc_opinfo() 979 int find_same_lease_key(struct ksmbd_session *sess, struct ksmbd_inode *ci, in find_same_lease_key() 1193 struct ksmbd_session *sess = work->sess; in smb_grant_oplock()
|
D | smb_common.c | 734 struct ksmbd_session *sess = work->sess; in ksmbd_override_fsids()
|