Lines Matching defs:mid
272 /* from the mid flags when the request buffer can be resent without */
560 cifs_echo_callback(struct mid_q_entry *mid)
562 struct TCP_Server_Info *server = mid->callback_data;
565 release_mid(mid);
1263 cifs_readv_callback(struct mid_q_entry *mid)
1265 struct cifs_readdata *rdata = mid->callback_data;
1274 cifs_dbg(FYI, "%s: mid=%llu state=%d result=%d bytes=%u\n",
1275 __func__, mid->mid, mid->mid_state, rdata->result,
1278 switch (mid->mid_state) {
1285 mid->sequence_number);
1309 release_mid(mid);
1313 /* cifs_async_readv - send an async write, and set up mid to handle result */
1616 cifs_writev_callback(struct mid_q_entry *mid)
1618 struct cifs_writedata *wdata = mid->callback_data;
1621 WRITE_RSP *smb = (WRITE_RSP *)mid->resp_buf;
1624 switch (mid->mid_state) {
1626 wdata->result = cifs_check_receive(mid, tcon->ses->server, 0);
1657 release_mid(mid);
1661 /* cifs_async_writev - send an async write, and set up mid to handle result */
2259 /* construct random name ".cifs_tmp<inodenum><mid>" */