Searched refs:head_wrap (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.h | 56 #define TXDMA_RING_EMPTY(head, head_wrap, tail, tail_wrap) \ argument 57 ((head == tail && head_wrap == tail_wrap) ? B_TRUE : B_FALSE) 59 #define TXDMA_RING_FULL(head, head_wrap, tail, tail_wrap) \ argument 60 ((head == tail && head_wrap != tail_wrap) ? B_TRUE : B_FALSE) 152 boolean_t head_wrap; member
|
H A D | hxge_txdma.c | 619 boolean_t head_wrap, tail_wrap; in hxge_txdma_reclaim() local 670 head_wrap = tx_head.bits.wrap; in hxge_txdma_reclaim() 674 tx_rd_index, tail_index, tail_wrap, head_index, head_wrap)); in hxge_txdma_reclaim() 686 if (TXDMA_RING_EMPTY(head_index, head_wrap, tail_index, in hxge_txdma_reclaim() 694 if (TXDMA_RING_FULL(head_index, head_wrap, tail_index, in hxge_txdma_reclaim() 1300 boolean_t head_wrap, tail_wrap; in hxge_txdma_channel_hung() local 1327 head_wrap = tx_head.bits.wrap; in hxge_txdma_channel_hung() 1330 tx_rd_index, tail_index, tail_wrap, head_index, head_wrap)); in hxge_txdma_channel_hung() 1332 if (TXDMA_RING_EMPTY(head_index, head_wrap, tail_index, tail_wrap) && in hxge_txdma_channel_hung() 1340 if (TXDMA_RING_FULL(head_index, head_wrap, tail_index, tail_wrap)) { in hxge_txdma_channel_hung()
|
/titanic_50/usr/src/uts/common/sys/nxge/ |
H A D | nxge_txdma.h | 58 #define TXDMA_RING_EMPTY(head, head_wrap, tail, tail_wrap) \ argument 59 ((head == tail && head_wrap == tail_wrap) ? B_TRUE : B_FALSE) 61 #define TXDMA_RING_FULL(head, head_wrap, tail, tail_wrap) \ argument 62 ((head == tail && head_wrap != tail_wrap) ? B_TRUE : B_FALSE)
|
/titanic_50/usr/src/uts/common/io/nxge/ |
H A D | nxge_txdma.c | 918 boolean_t head_wrap, tail_wrap; in nxge_txdma_reclaim() local 962 head_wrap = tx_head.bits.ldw.wrap; in nxge_txdma_reclaim() 968 head_index, head_wrap)); in nxge_txdma_reclaim() 971 if (TXDMA_RING_EMPTY(head_index, head_wrap, in nxge_txdma_reclaim() 982 if (TXDMA_RING_FULL(head_index, head_wrap, tail_index, in nxge_txdma_reclaim() 1776 boolean_t head_wrap, tail_wrap; in nxge_txdma_channel_hung() local 1804 head_wrap = tx_head.bits.ldw.wrap; in nxge_txdma_channel_hung() 1810 head_index, head_wrap)); in nxge_txdma_channel_hung() 1812 if (TXDMA_RING_EMPTY(head_index, head_wrap, in nxge_txdma_channel_hung() 1822 if (TXDMA_RING_FULL(head_index, head_wrap, tail_index, in nxge_txdma_channel_hung()
|