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);
107 int cifs_sync_mid_result(struct mid_q_entry *mid,
118 struct smb_rqst *rqst, struct mid_q_entry *mid, in send_cancel()
125 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);
474 static inline void smb_get_mid(struct mid_q_entry *mid) in smb_get_mid()
[all …]
H A Dcifsglob.h294 struct mid_q_entry;
312 struct smb_rqst *rqst, struct mid_q_entry *mid,
316 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
320 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
323 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
330 unsigned int (*get_credits)(struct mid_q_entry *);
347 struct mid_q_entry *(*find_mid)(struct TCP_Server_Info *server, char *buf);
356 int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
361 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
598 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.c608 static struct mid_q_entry *
612 struct mid_q_entry *temp; in smb2_mid_entry_alloc()
621 memset(temp, 0, sizeof(struct mid_q_entry)); in smb2_mid_entry_alloc()
649 struct smb2_hdr *shdr, struct mid_q_entry **mid) in smb2_get_mid_entry()
692 smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, in smb2_check_receive()
717 struct mid_q_entry *
724 struct mid_q_entry *mid; in smb2_setup_request()
744 struct mid_q_entry *
750 struct mid_q_entry *mid; in smb2_setup_async_request()
H A Dsmb2proto.h41 int smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server,
43 struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses,
46 struct mid_q_entry *smb2_setup_async_request(struct TCP_Server_Info *server,
53 struct mid_q_entry *mid);
225 int smb2_handle_cancelled_mid(struct mid_q_entry *mid,
H A Dsmb1ops.c142 struct smb_rqst *rqst, struct mid_q_entry *mid, in send_nt_cancel()
189 struct smb_rqst *rqst, struct mid_q_entry *mid, in send_lock_cancel()
215 struct smb_rqst *rqst, struct mid_q_entry *mid, in cifs_send_cancel()
246 static struct mid_q_entry *
250 struct mid_q_entry *mid; in cifs_find_mid()
293 cifs_get_credits(struct mid_q_entry *mid) in cifs_get_credits()
346 struct mid_q_entry *mid_entry; in cifs_get_next_mid()
H A Dconnect.c298 struct mid_q_entry *mid, *nmid; in cifs_abort_connection()
873 struct mid_q_entry *mid, *nmid; in is_smb_response()
953 dequeue_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid, bool malformed) in dequeue_mid()
992 handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server, in handle_mid()
1098 struct mid_q_entry *mid_entry; in clean_demultiplex_info()
1104 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
1115 mid_entry = list_entry(tmp, struct mid_q_entry, qhead); in clean_demultiplex_info()
1153 standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) in standard_receive3()
1187 cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_handle_standard()
1262 struct mid_q_entry *mids[MAX_COMPOUND]; in cifs_demultiplex_thread()
H A Dsmb2ops.c240 smb2_get_credits(struct mid_q_entry *mid) in smb2_get_credits()
403 static struct mid_q_entry *
406 struct mid_q_entry *mid; in __smb2_find_mid()
433 static struct mid_q_entry *
439 static struct mid_q_entry *
4718 handle_read_data(struct TCP_Server_Info *server, struct mid_q_entry *mid, in handle_read_data()
4878 struct mid_q_entry *mid; in smb2_decrypt_offload()
4937 receive_encrypted_read(struct TCP_Server_Info *server, struct mid_q_entry **mid, in receive_encrypted_read()
5050 struct mid_q_entry **mids, char **bufs, in receive_encrypted_standard()
5059 struct mid_q_entry *mid_entry; in receive_encrypted_standard()
[all …]
H A Dsmb2misc.c846 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid()
H A Dcifsfs.c1814 sizeof(struct mid_q_entry), 0, in init_mids()
H A Dsmb2pdu.c4175 smb2_echo_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid) in smb2_echo_callback()
4605 smb2_readv_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid) in smb2_readv_callback()
4943 smb2_writev_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid) in smb2_writev_callback()