Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dcifstransport.c36 static struct mid_q_entry *
39 struct mid_q_entry *temp; in alloc_mid()
47 memset(temp, 0, sizeof(struct mid_q_entry)); in alloc_mid()
90 struct mid_q_entry **ppmidQ) in allocate_mid()
121 struct mid_q_entry *
126 struct mid_q_entry *mid; in cifs_setup_async_request()
177 cifs_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_receive()
207 struct mid_q_entry *
213 struct mid_q_entry *mid; in cifs_setup_request()
275 struct mid_q_entry *midQ; in SendReceive()
[all …]
H A Dtransport.c34 cifs_wake_up_task(struct mid_q_entry *mid) in cifs_wake_up_task()
43 struct mid_q_entry *midEntry = in __release_mid()
44 container_of(refcount, struct mid_q_entry, refcount); in __release_mid()
122 delete_mid(struct mid_q_entry *mid) in delete_mid()
636 int wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *midQ) in wait_for_response()
661 struct mid_q_entry *mid; in cifs_call_async()
730 int cifs_sync_mid_result(struct mid_q_entry *mid, struct TCP_Server_Info *server) in cifs_sync_mid_result()
773 cifs_compound_callback(struct mid_q_entry *mid) in cifs_compound_callback()
788 cifs_compound_last_callback(struct mid_q_entry *mid) in cifs_compound_last_callback()
795 cifs_cancelled_callback(struct mid_q_entry *mid) in cifs_cancelled_callback()
[all …]
H A Dcifsproto.h86 extern void delete_mid(struct mid_q_entry *mid);
88 extern void cifs_wake_up_task(struct mid_q_entry *mid);
90 struct mid_q_entry *mid);
119 int cifs_sync_mid_result(struct mid_q_entry *mid, struct TCP_Server_Info *server);
120 extern struct mid_q_entry *cifs_setup_request(struct cifs_ses *,
123 extern struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *,
127 extern int cifs_check_receive(struct mid_q_entry *mid,
137 struct mid_q_entry *mid) in send_cancel()
143 int wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *midQ);
189 extern int map_and_check_smb_error(struct mid_q_entry *mi
[all...]
H A Dcifsglob.h298 struct mid_q_entry;
316 struct mid_q_entry *);
319 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
323 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
326 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
333 unsigned int (*get_credits)(struct mid_q_entry *);
350 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
358 int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
363 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
600 struct mid_q_entry **, char **, int *);
[all …]
H A Dsmb2transport.c759 static struct mid_q_entry *
763 struct mid_q_entry *temp; in smb2_mid_entry_alloc()
772 memset(temp, 0, sizeof(struct mid_q_entry)); in smb2_mid_entry_alloc()
801 struct smb2_hdr *shdr, struct mid_q_entry **mid) in smb2_get_mid_entry()
852 smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, in smb2_check_receive()
877 struct mid_q_entry *
884 struct mid_q_entry *mid; in smb2_setup_request()
904 struct mid_q_entry *
910 struct mid_q_entry *mid; in smb2_setup_async_request()
H A 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(
53 struct mid_q_entry *mid);
260 extern int smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server);
H A Dsmb1ops.c33 struct mid_q_entry *mid) in send_nt_cancel()
92 static struct mid_q_entry *
96 struct mid_q_entry *mid; in cifs_find_mid()
139 cifs_get_credits(struct mid_q_entry *mid) in cifs_get_credits()
192 struct mid_q_entry *mid_entry; in cifs_get_next_mid()
390 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2()
H A Dconnect.c296 struct mid_q_entry *mid, *nmid; in cifs_abort_connection()
875 struct mid_q_entry *mid, *nmid; in is_smb_response()
955 dequeue_mid(struct mid_q_entry *mid, bool malformed) in dequeue_mid()
994 handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server, in handle_mid()
1100 struct mid_q_entry *mid_entry; in clean_demultiplex_info()
1106 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
1117 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
1155 standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) in standard_receive3()
1190 cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_handle_standard()
1264 struct mid_q_entry *mids[MAX_COMPOUND]; in cifs_demultiplex_thread()
H A Dsmb2ops.c229 smb2_get_credits(struct mid_q_entry *mid) in smb2_get_credits()
392 static struct mid_q_entry *
395 struct mid_q_entry *mid; in __smb2_find_mid()
422 static struct mid_q_entry *
428 static struct mid_q_entry *
4628 handle_read_data(struct TCP_Server_Info *server, struct mid_q_entry *mid, in handle_read_data()
4788 struct mid_q_entry *mid; in smb2_decrypt_offload()
4847 receive_encrypted_read(struct TCP_Server_Info *server, struct mid_q_entry **mid, in receive_encrypted_read()
4952 struct mid_q_entry **mids, char **bufs, in receive_encrypted_standard()
4961 struct mid_q_entry *mid_entry; in receive_encrypted_standard()
[all …]
H A Dcifs_debug.c57 struct mid_q_entry *mid_entry; in cifs_dump_mids()
352 struct mid_q_entry *mid_entry; in cifs_debug_data_proc_show()
H A Dsmb2misc.c842 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
H A Dcifsfs.c1771 sizeof(struct mid_q_entry), 0, in init_mids()
H A Dsmb2pdu.c4092 smb2_echo_callback(struct mid_q_entry *mid) in smb2_echo_callback()
4519 smb2_readv_callback(struct mid_q_entry *mid) in smb2_readv_callback()
4821 smb2_writev_callback(struct mid_q_entry *mid) in smb2_writev_callback()
H A Dcifssmb.c580 cifs_echo_callback(struct mid_q_entry *mid) in cifs_echo_callback()
1299 cifs_readv_callback(struct mid_q_entry *mid) in cifs_readv_callback()
1685 cifs_writev_callback(struct mid_q_entry *mid) in cifs_writev_callback()