Lines Matching refs:cmd_tail
147 cmd_tail
157 completed, userspace updates mailbox.cmd_tail in the same way and
159 cmd_tail, the ring is empty -- no commands are currently waiting to be
184 mailbox.cmd_tail by entry.hdr.length (mod cmdr_size) and signals the
194 When the opcode is PAD, userspace only updates cmd_tail as above --
200 hdr.uflags, update cmd_tail, and proceed with processing additional
293 possibly sense_buffer), updating cmd_tail, and notifying the kernel
353 struct tcmu_cmd_entry *ent = (void *) mb + mb->cmdr_off + mb->cmd_tail;
379 /* Do nothing for PAD entries except update cmd_tail */
382 /* update cmd_tail */
383 mb->cmd_tail = (mb->cmd_tail + tcmu_hdr_get_len(&ent->hdr)) % mb->cmdr_size;
384 ent = (void *) mb + mb->cmdr_off + mb->cmd_tail;