Lines Matching refs:DescInfo
33 DescInfo *info;
46 uint16_t desc_buf_size(DescInfo *info) in desc_buf_size()
51 uint16_t desc_tlv_size(DescInfo *info) in desc_tlv_size()
56 char *desc_get_buf(DescInfo *info, bool read_only) in desc_get_buf()
72 int desc_set_buf(DescInfo *info, size_t tlv_size) in desc_set_buf()
89 DescRing *desc_get_ring(DescInfo *info) in desc_get_ring()
139 ring->info = g_renew(DescInfo, ring->info, size); in desc_ring_set_size()
141 memset(ring->info, 0, size * sizeof(DescInfo)); in desc_ring_set_size()
155 static DescInfo *desc_read(DescRing *ring, uint32_t index) in desc_read()
158 DescInfo *info = &ring->info[index]; in desc_read()
169 DescInfo *info = &ring->info[index]; in desc_write()
185 static DescInfo *__desc_ring_fetch_desc(DescRing *ring) in __desc_ring_fetch_desc()
190 DescInfo *desc_ring_fetch_desc(DescRing *ring) in desc_ring_fetch_desc()
202 DescInfo *info = &ring->info[ring->tail]; in __desc_ring_post_desc()
230 DescInfo *info; in ring_pump()