Searched refs:tail_masked (Results 1 – 2 of 2) sorted by relevance
38 u16 tail_masked; in get_sq_desc_regular_queue() local41 tail_masked = io_sq->tail & (io_sq->q_depth - 1); in get_sq_desc_regular_queue()43 offset = tail_masked * io_sq->desc_entry_size; in get_sq_desc_regular_queue()
218 u16 tail_masked, cmd_id; in __ena_com_submit_admin_cmd() local224 tail_masked = admin_queue->sq.tail & queue_size_mask; in __ena_com_submit_admin_cmd()254 memcpy(&admin_queue->sq.entries[tail_masked], cmd, cmd_size_in_bytes); in __ena_com_submit_admin_cmd()