Lines Matching refs:rx_elem
66 static struct rx_elem *pktq_in_elem (struct rx_ringbuf *q) LOCKED_FUNC;
67 static struct rx_elem *pktq_out_elem (struct rx_ringbuf *q);
1302 struct rx_elem *tail, *head; in peek_rxbuf()
1328 struct rx_elem *tail = pktq_out_elem (&active_dev->queue); in release_rxbuf()
1363 struct rx_elem *head = pktq_in_elem (&active_dev->queue); in get_rxbuf()
1415 PCAP_ASSERT (size >= sizeof(struct rx_elem) + sizeof(DWORD)); in pktq_init()
1422 struct rx_elem *elem = (struct rx_elem*) pool; in pktq_init()
1462 static struct rx_elem *pktq_in_elem (struct rx_ringbuf *q) in pktq_in_elem()
1464 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->in_index)); in pktq_in_elem()
1470 static struct rx_elem *pktq_out_elem (struct rx_ringbuf *q) in pktq_out_elem()
1472 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->out_index)); in pktq_out_elem()