Searched refs:next_to_use (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_macro.c107 long next_to_use; member in struct:macro_stack_s
125 ms->next_to_use = 0;
134 if (ms->next_to_use >= ms->max) {
151 ms->next_to_use * sizeof(Dwarf_Signed));
157 ms->st_base[ms->next_to_use] = indx;
158 ++ms->next_to_use;
168 if (ms->next_to_use > 0) {
169 ms->next_to_use--;
170 return (ms->st_base[ms->next_to_use]);
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_adminq.h61 u16 next_to_use; member in struct:i40e_adminq_ring
H A Di40e_adminq.c401 hw->aq.asq.next_to_use = 0;
460 hw->aq.arq.next_to_use = 0;
747 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use;
793 details = I40E_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use);
855 desc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use);
863 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]);
882 (hw->aq.asq.next_to_use)++;
883 if (hw->aq.asq.next_to_use == hw->aq.asq.count)
884 hw->aq.asq.next_to_use = 0;
886 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use);
[all...]
H A Di40e_type.h104 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
105 (R)->next_to_clean - (R)->next_to_use - 1)

Completed in 70 milliseconds