Searched refs:head_index (Results 1 - 14 of 14) sorted by relevance

/vpp/src/vppinfra/
H A Ddlist.h43 clib_dlist_addtail (dlist_elt_t * pool, u32 head_index, u32 new_index) argument
45 dlist_elt_t *head = pool_elt_at_index (pool, head_index);
57 new->next = new->prev = head_index;
71 clib_dlist_addhead (dlist_elt_t * pool, u32 head_index, u32 new_index) argument
73 dlist_elt_t *head = pool_elt_at_index (pool, head_index);
85 new->next = new->prev = head_index;
117 clib_dlist_remove_head (dlist_elt_t * pool, u32 head_index) argument
119 dlist_elt_t *head = pool_elt_at_index (pool, head_index);
124 if (head->next == ~0 || (head->next == head_index))
133 clib_dlist_remove_tail (dlist_elt_t * pool, u32 head_index) argument
[all...]
H A Dtest_dlist.c21 u32 head_index; member in struct:__anon2249
31 u32 elt_index, head_index; local
36 head_index = head - tm->test_pool;
46 clib_dlist_addtail (tm->test_pool, head_index, elt_index);
49 head = pool_elt_at_index (tm->test_pool, head_index);
77 elt_index = clib_dlist_remove_head (tm->test_pool, head_index);
82 head = pool_elt_at_index (tm->test_pool, head_index);
110 clib_dlist_addhead (tm->test_pool, head_index, 1);
H A Dfifo.h48 u32 head_index; member in struct:__anon372
75 r = (word) f->tail_index - (word) f->head_index;
93 f->head_index = f->tail_index = 0;
140 f->tail_index = f->head_index + l;
179 if (f->tail_index == f->head_index + l)
180 f->tail_index = f->head_index;
182 n = i = f->head_index;
186 f->head_index = n;
244 return v ? f->head_index : 0;
269 result = f->head_index
[all...]
H A Dfifo.c100 f_new->head_index = 0;
110 head = v_old + f_old->head_index * elt_bytes;
H A Dtw_timer_template.c119 timer_addhead (TWT (tw_timer) * pool, u32 head_index, u32 new_index)
121 TWT (tw_timer) * head = pool_elt_at_index (pool, head_index);
128 if (PREDICT_FALSE (head->next == head_index))
131 new->next = new->prev = head_index;
192 timer_addhead (tw->timers, ts->head_index, t - tw->timers);
245 timer_addhead (tw->timers, ts->head_index, t - tw->timers);
263 timer_addhead (tw->timers, ts->head_index, t - tw->timers);
276 timer_addhead (tw->timers, ts->head_index, t - tw->timers);
326 head = pool_elt_at_index (tw->timers, ts->head_index);
329 while (next_index != ts->head_index)
[all...]
H A Dtw_timer_template.h160 u32 head_index; member in struct:__anon4
/vpp/src/plugins/nat/nat44/
H A Ded_inlines.h75 f64 now, u32 head_index)
82 oldest_index = clib_dlist_remove_head (tsm->lru_pool, head_index);
99 clib_dlist_addhead (tsm->lru_pool, head_index, oldest_index);
74 nat_lru_free_one_with_head(snat_main_t * sm, int thread_index, f64 now, u32 head_index) argument
/vpp/src/plugins/nat/dslite/
H A Ddslite_cli.c250 u32 elt_index, head_index; local
261 head_index = b4->sessions_per_b4_list_head_index;
262 head = pool_elt_at_index (td->list_pool, head_index);
/vpp/src/plugins/acl/
H A Dhash_lookup.c507 u32 head_index, u32 applied_entry_index)
509 DBG0("DEL COLLIDING RULE: head_index %d applied index %d", head_index, applied_entry_index);
513 vec_elt_at_index ((*applied_hash_aces), head_index);
515 acl_plugin_print_pae(acl_main.vlib_main, head_index, head_pae);
521 acl_plugin_print_pae(acl_main.vlib_main, head_index, head_pae);
527 u32 head_index, u32 applied_entry_index)
530 vec_elt_at_index ((*applied_hash_aces), head_index);
533 DBG0("ADD COLLIDING RULE: head_index %d applied index %d", head_index, applied_entry_inde
506 del_colliding_rule(applied_hash_ace_entry_t ** applied_hash_aces, u32 head_index, u32 applied_entry_index) argument
525 add_colliding_rule(acl_main_t * am, applied_hash_ace_entry_t ** applied_hash_aces, u32 head_index, u32 applied_entry_index) argument
812 u32 head_index = find_head_applied_ace_index(applied_hash_aces, new_index); local
849 u32 head_index = find_head_applied_ace_index(applied_hash_aces, old_index); local
[all...]
/vpp/src/plugins/nat/
H A Dnat_format.c178 u32 elt_index, head_index; local
190 head_index = u->sessions_per_user_list_head_index;
191 head = pool_elt_at_index (tsm->list_pool, head_index);
H A Dnat.c771 u32 elt_index, head_index, ses_index; local
778 head_index = u->sessions_per_user_list_head_index;
779 head = pool_elt_at_index (tsm->list_pool, head_index);
876 u32 elt_index, head_index; local
1135 head_index = u->sessions_per_user_list_head_index;
1136 head = pool_elt_at_index (tsm->list_pool, head_index);
H A Dnat_api.c1748 u32 session_index, head_index, elt_index; local
1777 head_index = u->sessions_per_user_list_head_index;
1778 head = pool_elt_at_index (tsm->list_pool, head_index);
/vpp/extras/deprecated/ixge/
H A Dixge.c1219 dq->head_index = dq->tx.head_index_write_back[0];
1223 n_left_tx -= ixge_ring_sub (dq, dq->head_index, dq->tail_index);
1263 ed->head = dq->head_index;
1846 hw_head_index = dr->head_index;
1847 sw_head_index = dq->head_index;
1873 dq->head_index = sw_head_index;
2009 while ((dq->head_index == dq->tx.head_index_write_back[0]) &&
2010 dq->tx.n_buffers_on_ring && (dq->head_index != dq->tail_index))
2022 u32 instance, head_index, tail_index, n_buffers_on_ring; member in struct:__anon9
2026 ed->head_index
2046 u32 instance, head_index, n_hw_owned_descriptors, n_clean, retries; member in struct:__anon10
[all...]
H A Dixge.h42 u32 head_index; member in struct:__anon11
1128 u32 head_index, tail_index;

Completed in 31 milliseconds