Searched refs:cmdr_last_cleaned (Results 1 – 1 of 1) sorted by relevance
137 u32 cmdr_last_cleaned; member839 space = spc_free(cmd_head, udev->cmdr_last_cleaned, udev->cmdr_size); in is_ring_space_avail()842 udev->cmdr_last_cleaned, udev->cmdr_size); in is_ring_space_avail()1457 while (udev->cmdr_last_cleaned != READ_ONCE(mb->cmd_tail)) { in tcmu_handle_completions()1459 struct tcmu_cmd_entry *entry = udev->cmdr + udev->cmdr_last_cleaned; in tcmu_handle_completions()1466 size_t ring_left = head_to_end(udev->cmdr_last_cleaned, in tcmu_handle_completions()1475 UPDATE_HEAD(udev->cmdr_last_cleaned, in tcmu_handle_completions()1497 UPDATE_HEAD(udev->cmdr_last_cleaned, in tcmu_handle_completions()2402 pr_debug("mb last %u head %u tail %u\n", udev->cmdr_last_cleaned, in tcmu_reset_ring()2405 udev->cmdr_last_cleaned = 0; in tcmu_reset_ring()