Lines Matching refs:cmd_tail
127 cmd_tail - Modified by userspace to indicate when it has completed
135 completed, userspace updates mailbox.cmd_tail in the same way and
137 cmd_tail, the ring is empty -- no commands are currently waiting to be
162 mailbox.cmd_tail by entry.hdr.length (mod cmdr_size) and signals the
165 When the opcode is PAD, userspace only updates cmd_tail as above --
171 hdr.uflags, update cmd_tail, and proceed with processing additional
260 possibly sense_buffer), updating cmd_tail, and notifying the kernel
320 struct tcmu_cmd_entry *ent = (void *) mb + mb->cmdr_off + mb->cmd_tail;
346 /* Do nothing for PAD entries except update cmd_tail */
349 /* update cmd_tail */
350 mb->cmd_tail = (mb->cmd_tail + tcmu_hdr_get_len(&ent->hdr)) % mb->cmdr_size;
351 ent = (void *) mb + mb->cmdr_off + mb->cmd_tail;