Searched refs:DESC_ID (Results 1 – 2 of 2) sorted by relevance
334 DESC_ID((id) - DESCS_COUNT(desc_ring))417 if (id != DESC_ID(state_val)) in get_desc_state()783 if (DESC_ID(atomic_long_read(&desc.state_var)) == in desc_push_tail()824 d_state = desc_read(desc_ring, DESC_ID(tail_id + 1), &desc, in desc_push_tail()836 DESC_ID(tail_id + 1)); /* LMM(desc_push_tail:B) */ in desc_push_tail()887 id = DESC_ID(head_id + 1); in desc_reserve()1553 desc_make_final(desc_ring, DESC_ID(id - 1)); in prb_reserve()1808 id = DESC_ID(atomic_long_read(state_var)); in prb_read()
129 #define DESC_ID(sv) ((sv) & DESC_ID_MASK) macro222 #define DESC0_ID(ct_bits) DESC_ID(-(_DESCS_COUNT(ct_bits) + 1))