Home
last modified time | relevance | path

Searched refs:reserve_index (Results 1 – 3 of 3) sorted by relevance

/trueos/sys/dev/vxge/vxgehal/
HDvxgehal-channel.h143 u32 reserve_index __vxge_os_attr_cacheline_aligned;
157 (index < (channel)->reserve_index) && \
169 (((channel)->reserve_index < (channel)->compl_index) ? \
170 ((channel)->compl_index - (channel)->reserve_index) : \
171 (((channel)->length - (channel)->reserve_index) + \
172 (channel)->reserve_index))
242 if (channel->dtr_arr[channel->reserve_index].state == in __hal_channel_dtr_reserve()
245 *dtrh = channel->dtr_arr[channel->reserve_index].dtr; in __hal_channel_dtr_reserve()
247 channel->dtr_arr[channel->reserve_index].state = in __hal_channel_dtr_reserve()
250 if (++channel->reserve_index == channel->length) in __hal_channel_dtr_reserve()
[all …]
HDvxgehal-channel.c119 channel->reserve_index = 0; in vxge_hal_channel_allocate()
256 channel->reserve_index = 0; in __hal_channel_reset()
/trueos/sys/dev/nxge/xgehal/
HDxgehal-ring.c146 int reserve_index = index * ring->rxds_per_block + i; in __hal_ring_mempool_item_alloc() local
149 ring->reserved_rxds_arr[reserve_index] = (char *)item + in __hal_ring_mempool_item_alloc()
160 ring->reserved_rxds_arr[reserve_index]; in __hal_ring_mempool_item_alloc()