Home
last modified time | relevance | path

Searched refs:ksmbd_session (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/fs/smb/server/mgmt/
Duser_session.h32 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 …]
Duser_session.c30 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 …]
Dtree_connect.h50 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);
Dtree_connect.c19 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/
Dtransport_ipc.h16 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,
Dauth.h34 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);
Dauth.c79 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 …]
Dksmbd_work.h13 struct ksmbd_session;
31 struct ksmbd_session *sess;
Dtransport_ipc.c214 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()
Doplock.h64 struct ksmbd_session *sess;
127 int find_same_lease_key(struct ksmbd_session *sess, struct ksmbd_inode *ci,
Dsmb_common.h409 int (*generate_signingkey)(struct ksmbd_session *sess, struct ksmbd_conn *conn);
410 int (*generate_encryptionkey)(struct ksmbd_conn *conn, struct ksmbd_session *sess);
Dvfs_cache.h29 struct ksmbd_session;
Dsmb2pdu.h444 struct channel *lookup_chann_list(struct ksmbd_session *sess,
Dsmb2pdu.c64 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 …]
Doplock.c34 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()
Dsmb_common.c734 struct ksmbd_session *sess = work->sess; in ksmbd_override_fsids()