/linux/fs/ksmbd/ |
A D | connection.c | 33 void ksmbd_conn_free(struct ksmbd_conn *conn) in ksmbd_conn_free() 49 struct ksmbd_conn *ksmbd_conn_alloc(void) in ksmbd_conn_alloc() 51 struct ksmbd_conn *conn; in ksmbd_conn_alloc() 86 struct ksmbd_conn *t; in ksmbd_conn_lookup_dialect() 103 struct ksmbd_conn *conn = work->conn; in ksmbd_conn_enqueue_request() 121 struct ksmbd_conn *conn = work->conn; in ksmbd_conn_try_dequeue_request() 153 void ksmbd_conn_wait_idle(struct ksmbd_conn *conn) in ksmbd_conn_wait_idle() 160 struct ksmbd_conn *conn = work->conn; in ksmbd_conn_write() 235 bool ksmbd_conn_alive(struct ksmbd_conn *conn) in ksmbd_conn_alive() 273 struct ksmbd_conn *conn = (struct ksmbd_conn *)p; in ksmbd_conn_handler_loop() [all …]
|
A D | auth.h | 35 struct ksmbd_conn; 38 int ksmbd_crypt_message(struct ksmbd_conn *conn, struct kvec *iov, 53 int ksmbd_sign_smb2_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, 55 int ksmbd_sign_smb3_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, 58 struct ksmbd_conn *conn); 60 struct ksmbd_conn *conn); 63 int ksmbd_gen_preauth_integrity_hash(struct ksmbd_conn *conn, char *buf, 65 int ksmbd_gen_sd_hash(struct ksmbd_conn *conn, char *sd_buf, int len,
|
A D | connection.h | 45 struct ksmbd_conn { struct 118 int (*process_fn)(struct ksmbd_conn *conn); argument 119 int (*terminate_fn)(struct ksmbd_conn *conn); 137 struct ksmbd_conn *conn; 149 bool ksmbd_conn_alive(struct ksmbd_conn *conn); 150 void ksmbd_conn_wait_idle(struct ksmbd_conn *conn); 151 struct ksmbd_conn *ksmbd_conn_alloc(void); 152 void ksmbd_conn_free(struct ksmbd_conn *conn); 153 bool ksmbd_conn_lookup_dialect(struct ksmbd_conn *c); 155 int ksmbd_conn_rdma_read(struct ksmbd_conn *conn, void *buf, [all …]
|
A D | smbacl.h | 115 struct ksmbd_conn; 203 int smb_inherit_dacl(struct ksmbd_conn *conn, struct path *path, 205 int smb_check_perm_dacl(struct ksmbd_conn *conn, struct path *path, 207 int set_info_sec(struct ksmbd_conn *conn, struct ksmbd_tree_connect *tcon,
|
A D | asn1.c | 121 struct ksmbd_conn *conn) in ksmbd_decode_negTokenInit() 129 struct ksmbd_conn *conn) in ksmbd_decode_negTokenTarg() 281 struct ksmbd_conn *conn = context; in ksmbd_neg_token_init_mech_type() 319 struct ksmbd_conn *conn = context; in ksmbd_neg_token_init_mech_token() 334 struct ksmbd_conn *conn = context; in ksmbd_neg_token_targ_resp_token()
|
A D | asn1.h | 14 struct ksmbd_conn *conn); 16 struct ksmbd_conn *conn);
|
A 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);
|
A D | smb_common.c | 155 bool ksmbd_smb_request(struct ksmbd_conn *conn) in ksmbd_smb_request() 284 struct ksmbd_conn *conn = work->conn; in ksmbd_init_smb_server() 300 int (*fn)(struct ksmbd_conn *, int, in ksmbd_populate_dot_dotdot_entries() argument 305 struct ksmbd_conn *conn = work->conn; in ksmbd_populate_dot_dotdot_entries() 359 int ksmbd_extract_shortname(struct ksmbd_conn *conn, const char *longname, in ksmbd_extract_shortname() 428 static int __smb2_negotiate(struct ksmbd_conn *conn) in __smb2_negotiate() 445 struct ksmbd_conn *conn = work->conn; in ksmbd_smb_negotiate_common()
|
A 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() 256 struct ksmbd_conn *conn = work->conn; in handle_ksmbd_work() 274 static int queue_ksmbd_work(struct ksmbd_conn *conn) in queue_ksmbd_work() 302 static int ksmbd_server_process_request(struct ksmbd_conn *conn) in ksmbd_server_process_request() 307 static int ksmbd_server_terminate_conn(struct ksmbd_conn *conn) in ksmbd_server_terminate_conn()
|
A D | ksmbd_work.h | 12 struct ksmbd_conn; 25 struct ksmbd_conn *conn;
|
A D | vfs.h | 37 struct ksmbd_conn; 145 int ksmbd_vfs_set_sd_xattr(struct ksmbd_conn *conn, 149 int ksmbd_vfs_get_sd_xattr(struct ksmbd_conn *conn,
|
A D | smb2ops.c | 194 void init_smb2_1_server(struct ksmbd_conn *conn) in init_smb2_1_server() 212 void init_smb3_0_server(struct ksmbd_conn *conn) in init_smb3_0_server() 237 void init_smb3_02_server(struct ksmbd_conn *conn) in init_smb3_02_server() 262 int init_smb3_11_server(struct ksmbd_conn *conn) in init_smb3_11_server()
|
A D | auth.c | 535 int ksmbd_sign_smb2_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb2_pdu() 586 int ksmbd_sign_smb3_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb3_pdu() 720 struct ksmbd_conn *conn, in generate_smb3signingkey() 754 struct ksmbd_conn *conn) in ksmbd_gen_smb30_signingkey() 768 struct ksmbd_conn *conn) in ksmbd_gen_smb311_signingkey() 872 int ksmbd_gen_preauth_integrity_hash(struct ksmbd_conn *conn, char *buf, in ksmbd_gen_preauth_integrity_hash() 919 int ksmbd_gen_sd_hash(struct ksmbd_conn *conn, char *sd_buf, int len, in ksmbd_gen_sd_hash() 953 static int ksmbd_get_encryption_key(struct ksmbd_conn *conn, __u64 ses_id, in ksmbd_get_encryption_key() 1047 int ksmbd_crypt_message(struct ksmbd_conn *conn, struct kvec *iov, in ksmbd_crypt_message()
|
A D | smb_common.h | 422 int (*generate_signingkey)(struct ksmbd_session *sess, struct ksmbd_conn *conn); 439 bool ksmbd_smb_request(struct ksmbd_conn *conn); 451 int (*fn)(struct ksmbd_conn *, 456 int ksmbd_extract_shortname(struct ksmbd_conn *conn,
|
A D | vfs_cache.h | 28 struct ksmbd_conn; 74 struct ksmbd_conn *conn;
|
A D | smb2pdu.h | 975 void init_smb2_1_server(struct ksmbd_conn *conn); 976 void init_smb3_0_server(struct ksmbd_conn *conn); 977 void init_smb3_02_server(struct ksmbd_conn *conn); 978 int init_smb3_11_server(struct ksmbd_conn *conn); 1008 struct ksmbd_conn *conn);
|
A D | smb2pdu.c | 235 struct ksmbd_conn *conn = work->conn; in init_smb2_neg_rsp() 301 struct ksmbd_conn *conn = work->conn; in smb2_set_rsp_credits() 486 struct ksmbd_conn *conn = work->conn; in init_smb2_rsp_hdr() 563 struct ksmbd_conn *conn = work->conn; in smb2_check_user_session() 640 struct ksmbd_conn *conn = work->conn; in setup_async_work() 1063 struct ksmbd_conn *conn = work->conn; in smb2_handle_negotiate() 1233 struct ksmbd_conn *conn) in alloc_preauth_hash() 1248 struct ksmbd_conn *conn = work->conn; in generate_preauth_hash() 1408 struct ksmbd_conn *conn = work->conn; in ntlm_authenticate() 1543 struct ksmbd_conn *conn = work->conn; in krb5_authenticate() [all …]
|
A D | oplock.c | 612 struct ksmbd_conn *conn = work->conn; in __smb2_oplock_break_noti() 683 struct ksmbd_conn *conn = opinfo->conn; in smb2_oplock_break_noti() 729 struct ksmbd_conn *conn = work->conn; in __smb2_lease_break_noti() 787 struct ksmbd_conn *conn = opinfo->conn; in smb2_lease_break_noti() 928 void destroy_lease_table(struct ksmbd_conn *conn) in destroy_lease_table() 1243 struct ksmbd_conn *conn = work->sess->conn; in smb_break_all_levII_oplock() 1651 struct oplock_info *lookup_lease_in_table(struct ksmbd_conn *conn, in lookup_lease_in_table()
|
A D | transport_tcp.c | 75 struct ksmbd_conn *conn; in alloc_transport() 297 struct ksmbd_conn *conn = KSMBD_TRANS(t)->conn; in ksmbd_tcp_readv()
|
A D | smb2misc.c | 286 static int smb2_validate_credit_charge(struct ksmbd_conn *conn, in smb2_validate_credit_charge()
|
A D | smbacl.c | 985 int smb_inherit_dacl(struct ksmbd_conn *conn, in smb_inherit_dacl() 1162 int smb_check_perm_dacl(struct ksmbd_conn *conn, struct path *path, in smb_check_perm_dacl() 1320 int set_info_sec(struct ksmbd_conn *conn, struct ksmbd_tree_connect *tcon, in set_info_sec()
|
A D | vfs.c | 1422 int ksmbd_vfs_set_sd_xattr(struct ksmbd_conn *conn, in ksmbd_vfs_set_sd_xattr() 1496 int ksmbd_vfs_get_sd_xattr(struct ksmbd_conn *conn, in ksmbd_vfs_get_sd_xattr()
|
A D | transport_rdma.c | 349 struct ksmbd_conn *conn; in alloc_transport()
|
/linux/fs/ksmbd/mgmt/ |
A D | user_session.h | 23 struct ksmbd_conn *conn; 37 struct ksmbd_conn *conn; 86 struct ksmbd_session *ksmbd_session_lookup(struct ksmbd_conn *conn, 88 void 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,
|
A D | user_session.c | 184 void ksmbd_session_register(struct ksmbd_conn *conn, in ksmbd_session_register() 191 void ksmbd_sessions_deregister(struct ksmbd_conn *conn) in ksmbd_sessions_deregister() 210 struct ksmbd_session *ksmbd_session_lookup(struct ksmbd_conn *conn, in ksmbd_session_lookup() 248 struct ksmbd_session *ksmbd_session_lookup_all(struct ksmbd_conn *conn, in ksmbd_session_lookup_all() 259 struct preauth_session *ksmbd_preauth_session_alloc(struct ksmbd_conn *conn, in ksmbd_preauth_session_alloc() 282 struct preauth_session *ksmbd_preauth_session_lookup(struct ksmbd_conn *conn, in ksmbd_preauth_session_lookup()
|