Searched refs:cmd_tail (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/Documentation/target/ |
D | tcmu-design.txt | 129 cmd_tail - Modified by userspace to indicate when it has completed 137 completed, userspace updates mailbox.cmd_tail in the same way and 139 cmd_tail, the ring is empty -- no commands are currently waiting to be 164 mailbox.cmd_tail by entry.hdr.length (mod cmdr_size) and signals the 174 When the opcode is PAD, userspace only updates cmd_tail as above -- 180 hdr.uflags, update cmd_tail, and proceed with processing additional 269 possibly sense_buffer), updating cmd_tail, and notifying the kernel 329 struct tcmu_cmd_entry *ent = (void *) mb + mb->cmdr_off + mb->cmd_tail; 355 /* Do nothing for PAD entries except update cmd_tail */ 358 /* update cmd_tail */ [all …]
|
/Linux-v4.19/include/uapi/linux/ |
D | target_core_user.h | 58 __u32 cmd_tail __attribute__((__aligned__(ALIGN_SIZE))); member
|
/Linux-v4.19/drivers/net/ethernet/i825xx/ |
D | lib82596.c | 320 struct i596_cmd *cmd_tail; member 886 lp->cmd_tail->v_next = cmd; in i596_add_cmd() 887 lp->cmd_tail->b_next = SWAP32(virt_to_dma(lp, &cmd->status)); in i596_add_cmd() 888 DMA_WBACK(dev, lp->cmd_tail, sizeof(struct i596_cmd)); in i596_add_cmd() 897 lp->cmd_tail = cmd; in i596_add_cmd() 1249 while ((ptr != NULL) && (ptr != lp->cmd_tail)) { in i596_interrupt()
|
D | 82596.c | 328 struct i596_cmd *cmd_tail; member 952 lp->cmd_tail->v_next = cmd; in i596_add_cmd() 953 lp->cmd_tail->b_next = WSWAPcmd(virt_to_bus(&cmd->status)); in i596_add_cmd() 961 lp->cmd_tail = cmd; in i596_add_cmd() 1347 while ((ptr != I596_NULL) && (ptr != lp->cmd_tail)) { in i596_interrupt()
|
/Linux-v4.19/kernel/debug/kdb/ |
D | kdb_main.c | 814 static unsigned int cmd_head, cmd_tail; variable 1100 if (cmd_head == cmd_tail) in handle_ctrl_cmd() 1104 if (cmdptr != cmd_tail) in handle_ctrl_cmd() 1333 if (cmd_head == cmd_tail) in kdb_local() 1334 cmd_tail = (cmd_tail+1) % KDB_CMD_HISTORY_COUNT; in kdb_local()
|
/Linux-v4.19/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 182 static int pcan_usb_fd_send_cmd(struct peak_usb_device *dev, void *cmd_tail) in pcan_usb_fd_send_cmd() argument 197 cmd_len = cmd_tail - cmd_head; in pcan_usb_fd_send_cmd() 199 memset(cmd_tail, 0xff, sizeof(u64)); in pcan_usb_fd_send_cmd()
|
/Linux-v4.19/drivers/target/ |
D | target_core_user.c | 1210 while (udev->cmdr_last_cleaned != READ_ONCE(mb->cmd_tail)) { in tcmu_handle_completions() 1242 if (mb->cmd_tail == mb->cmd_head) { in tcmu_handle_completions() 2028 mb->cmd_tail, mb->cmd_head); in tcmu_reset_ring() 2031 mb->cmd_tail = 0; in tcmu_reset_ring()
|