Home
last modified time | relevance | path

Searched refs:mid_q_entry (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/fs/cifs/
Dtransport.c36 cifs_wake_up_task(struct mid_q_entry *mid) in cifs_wake_up_task()
41 static struct mid_q_entry *
44 struct mid_q_entry *temp; in alloc_mid()
52 memset(temp, 0, sizeof(struct mid_q_entry)); in alloc_mid()
79 struct mid_q_entry *midEntry = in __release_mid()
80 container_of(refcount, struct mid_q_entry, refcount); in __release_mid()
156 void release_mid(struct mid_q_entry *mid) in release_mid()
166 delete_mid(struct mid_q_entry *mid) in delete_mid()
720 struct mid_q_entry **ppmidQ) in allocate_mid()
752 wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *midQ) in wait_for_response()
[all …]
Dcifsglob.h223 struct mid_q_entry;
242 struct mid_q_entry *);
245 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
249 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
252 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
259 unsigned int (*get_credits)(struct mid_q_entry *);
276 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
284 int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
289 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
511 struct mid_q_entry **, char **, int *);
[all …]
Dcifsproto.h81 extern void delete_mid(struct mid_q_entry *mid);
82 extern void release_mid(struct mid_q_entry *mid);
83 extern void cifs_wake_up_task(struct mid_q_entry *mid);
85 struct mid_q_entry *mid);
111 extern struct mid_q_entry *cifs_setup_request(struct cifs_ses *,
114 extern struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *,
116 extern int cifs_check_receive(struct mid_q_entry *mid,
160 extern int map_and_check_smb_error(struct mid_q_entry *mid, bool logErr);
233 extern void dequeue_mid(struct mid_q_entry *mid, bool malformed);
573 int cifs_readv_receive(struct TCP_Server_Info *server, struct mid_q_entry *mid);
Dsmb2transport.c709 static struct mid_q_entry *
713 struct mid_q_entry *temp; in smb2_mid_entry_alloc()
722 memset(temp, 0, sizeof(struct mid_q_entry)); in smb2_mid_entry_alloc()
750 struct smb2_hdr *shdr, struct mid_q_entry **mid) in smb2_get_mid_entry()
801 smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, in smb2_check_receive()
826 struct mid_q_entry *
833 struct mid_q_entry *mid; in smb2_setup_request()
853 struct mid_q_entry *
859 struct mid_q_entry *mid; in smb2_setup_async_request()
Dsmb2proto.h33 extern int smb2_check_receive(struct mid_q_entry *mid,
35 extern struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses,
38 extern struct mid_q_entry *smb2_setup_async_request(
55 struct mid_q_entry *mid);
228 extern int smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server);
Dsmb1ops.c30 struct mid_q_entry *mid) in send_nt_cancel()
89 static struct mid_q_entry *
93 struct mid_q_entry *mid; in cifs_find_mid()
136 cifs_get_credits(struct mid_q_entry *mid) in cifs_get_credits()
190 struct mid_q_entry *mid_entry; in cifs_get_next_mid()
386 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2()
Dconnect.c294 struct mid_q_entry *mid, *nmid; in cifs_abort_connection()
837 dequeue_mid(struct mid_q_entry *mid, bool malformed) in dequeue_mid()
876 handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server, in handle_mid()
984 struct mid_q_entry *mid_entry; in clean_demultiplex_info()
990 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
1001 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
1040 standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) in standard_receive3()
1075 cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_handle_standard()
1149 struct mid_q_entry *mids[MAX_COMPOUND]; in cifs_demultiplex_thread()
Dsmb2ops.c197 smb2_get_credits(struct mid_q_entry *mid) in smb2_get_credits()
338 static struct mid_q_entry *
341 struct mid_q_entry *mid; in __smb2_find_mid()
368 static struct mid_q_entry *
374 static struct mid_q_entry *
4603 handle_read_data(struct TCP_Server_Info *server, struct mid_q_entry *mid, in handle_read_data()
4773 struct mid_q_entry *mid; in smb2_decrypt_offload()
4833 receive_encrypted_read(struct TCP_Server_Info *server, struct mid_q_entry **mid, in receive_encrypted_read()
4942 struct mid_q_entry **mids, char **bufs, in receive_encrypted_standard()
4950 struct mid_q_entry *mid_entry; in receive_encrypted_standard()
[all …]
Dcifs_debug.c52 struct mid_q_entry *mid_entry; in cifs_dump_mids()
216 struct mid_q_entry *mid_entry; in cifs_debug_data_proc_show()
Dsmb2misc.c839 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
Dnetmisc.c884 map_and_check_smb_error(struct mid_q_entry *mid, bool logErr) in map_and_check_smb_error()
Dcifsfs.c1599 sizeof(struct mid_q_entry), 0, in init_mids()
Dsmb2pdu.c3795 smb2_echo_callback(struct mid_q_entry *mid) in smb2_echo_callback()
4150 smb2_readv_callback(struct mid_q_entry *mid) in smb2_readv_callback()
4394 smb2_writev_callback(struct mid_q_entry *mid) in smb2_writev_callback()
Dcifssmb.c589 cifs_echo_callback(struct mid_q_entry *mid) in cifs_echo_callback()
1290 cifs_readv_callback(struct mid_q_entry *mid) in cifs_readv_callback()
1646 cifs_writev_callback(struct mid_q_entry *mid) in cifs_writev_callback()