Home
last modified time | relevance | path

Searched refs:list_entry (Results 1 – 25 of 31) sorted by relevance

12

/f-stack/freebsd/contrib/vchiq/interface/compat/
H A Dlist.h201 #define list_entry(PTR, TYPE, FIELD) container_of(PTR, TYPE, FIELD) macro
203 list_entry(list_first((PTR)), TYPE, FIELD)
205 list_entry(list_last((PTR)), TYPE, FIELD)
207 list_entry(list_next(&(ENTRY)->FIELD), typeof(*(ENTRY)), FIELD)
209 list_entry(list_prev(&(ENTRY)->FIELD), typeof(*(ENTRY)), FIELD)
222 for ((VAR) = list_entry(list_first((HEAD)), typeof(*(VAR)), FIELD); \
224 (VAR) = list_entry(list_next(&(VAR)->FIELD), typeof(*(VAR)), \
228 for ((VAR) = list_entry(list_last((HEAD)), typeof(*(VAR)), FIELD); \
230 (VAR) = list_entry(list_prev(&(VAR)->FIELD), typeof(*(VAR)), \
234 for ((VAR) = list_entry(list_first((HEAD)), typeof(*(VAR)), FIELD); \
[all …]
/f-stack/dpdk/drivers/common/dpaax/
H A Ddpaa_list.h31 #define list_entry(node, type, member) \ macro
62 for (i = list_entry((l)->next, typeof(*i), name); &i->name != (l); \
63 i = list_entry(i->name.next, typeof(*i), name))
65 for (i = list_entry((l)->next, typeof(*i), name), \
66 j = list_entry(i->name.next, typeof(*j), name); \
68 i = j, j = list_entry(j->name.next, typeof(*j), name))
H A Ddpaa_of.c277 return list_entry(f->linear.next, struct dt_dir, linear); in next_linear()
312 d = list_entry(linear.next, struct dt_dir, linear); in of_find_compatible_node()
407 c = list_entry(c->node.list.next, struct dt_dir, node.list); in of_get_next_child()
413 c = list_entry(p->subdirs.next, struct dt_dir, node.list); in of_get_next_child()
/f-stack/lib/include/vm/
H A Duma_int.h62 LIST_ENTRY(uma_page) list_entry;
78 LIST_FOREACH(up, hash_list, list_entry) in vtoslab()
91 LIST_FOREACH(up, hash_list, list_entry) in vtozoneslab()
105 LIST_FOREACH(up, hash_list, list_entry) in vsetzoneslab()
119 LIST_INSERT_HEAD(hash_list, up, list_entry); in vsetzoneslab()
/f-stack/freebsd/kern/
H A Dsubr_sfbuf.c127 LIST_FOREACH(sf, hash_list, list_entry) { in sf_buf_alloc()
158 LIST_REMOVE(sf, list_entry); in sf_buf_alloc()
159 LIST_INSERT_HEAD(hash_list, sf, list_entry); in sf_buf_alloc()
190 LIST_REMOVE(sf, list_entry); in sf_buf_free()
223 LIST_FOREACH(sf, hash_list, list_entry) { in sf_buf_process_page()
/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-taskq.c97 tq = list_entry(tql, taskq_t, tq_taskqs); in taskq_find_by_name()
242 w = list_entry(l, taskq_ent_t, tqent_list); in task_expire_impl()
295 tqt = list_entry(tq->tq_active_list.next, taskq_thread_t, in taskq_lowest_id()
317 w = list_entry(l, taskq_thread_t, tqt_active_list); in taskq_insert_in_order()
338 t = list_entry(l, taskq_ent_t, tqent_list); in taskq_find_list()
376 tqt = list_entry(l, taskq_thread_t, tqt_active_list); in taskq_find()
782 return (list_entry(list->next, taskq_ent_t, tqent_list)); in taskq_next_ent()
1192 tqt = list_entry(tq->tq_thread_list.next, in taskq_destroy()
1295 taskq_t *tq = list_entry(node, taskq_t, tq_hp_cb_node); in spl_taskq_expand()
1331 taskq_t *tq = list_entry(node, taskq_t, tq_hp_cb_node); in spl_taskq_prepare_down()
[all …]
H A Dspl-proc.c334 wq = list_entry(lh, in taskq_seq_show_impl()
337 wq = list_entry(lh, in taskq_seq_show_impl()
350 tqe = list_entry(lh, taskq_ent_t, in taskq_seq_show_impl()
402 return (list_entry(p, taskq_t, tq_taskqs)); in taskq_seq_start()
412 NULL : list_entry(tq->tq_taskqs.next, taskq_t, tq_taskqs)); in taskq_seq_next()
504 return (list_entry(p, spl_kmem_cache_t, skc_list)); in slab_seq_start()
514 NULL : list_entry(skc->skc_list.next, spl_kmem_cache_t, skc_list)); in slab_seq_next()
H A Dspl-tsd.c109 entry = list_entry(node, tsd_hash_entry_t, he_list); in tsd_hash_search()
420 pid_entry = list_entry(entry->he_pid_list.next, tsd_hash_entry_t, in tsd_remove_entry()
612 entry = list_entry(dtor_entry->he_key_list.next, in tsd_destroy()
676 entry = list_entry(pid_entry->he_pid_list.next, in tsd_exit()
H A Dspl-kmem.c375 p = list_entry(node, struct kmem_debug, kd_hlist); in kmem_del_init()
H A Dspl-kmem-cache.c930 sko = list_entry(sks->sks_free_list.next, spl_kmem_obj_t, sko_list); in spl_cache_obj()
1154 sks = list_entry((&skc->skc_partial_list)->next, in spl_cache_refill()
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_switch.c3586 list_entry) { in ice_update_sw_rule_bridge_mode()
3739 list_entry) { in ice_find_rule_entry()
4166 list_entry) { in ice_add_mac_rule()
4222 list_entry) { in ice_add_mac_rule()
4627 list_entry) { in ice_remove_eth_mac_rule()
4870 list_entry) { in ice_remove_mac_rule()
4932 list_entry) { in ice_remove_vlan_rule()
4977 list_entry) { in ice_remove_mac_vlan_rule()
5265 list_entry) { in ice_remove_promisc()
7217 list_entry) { in ice_add_adv_recipe()
[all …]
H A Dice_sched.h50 struct LIST_ENTRY_TYPE list_entry; member
56 struct LIST_ENTRY_TYPE list_entry; member
65 struct LIST_ENTRY_TYPE list_entry; member
H A Dice_switch.h314 struct LIST_ENTRY_TYPE list_entry; member
322 struct LIST_ENTRY_TYPE list_entry; member
341 struct LIST_ENTRY_TYPE list_entry; member
348 struct LIST_ENTRY_TYPE list_entry; member
H A Dice_sched.c716 LIST_DEL(&rl_info->list_entry); in ice_sched_del_rl_profile()
767 list_entry) { in ice_sched_clear_agg()
777 LIST_DEL(&agg_info->list_entry); in ice_sched_clear_agg()
1977 list_entry) { in ice_sched_rm_agg_vsi_info()
2156 list_entry) in ice_get_agg_info()
2766 list_entry) { in ice_get_vsi_agg_info()
3596 list_entry) in ice_cfg_agg_vsi_priority_per_tc()
3733 list_entry) in ice_cfg_agg_bw_alloc()
5001 list_entry) in ice_sched_validate_agg_srl_node()
5483 list_entry) in ice_sched_replay_agg()
[all …]
H A Dice_flex_pipe.c1739 list_entry) { in ice_get_sw_fv_list()
1740 LIST_DEL(&fvl->list_entry); in ice_get_sw_fv_list()
4984 LIST_DEL(&del->list_entry); in ice_rem_flow_all()
5204 LIST_ADD(&p->list_entry, chg); in ice_move_vsi()
5236 LIST_DEL(&tmp->list_entry); in ice_rem_chg_tcam_ent()
5312 LIST_ADD(&p->list_entry, chg); in ice_prof_tcam_ena_dis()
5528 LIST_ADD(&p->list_entry, chg); in ice_add_prof_id_vsig()
5589 LIST_ADD(&p->list_entry, chg); in ice_create_prof_id_vsig()
5703 LIST_DEL(&del->list_entry); in ice_add_vsi_flow()
5844 LIST_DEL(&del->list_entry); in ice_add_prof_id_flow()
[all …]
H A Dice_acl_ctrl.c835 LIST_ADD(&scen->list_entry, &hw->acl_tbl->scens); in ice_acl_create_scen()
880 ice_acl_scen, list_entry) in ice_acl_destroy_scen()
882 LIST_DEL(&scen->list_entry); in ice_acl_destroy_scen()
908 ice_acl_scen, list_entry) { in ice_acl_destroy_tbl()
H A Dice_flex_type.h426 struct LIST_ENTRY_TYPE list_entry; member
762 struct LIST_ENTRY_TYPE list_entry; member
H A Dice_osdep.h336 #define LIST_ADD_AFTER(entry, list_entry) \ argument
337 LIST_INSERT_AFTER(list_entry, entry, next)
H A Dice_acl.h67 struct LIST_ENTRY_TYPE list_entry; member
/f-stack/dpdk/drivers/net/szedata2/
H A Drte_eth_szedata2.c1832 struct pci_dev_list_entry *list_entry; in szedata2_eth_pci_probe() local
1849 if (list_entry == NULL) { in szedata2_eth_pci_probe()
1861 rte_free(list_entry); in szedata2_eth_pci_probe()
1871 rte_free(list_entry); in szedata2_eth_pci_probe()
1882 list_entry->pci_dev = pci_dev; in szedata2_eth_pci_probe()
1883 list_entry->port_count = port_count; in szedata2_eth_pci_probe()
1900 struct pci_dev_list_entry *list_entry = NULL; in szedata2_eth_pci_remove() local
1905 if (list_entry->pci_dev == pci_dev) { in szedata2_eth_pci_remove()
1906 port_count = list_entry->port_count; in szedata2_eth_pci_remove()
1911 LIST_REMOVE(list_entry, next); in szedata2_eth_pci_remove()
[all …]
/f-stack/freebsd/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_kern_lib.c149 waiter = list_entry(pos, in vchiq_shutdown()
399 if (list_entry(pos, struct bulk_waiter_node, in vchiq_blocking_bulk_transfer()
401 waiter = list_entry(pos, in vchiq_blocking_bulk_transfer()
/f-stack/lib/
H A Dff_kern_synch.c62 LIST_ENTRY(sleep_entry) list_entry;
/f-stack/tools/compat/include/sys/
H A Dsf_buf.h93 LIST_ENTRY(sf_buf) list_entry; /* list of buffers */
/f-stack/freebsd/sys/
H A Dsf_buf.h93 LIST_ENTRY(sf_buf) list_entry; /* list of buffers */
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_hw.c29 osal_list_entry_t list_entry; member
68 OSAL_LIST_PUSH_HEAD(&p_pool->ptts[i].list_entry, in ecore_ptt_pool_alloc()
128 struct ecore_ptt, list_entry); in ecore_ptt_acquire()
129 OSAL_LIST_REMOVE_ENTRY(&p_ptt->list_entry, in ecore_ptt_acquire()
157 OSAL_LIST_PUSH_HEAD(&p_ptt->list_entry, &p_hwfn->p_ptt_pool->free_list); in ecore_ptt_release()

12