/linux-6.12.1/fs/smb/server/mgmt/ |
D | user_session.h | 32 struct ksmbd_session { struct 68 static inline int test_session_flag(struct ksmbd_session *sess, int bit) in test_session_flag() argument 73 static inline void set_session_flag(struct ksmbd_session *sess, int bit) in set_session_flag() 78 static inline void clear_session_flag(struct ksmbd_session *sess, int bit) in clear_session_flag() 83 struct ksmbd_session *ksmbd_smb2_session_create(void); 85 void ksmbd_session_destroy(struct ksmbd_session *sess); 87 struct ksmbd_session *ksmbd_session_lookup_slowpath(unsigned long long id); 88 struct ksmbd_session *ksmbd_session_lookup(struct ksmbd_conn *conn, 91 struct ksmbd_session *sess); 93 struct ksmbd_session *__session_lookup(unsigned long long id); [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() 128 void ksmbd_session_rpc_close(struct ksmbd_session *sess, int id) in ksmbd_session_rpc_close() 137 int ksmbd_session_rpc_method(struct ksmbd_session *sess, int id) in ksmbd_session_rpc_method() 145 void ksmbd_session_destroy(struct ksmbd_session *sess) in ksmbd_session_destroy() 163 struct ksmbd_session *__session_lookup(unsigned long long id) in __session_lookup() 165 struct ksmbd_session *sess; in __session_lookup() 179 struct ksmbd_session *sess; in ksmbd_expire_session() [all …]
|
D | tree_connect.h | 51 struct ksmbd_session; 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 | 27 struct ksmbd_session *sess = work->sess; in ksmbd_tree_conn_connect() 112 int ksmbd_tree_conn_disconnect(struct ksmbd_session *sess, in ksmbd_tree_conn_disconnect() 132 struct ksmbd_tree_connect *ksmbd_tree_conn_lookup(struct ksmbd_session *sess, in ksmbd_tree_conn_lookup() 150 int ksmbd_tree_conn_session_logoff(struct ksmbd_session *sess) in ksmbd_tree_conn_session_logoff()
|
/linux-6.12.1/fs/smb/server/ |
D | transport_ipc.h | 18 struct ksmbd_session; 24 ksmbd_ipc_tree_connect_request(struct ksmbd_session *sess, 37 struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle); 38 struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle); 39 struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle, 41 struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle); 42 struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle, 44 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() 220 int ksmbd_auth_ntlmv2(struct ksmbd_conn *conn, struct ksmbd_session *sess, in ksmbd_auth_ntlmv2() 307 struct ksmbd_session *sess) in ksmbd_decode_ntlmssp_auth_blob() 511 int ksmbd_krb5_authenticate(struct ksmbd_session *sess, char *in_blob, in ksmbd_krb5_authenticate() 565 int ksmbd_krb5_authenticate(struct ksmbd_session *sess, char *in_blob, in ksmbd_krb5_authenticate() 680 static int generate_key(struct ksmbd_conn *conn, struct ksmbd_session *sess, in generate_key() 767 static int generate_smb3signingkey(struct ksmbd_session *sess, in generate_smb3signingkey() 801 int ksmbd_gen_smb30_signingkey(struct ksmbd_session *sess, in ksmbd_gen_smb30_signingkey() 815 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 | 229 static int rpc_context_flags(struct ksmbd_session *sess) in rpc_context_flags() 644 ksmbd_ipc_tree_connect_request(struct ksmbd_session *sess, in ksmbd_ipc_tree_connect_request() 754 struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle) in ksmbd_rpc_open() 776 struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle) in ksmbd_rpc_close() 798 struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle, in ksmbd_rpc_write() 823 struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle) in ksmbd_rpc_read() 846 struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle, in ksmbd_rpc_ioctl() 871 struct ksmbd_rpc_command *ksmbd_rpc_rap(struct ksmbd_session *sess, void *payload, in ksmbd_rpc_rap()
|
D | oplock.h | 57 struct ksmbd_session *sess; 120 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 | 30 struct ksmbd_session;
|
D | smb2pdu.h | 461 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() 1262 static int alloc_preauth_hash(struct ksmbd_session *sess, in alloc_preauth_hash() 1279 struct ksmbd_session *sess = work->sess; in generate_preauth_hash() 1438 struct ksmbd_session *sess = work->sess; in ntlm_authenticate() 1576 struct ksmbd_session *sess = work->sess; in krb5_authenticate() 1664 struct ksmbd_session *sess; in smb2_sess_setup() 1937 struct ksmbd_session *sess = work->sess; in smb2_tree_connect() 2135 struct ksmbd_session *sess = work->sess; in smb2_tree_disconnect() 2200 struct ksmbd_session *sess; in smb2_session_logoff() [all …]
|
D | oplock.c | 34 struct ksmbd_session *sess = work->sess; in alloc_opinfo() 976 int find_same_lease_key(struct ksmbd_session *sess, struct ksmbd_inode *ci, in find_same_lease_key() 1180 struct ksmbd_session *sess = work->sess; in smb_grant_oplock()
|
D | smb_common.c | 742 struct ksmbd_session *sess = work->sess; in __ksmbd_override_fsids()
|