mid_q_entry
struct mid_q_entry *mid_entry;
struct mid_q_entry *mid_entry;
sizeof(struct mid_q_entry), 0,
struct mid_q_entry *mid);
typedef void (*mid_callback_t)(struct TCP_Server_Info *srv, struct mid_q_entry *mid);
struct mid_q_entry *mid);
static inline void cifs_save_when_sent(struct mid_q_entry *mid)
static inline void cifs_save_when_sent(struct mid_q_entry *mid)
struct mid_q_entry *mid)
struct mid_q_entry;
struct smb_rqst *rqst, struct mid_q_entry *mid,
struct mid_q_entry *(*setup_request)(struct cifs_ses *,
struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
unsigned int (*get_credits)(struct mid_q_entry *);
struct mid_q_entry *(*find_mid)(struct TCP_Server_Info *server, char *buf);
int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
struct mid_q_entry **, char **, int *);
int cifs_sync_mid_result(struct mid_q_entry *mid,
struct smb_rqst *rqst, struct mid_q_entry *mid,
int wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *mid);
void dequeue_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid,
struct mid_q_entry *mid);
static inline void smb_get_mid(struct mid_q_entry *mid)
static inline void release_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid)
void delete_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid);
struct mid_q_entry *midEntry);
struct mid_q_entry *mid);
struct mid_q_entry *mid);
cifs_readv_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid)
cifs_writev_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid)
cifs_echo_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid)
struct mid_q_entry *mid_entry;
mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid)
cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid)
struct mid_q_entry *mids[MAX_COMPOUND];
struct mid_q_entry *mid, *nmid;
struct mid_q_entry *mid, *nmid;
dequeue_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid, bool malformed)
handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server,
struct mid_q_entry *mid, bool logErr)
struct smb_rqst *rqst, struct mid_q_entry *mid,
struct smb_rqst *rqst, struct mid_q_entry *mid,
struct smb_rqst *rqst, struct mid_q_entry *mid,
static struct mid_q_entry *
struct mid_q_entry *mid;
cifs_get_credits(struct mid_q_entry *mid)
struct mid_q_entry *mid_entry;
struct mid_q_entry *mid, bool logErr);
struct mid_q_entry *cifs_setup_async_request(struct TCP_Server_Info *server,
int cifs_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server,
struct mid_q_entry *cifs_setup_request(struct cifs_ses *ses,
bool cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server,
struct mid_q_entry *
struct mid_q_entry *mid;
cifs_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server,
struct mid_q_entry *
struct mid_q_entry *mid;
static struct mid_q_entry *
struct mid_q_entry *temp;
cifs_check_trans2(struct mid_q_entry *mid, struct TCP_Server_Info *server,
memset(temp, 0, sizeof(struct mid_q_entry));
struct mid_q_entry **ppmidQ)
smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server)
smb2_get_credits(struct mid_q_entry *mid)
static struct mid_q_entry *
struct mid_q_entry *mid;
static struct mid_q_entry *
static struct mid_q_entry *
handle_read_data(struct TCP_Server_Info *server, struct mid_q_entry *mid,
struct mid_q_entry *mid;
receive_encrypted_read(struct TCP_Server_Info *server, struct mid_q_entry **mid,
struct mid_q_entry **mids, char **bufs,
struct mid_q_entry *mid_entry;
struct mid_q_entry **mids, char **bufs, int *num_mids)
smb3_handle_read_data(struct TCP_Server_Info *server, struct mid_q_entry *mid)
smb2_echo_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid)
smb2_readv_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid)
smb2_writev_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid)
int smb2_handle_cancelled_mid(struct mid_q_entry *mid,
int smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server,
struct mid_q_entry *smb2_setup_request(struct cifs_ses *ses,
struct mid_q_entry *smb2_setup_async_request(struct TCP_Server_Info *server,
struct mid_q_entry *mid);
static struct mid_q_entry *
struct mid_q_entry *temp;
memset(temp, 0, sizeof(struct mid_q_entry));
struct smb2_hdr *shdr, struct mid_q_entry **mid)
smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server,
struct mid_q_entry *
struct mid_q_entry *mid;
struct mid_q_entry *
struct mid_q_entry *mid;
__cifs_readv_discard(struct TCP_Server_Info *server, struct mid_q_entry *mid,
cifs_readv_discard(struct TCP_Server_Info *server, struct mid_q_entry *mid)
cifs_readv_receive(struct TCP_Server_Info *server, struct mid_q_entry *mid)
delete_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid)
cifs_wake_up_task(struct TCP_Server_Info *server, struct mid_q_entry *mid)
void __release_mid(struct TCP_Server_Info *server, struct mid_q_entry *midEntry)
int wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *mid)
struct mid_q_entry *mid;
int cifs_sync_mid_result(struct mid_q_entry *mid, struct TCP_Server_Info *server)
cifs_compound_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid)
cifs_compound_last_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid)
cifs_cancelled_callback(struct TCP_Server_Info *server, struct mid_q_entry *mid)
struct mid_q_entry *mid[MAX_COMPOUND];