/linux-6.1.9/fs/ksmbd/ |
D | auth.h | 35 struct ksmbd_conn; 42 int ksmbd_auth_ntlmv2(struct ksmbd_conn *conn, struct ksmbd_session *sess, 46 int blob_len, struct ksmbd_conn *conn, 49 int blob_len, struct ksmbd_conn *conn); 52 struct ksmbd_conn *conn); 55 int ksmbd_sign_smb2_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, 57 int ksmbd_sign_smb3_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, 60 struct ksmbd_conn *conn); 62 struct ksmbd_conn *conn); 63 int ksmbd_gen_smb30_encryptionkey(struct ksmbd_conn *conn, [all …]
|
D | connection.h | 39 struct ksmbd_conn { struct 109 int (*process_fn)(struct ksmbd_conn *conn); argument 110 int (*terminate_fn)(struct ksmbd_conn *conn); 132 struct ksmbd_conn *conn; 144 bool ksmbd_conn_alive(struct ksmbd_conn *conn); 145 void ksmbd_conn_wait_idle(struct ksmbd_conn *conn); 146 struct ksmbd_conn *ksmbd_conn_alloc(void); 147 void ksmbd_conn_free(struct ksmbd_conn *conn); 148 bool ksmbd_conn_lookup_dialect(struct ksmbd_conn *c); 150 int ksmbd_conn_rdma_read(struct ksmbd_conn *conn, [all …]
|
D | connection.c | 33 void ksmbd_conn_free(struct ksmbd_conn *conn) in ksmbd_conn_free() 50 struct ksmbd_conn *ksmbd_conn_alloc(void) in ksmbd_conn_alloc() 52 struct ksmbd_conn *conn; in ksmbd_conn_alloc() 54 conn = kzalloc(sizeof(struct ksmbd_conn), GFP_KERNEL); in ksmbd_conn_alloc() 93 bool ksmbd_conn_lookup_dialect(struct ksmbd_conn *c) in ksmbd_conn_lookup_dialect() 95 struct ksmbd_conn *t; in ksmbd_conn_lookup_dialect() 112 struct ksmbd_conn *conn = work->conn; in ksmbd_conn_enqueue_request() 130 struct ksmbd_conn *conn = work->conn; in ksmbd_conn_try_dequeue_request() 152 static void ksmbd_conn_lock(struct ksmbd_conn *conn) in ksmbd_conn_lock() 157 static void ksmbd_conn_unlock(struct ksmbd_conn *conn) in ksmbd_conn_unlock() [all …]
|
D | asn1.c | 31 struct ksmbd_conn *conn) in ksmbd_decode_negTokenInit() 39 struct ksmbd_conn *conn) in ksmbd_decode_negTokenTarg() 183 struct ksmbd_conn *conn = context; in ksmbd_neg_token_init_mech_type() 215 struct ksmbd_conn *conn = context; in ksmbd_neg_token_init_mech_token() 230 struct ksmbd_conn *conn = context; in ksmbd_neg_token_targ_resp_token()
|
D | auth.c | 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() 300 int blob_len, struct ksmbd_conn *conn, in ksmbd_decode_ntlmssp_auth_blob() 378 int blob_len, struct ksmbd_conn *conn) in ksmbd_decode_ntlmssp_neg_blob() 406 struct ksmbd_conn *conn) in ksmbd_build_ntlmssp_challenge_blob() 569 int ksmbd_sign_smb2_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb2_pdu() 620 int ksmbd_sign_smb3_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb3_pdu() 668 static int generate_key(struct ksmbd_conn *conn, struct ksmbd_session *sess, in generate_key() 755 struct ksmbd_conn *conn, in generate_smb3signingkey() 789 struct ksmbd_conn *conn) in ksmbd_gen_smb30_signingkey() [all …]
|
D | smbacl.h | 116 struct ksmbd_conn; 204 int smb_inherit_dacl(struct ksmbd_conn *conn, const struct path *path, 206 int smb_check_perm_dacl(struct ksmbd_conn *conn, const struct path *path, 208 int set_info_sec(struct ksmbd_conn *conn, struct ksmbd_tree_connect *tcon,
|
D | asn1.h | 14 struct ksmbd_conn *conn); 16 struct ksmbd_conn *conn);
|
D | oplock.h | 60 struct ksmbd_conn *conn; 122 struct oplock_info *lookup_lease_in_table(struct ksmbd_conn *conn, 126 void destroy_lease_table(struct ksmbd_conn *conn);
|
D | smb2pdu.h | 457 void init_smb2_1_server(struct ksmbd_conn *conn); 458 void init_smb3_0_server(struct ksmbd_conn *conn); 459 void init_smb3_02_server(struct ksmbd_conn *conn); 460 int init_smb3_11_server(struct ksmbd_conn *conn); 491 struct ksmbd_conn *conn); 498 bool smb3_encryption_negotiated(struct ksmbd_conn *conn);
|
D | ksmbd_work.h | 12 struct ksmbd_conn; 25 struct ksmbd_conn *conn;
|
D | smb_common.c | 159 bool ksmbd_smb_request(struct ksmbd_conn *conn) in ksmbd_smb_request() 288 struct ksmbd_conn *conn = work->conn; in ksmbd_init_smb_server() 304 int (*fn)(struct ksmbd_conn *, int, in ksmbd_populate_dot_dotdot_entries() argument 309 struct ksmbd_conn *conn = work->conn; in ksmbd_populate_dot_dotdot_entries() 366 int ksmbd_extract_shortname(struct ksmbd_conn *conn, const char *longname, in ksmbd_extract_shortname() 435 static int __smb2_negotiate(struct ksmbd_conn *conn) in __smb2_negotiate() 452 struct ksmbd_conn *conn = work->conn; in ksmbd_smb_negotiate_common()
|
D | server.c | 107 static int __process_request(struct ksmbd_work *work, struct ksmbd_conn *conn, in __process_request() 161 struct ksmbd_conn *conn) in __handle_ksmbd_work() 254 struct ksmbd_conn *conn = work->conn; in handle_ksmbd_work() 278 static int queue_ksmbd_work(struct ksmbd_conn *conn) in queue_ksmbd_work() 306 static int ksmbd_server_process_request(struct ksmbd_conn *conn) in ksmbd_server_process_request() 311 static int ksmbd_server_terminate_conn(struct ksmbd_conn *conn) in ksmbd_server_terminate_conn()
|
D | smb_common.h | 423 int (*generate_signingkey)(struct ksmbd_session *sess, struct ksmbd_conn *conn); 424 int (*generate_encryptionkey)(struct ksmbd_conn *conn, struct ksmbd_session *sess); 440 bool ksmbd_smb_request(struct ksmbd_conn *conn); 452 int (*fn)(struct ksmbd_conn *, 457 int ksmbd_extract_shortname(struct ksmbd_conn *conn,
|
D | vfs.h | 38 struct ksmbd_conn; 148 int ksmbd_vfs_set_sd_xattr(struct ksmbd_conn *conn, 152 int ksmbd_vfs_get_sd_xattr(struct ksmbd_conn *conn,
|
D | smb2ops.c | 198 void init_smb2_1_server(struct ksmbd_conn *conn) in init_smb2_1_server() 215 void init_smb3_0_server(struct ksmbd_conn *conn) in init_smb3_0_server() 239 void init_smb3_02_server(struct ksmbd_conn *conn) in init_smb3_02_server() 263 int init_smb3_11_server(struct ksmbd_conn *conn) in init_smb3_11_server()
|
D | vfs_cache.h | 28 struct ksmbd_conn; 73 struct ksmbd_conn *conn;
|
D | smb2pdu.c | 61 static inline bool check_session_id(struct ksmbd_conn *conn, u64 id) in check_session_id() 75 struct channel *lookup_chann_list(struct ksmbd_session *sess, struct ksmbd_conn *conn) in lookup_chann_list() 236 struct ksmbd_conn *conn = work->conn; in init_smb2_neg_rsp() 302 struct ksmbd_conn *conn = work->conn; in smb2_set_rsp_credits() 488 struct ksmbd_conn *conn = work->conn; in init_smb2_rsp_hdr() 566 struct ksmbd_conn *conn = work->conn; in smb2_check_user_session() 592 static void destroy_previous_session(struct ksmbd_conn *conn, in destroy_previous_session() 644 struct ksmbd_conn *conn = work->conn; in setup_async_work() 806 static void assemble_neg_contexts(struct ksmbd_conn *conn, in assemble_neg_contexts() 877 static __le32 decode_preauth_ctxt(struct ksmbd_conn *conn, in decode_preauth_ctxt() [all …]
|
D | oplock.c | 33 struct ksmbd_conn *conn = work->conn; in alloc_opinfo() 613 struct ksmbd_conn *conn = work->conn; in __smb2_oplock_break_noti() 687 struct ksmbd_conn *conn = opinfo->conn; in smb2_oplock_break_noti() 733 struct ksmbd_conn *conn = work->conn; in __smb2_lease_break_noti() 797 struct ksmbd_conn *conn = opinfo->conn; in smb2_lease_break_noti() 938 void destroy_lease_table(struct ksmbd_conn *conn) in destroy_lease_table() 1253 struct ksmbd_conn *conn = work->conn; in smb_break_all_levII_oplock() 1672 struct oplock_info *lookup_lease_in_table(struct ksmbd_conn *conn, in lookup_lease_in_table()
|
D | transport_tcp.c | 77 struct ksmbd_conn *conn; in alloc_transport() 310 struct ksmbd_conn *conn = KSMBD_TRANS(t)->conn; in ksmbd_tcp_readv()
|
D | smb2misc.c | 284 static int smb2_validate_credit_charge(struct ksmbd_conn *conn, in smb2_validate_credit_charge()
|
D | smbacl.c | 995 int smb_inherit_dacl(struct ksmbd_conn *conn, in smb_inherit_dacl() 1190 int smb_check_perm_dacl(struct ksmbd_conn *conn, const struct path *path, in smb_check_perm_dacl() 1356 int set_info_sec(struct ksmbd_conn *conn, struct ksmbd_tree_connect *tcon, in set_info_sec()
|
/linux-6.1.9/fs/ksmbd/mgmt/ |
D | user_session.h | 23 struct ksmbd_conn *conn; 86 struct ksmbd_session *ksmbd_session_lookup(struct ksmbd_conn *conn, 88 int ksmbd_session_register(struct ksmbd_conn *conn, 90 void ksmbd_sessions_deregister(struct ksmbd_conn *conn); 91 struct ksmbd_session *ksmbd_session_lookup_all(struct ksmbd_conn *conn, 93 struct preauth_session *ksmbd_preauth_session_alloc(struct ksmbd_conn *conn, 95 struct preauth_session *ksmbd_preauth_session_lookup(struct ksmbd_conn *conn,
|
D | user_session.c | 183 int ksmbd_session_register(struct ksmbd_conn *conn, in ksmbd_session_register() 191 static int ksmbd_chann_del(struct ksmbd_conn *conn, struct ksmbd_session *sess) in ksmbd_chann_del() 210 void ksmbd_sessions_deregister(struct ksmbd_conn *conn) in ksmbd_sessions_deregister() 243 struct ksmbd_session *ksmbd_session_lookup(struct ksmbd_conn *conn, in ksmbd_session_lookup() 260 struct ksmbd_session *ksmbd_session_lookup_all(struct ksmbd_conn *conn, in ksmbd_session_lookup_all() 273 struct preauth_session *ksmbd_preauth_session_alloc(struct ksmbd_conn *conn, in ksmbd_preauth_session_alloc() 296 struct preauth_session *ksmbd_preauth_session_lookup(struct ksmbd_conn *conn, in ksmbd_preauth_session_lookup()
|
D | tree_connect.h | 15 struct ksmbd_conn; 44 ksmbd_tree_conn_connect(struct ksmbd_conn *conn, 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()
|