Searched refs:DESC_INDEX (Results 1 – 1 of 1) sorted by relevance
318 #define DESC_INDEX(desc_ring, n) ((n) & DESCS_COUNT_MASK(desc_ring)) macro357 return &desc_ring->descs[DESC_INDEX(desc_ring, n)]; in to_desc()366 return &desc_ring->infos[DESC_INDEX(desc_ring, n)]; in to_info()1541 if (seq == 0 && DESC_INDEX(desc_ring, id) != 0) in prb_reserve()1542 info->seq = DESC_INDEX(desc_ring, id); in prb_reserve()