Lines Matching defs:temp
739 struct mid_q_entry *temp;
747 temp = mempool_alloc(cifs_mid_poolp, GFP_NOFS);
748 memset(temp, 0, sizeof(struct mid_q_entry));
749 kref_init(&temp->refcount);
750 temp->mid = le64_to_cpu(shdr->MessageId);
751 temp->credits = credits > 0 ? credits : 1;
752 temp->pid = current->pid;
753 temp->command = shdr->Command; /* Always LE */
754 temp->when_alloc = jiffies;
755 temp->server = server;
762 temp->creator = current;
763 temp->callback = cifs_wake_up_task;
764 temp->callback_data = current;
767 temp->mid_state = MID_REQUEST_ALLOCATED;
770 le16_to_cpu(shdr->Command), temp->mid);
771 return temp;