Lines Matching refs:command_size
904 size_t command_size; in tcmu_cmd_get_cmd_size() local
906 command_size = base_command_size + in tcmu_cmd_get_cmd_size()
910 WARN_ON(command_size & (TCMU_OP_ALIGN_SIZE-1)); in tcmu_cmd_get_cmd_size()
912 return command_size; in tcmu_cmd_get_cmd_size()
1016 size_t base_command_size, command_size; in queue_cmd_ring() local
1058 command_size = tcmu_cmd_get_cmd_size(tcmu_cmd, base_command_size); in queue_cmd_ring()
1060 if (command_size > (udev->cmdr_size / 2)) { in queue_cmd_ring()
1062 command_size, udev->cmdr_size); in queue_cmd_ring()
1068 if (!is_ring_space_avail(udev, command_size)) in queue_cmd_ring()
1088 cmd_head = ring_insert_padding(udev, command_size); in queue_cmd_ring()
1091 memset(entry, 0, command_size); in queue_cmd_ring()
1117 tcmu_hdr_set_len(&entry->hdr.len_op, command_size); in queue_cmd_ring()
1123 tcmu_flush_dcache_range(entry, command_size); in queue_cmd_ring()
1125 UPDATE_HEAD(mb->cmd_head, command_size, udev->cmdr_size); in queue_cmd_ring()