Searched refs:cmdr_size (Results 1 – 1 of 1) sorted by relevance
96 u32 cmdr_size; member248 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in is_ring_space_avail()254 if (head_to_end(cmd_head, udev->cmdr_size) >= cmd_size) in is_ring_space_avail()257 cmd_needed = cmd_size + head_to_end(cmd_head, udev->cmdr_size); in is_ring_space_avail()259 space = spc_free(cmd_head, udev->cmdr_last_cleaned, udev->cmdr_size); in is_ring_space_avail()262 udev->cmdr_last_cleaned, udev->cmdr_size); in is_ring_space_avail()311 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in tcmu_queue_cmd_ring()312 if ((command_size > (udev->cmdr_size / 2)) in tcmu_queue_cmd_ring()316 udev->cmdr_size, udev->data_size); in tcmu_queue_cmd_ring()336 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in tcmu_queue_cmd_ring()[all …]