Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/cifs/
Dtransport.c48 cifs_wake_up_task(struct mid_q_entry *mid) in cifs_wake_up_task()
53 struct mid_q_entry *
56 struct mid_q_entry *temp; in AllocMidQEntry()
64 memset(temp, 0, sizeof(struct mid_q_entry)); in AllocMidQEntry()
91 struct mid_q_entry *midEntry = in _cifs_mid_q_entry_release()
92 container_of(refcount, struct mid_q_entry, refcount); in _cifs_mid_q_entry_release()
168 void cifs_mid_q_entry_release(struct mid_q_entry *midEntry) in cifs_mid_q_entry_release()
175 void DeleteMidQEntry(struct mid_q_entry *midEntry) in DeleteMidQEntry()
181 cifs_delete_mid(struct mid_q_entry *mid) in cifs_delete_mid()
695 struct mid_q_entry **ppmidQ) in allocate_mid()
[all …]
Dcifsproto.h84 extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer,
86 extern void DeleteMidQEntry(struct mid_q_entry *midEntry);
87 extern void cifs_delete_mid(struct mid_q_entry *mid);
88 extern void cifs_mid_q_entry_release(struct mid_q_entry *midEntry);
89 extern void cifs_wake_up_task(struct mid_q_entry *mid);
91 struct mid_q_entry *mid);
115 extern struct mid_q_entry *cifs_setup_request(struct cifs_ses *,
118 extern struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *,
120 extern int cifs_check_receive(struct mid_q_entry *mid,
157 extern int map_and_check_smb_error(struct mid_q_entry *mid, bool logErr);
[all …]
Dcifsglob.h198 struct mid_q_entry;
217 struct mid_q_entry *);
220 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
224 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
227 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
234 unsigned int (*get_credits)(struct mid_q_entry *);
251 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
259 int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
264 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
482 struct mid_q_entry **, char **, int *);
[all …]
Dsmb2transport.c705 static struct mid_q_entry *
709 struct mid_q_entry *temp; in smb2_mid_entry_alloc()
718 memset(temp, 0, sizeof(struct mid_q_entry)); in smb2_mid_entry_alloc()
745 struct smb2_sync_hdr *shdr, struct mid_q_entry **mid) in smb2_get_mid_entry()
783 smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, in smb2_check_receive()
808 struct mid_q_entry *
815 struct mid_q_entry *mid; in smb2_setup_request()
835 struct mid_q_entry *
841 struct mid_q_entry *mid; in smb2_setup_async_request()
Dsmb2proto.h46 extern int smb2_check_receive(struct mid_q_entry *mid,
48 extern struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses,
51 extern struct mid_q_entry *smb2_setup_async_request(
70 struct mid_q_entry *mid);
249 extern int smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server);
Dsmb1ops.c28 struct mid_q_entry *mid) in send_nt_cancel()
87 static struct mid_q_entry *
91 struct mid_q_entry *mid; in cifs_find_mid()
134 cifs_get_credits(struct mid_q_entry *mid) in cifs_get_credits()
188 struct mid_q_entry *mid_entry; in cifs_get_next_mid()
379 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2()
Dcifs_debug.c52 struct mid_q_entry *mid_entry; in cifs_dump_mids()
60 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in cifs_dump_mids()
219 struct mid_q_entry *mid_entry; in cifs_debug_data_proc_show()
434 mid_entry = list_entry(tmp3, struct mid_q_entry, in cifs_debug_data_proc_show()
Dconnect.c396 struct mid_q_entry *mid_entry; in cifs_reconnect()
492 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in cifs_reconnect()
504 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in cifs_reconnect()
813 dequeue_mid(struct mid_q_entry *mid, bool malformed) in dequeue_mid()
851 handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server, in handle_mid()
911 struct mid_q_entry *mid_entry; in clean_demultiplex_info()
917 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
928 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
964 standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) in standard_receive3()
1000 cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_handle_standard()
[all …]
Dsmb2ops.c157 smb2_get_credits(struct mid_q_entry *mid) in smb2_get_credits()
266 static struct mid_q_entry *
269 struct mid_q_entry *mid; in __smb2_find_mid()
296 static struct mid_q_entry *
302 static struct mid_q_entry *
4554 handle_read_data(struct TCP_Server_Info *server, struct mid_q_entry *mid, in handle_read_data()
4724 struct mid_q_entry *mid; in smb2_decrypt_offload()
4776 receive_encrypted_read(struct TCP_Server_Info *server, struct mid_q_entry **mid, in receive_encrypted_read()
4879 struct mid_q_entry **mids, char **bufs, in receive_encrypted_standard()
4887 struct mid_q_entry *mid_entry; in receive_encrypted_standard()
[all …]
Dsmb2misc.c838 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
Dcifssmb.c749 cifs_echo_callback(struct mid_q_entry *mid) in cifs_echo_callback()
1467 __cifs_readv_discard(struct TCP_Server_Info *server, struct mid_q_entry *mid, in __cifs_readv_discard()
1480 cifs_readv_discard(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_readv_discard()
1488 cifs_readv_receive(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_readv_receive()
1619 cifs_readv_callback(struct mid_q_entry *mid) in cifs_readv_callback()
2151 cifs_writev_callback(struct mid_q_entry *mid) in cifs_writev_callback()
Dnetmisc.c885 map_and_check_smb_error(struct mid_q_entry *mid, bool logErr) in map_and_check_smb_error()
Dcifsfs.c1489 sizeof(struct mid_q_entry), 0, in cifs_init_mids()
Dsmb2pdu.c3616 smb2_echo_callback(struct mid_q_entry *mid) in smb2_echo_callback()
3917 smb2_readv_callback(struct mid_q_entry *mid) in smb2_readv_callback()
4160 smb2_writev_callback(struct mid_q_entry *mid) in smb2_writev_callback()