Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dsmb1transport.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()
73 struct mid_q_entry **ppmidQ) in allocate_mid()
104 struct mid_q_entry *
109 struct mid_q_entry *mid; in cifs_setup_async_request()
156 cifs_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_receive()
190 struct mid_q_entry *
196 struct mid_q_entry *mid; in cifs_setup_request()
414 cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server, in cifs_check_trans2()
H A Dcifsproto.h83 void delete_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid);
85 struct mid_q_entry *midEntry);
87 struct mid_q_entry *mid);
89 struct mid_q_entry *mid);
108 int cifs_sync_mid_result(struct mid_q_entry *mid,
119 struct smb_rqst *rqst, struct mid_q_entry *mid, in send_cancel()
126 int wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *mid);
225 void dequeue_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid,
337 struct mid_q_entry *mid);
477 static inline void smb_get_mid(struct mid_q_entry *mid) in smb_get_mid()
[all …]
H A Dcifsglob.h297 struct mid_q_entry;
315 struct smb_rqst *rqst, struct mid_q_entry *mid,
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 *server, char *buf);
359 int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
364 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
601 struct mid_q_entry **, char **, int *);
[all …]
H A Dtransport.c34 cifs_wake_up_task(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_wake_up_task()
41 void __release_mid(struct TCP_Server_Info *server, struct mid_q_entry *midEntry) in __release_mid()
119 delete_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid) in delete_mid()
640 int wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *mid) in wait_for_response()
669 struct mid_q_entry *mid; in cifs_call_async()
739 int cifs_sync_mid_result(struct mid_q_entry *mid, struct TCP_Server_Info *server) in cifs_sync_mid_result()
782 cifs_compound_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_compound_callback()
796 cifs_compound_last_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_compound_last_callback()
803 cifs_cancelled_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_cancelled_callback()
869 struct mid_q_entry *mid[MAX_COMPOUND]; in compound_send_recv()
[all …]
H A Dsmb2transport.c646 static struct mid_q_entry *
650 struct mid_q_entry *temp; in smb2_mid_entry_alloc()
659 memset(temp, 0, sizeof(struct mid_q_entry)); in smb2_mid_entry_alloc()
687 struct smb2_hdr *shdr, struct mid_q_entry **mid) in smb2_get_mid_entry()
730 smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, in smb2_check_receive()
755 struct mid_q_entry *
762 struct mid_q_entry *mid; in smb2_setup_request()
782 struct mid_q_entry *
788 struct mid_q_entry *mid; in smb2_setup_async_request()
H A Dsmb2proto.h36 int smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server,
38 struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses,
41 struct mid_q_entry *smb2_setup_async_request(struct TCP_Server_Info *server,
48 struct mid_q_entry *mid);
220 int smb2_handle_cancelled_mid(struct mid_q_entry *mid,
H A Dsmb1ops.c145 struct smb_rqst *rqst, struct mid_q_entry *mid, in send_nt_cancel()
192 struct smb_rqst *rqst, struct mid_q_entry *mid, in send_lock_cancel()
218 struct smb_rqst *rqst, struct mid_q_entry *mid, in cifs_send_cancel()
249 static struct mid_q_entry *
253 struct mid_q_entry *mid; in cifs_find_mid()
296 cifs_get_credits(struct mid_q_entry *mid) in cifs_get_credits()
349 struct mid_q_entry *mid_entry; in cifs_get_next_mid()
H A Dconnect.c299 struct mid_q_entry *mid, *nmid; in cifs_abort_connection()
874 struct mid_q_entry *mid, *nmid; in is_smb_response()
954 dequeue_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid, bool malformed) in dequeue_mid()
993 handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server, in handle_mid()
1099 struct mid_q_entry *mid_entry; in clean_demultiplex_info()
1105 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
1116 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
1154 standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) in standard_receive3()
1188 cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_handle_standard()
1263 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 *
4701 handle_read_data(struct TCP_Server_Info *server, struct mid_q_entry *mid, in handle_read_data()
4861 struct mid_q_entry *mid; in smb2_decrypt_offload()
4920 receive_encrypted_read(struct TCP_Server_Info *server, struct mid_q_entry **mid, in receive_encrypted_read()
5025 struct mid_q_entry **mids, char **bufs, in receive_encrypted_standard()
5034 struct mid_q_entry *mid_entry; in receive_encrypted_standard()
[all …]
H A Dsmb2misc.c845 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
H A Dcifsfs.c1847 sizeof(struct mid_q_entry), 0, in init_mids()
H A Dsmb2pdu.c4161 smb2_echo_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid) in smb2_echo_callback()
4593 smb2_readv_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid) in smb2_readv_callback()
4931 smb2_writev_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid) in smb2_writev_callback()