Lines Matching defs:temp
42 struct mid_q_entry *temp;
49 temp = mempool_alloc(cifs_mid_poolp, GFP_NOFS);
50 if (temp == NULL)
51 return temp;
53 memset(temp, 0, sizeof(struct mid_q_entry));
54 temp->mid = smb_buffer->Mid; /* always LE */
55 temp->pid = current->pid;
56 temp->command = smb_buffer->Command;
57 cFYI(1, "For smb_command %d", temp->command);
58 /* do_gettimeofday(&temp->when_sent);*/ /* easier to use jiffies */
60 temp->when_alloc = jiffies;
61 temp->tsk = current;
65 list_add_tail(&temp->qhead, &server->pending_mid_q);
67 temp->midState = MID_REQUEST_ALLOCATED;
69 return temp;