| /freebsd-13.1/contrib/atf/atf-c/detail/ |
| H A D | list.c | 39 struct list_entry { struct 40 struct list_entry *m_prev; argument 41 struct list_entry *m_next; argument 67 struct list_entry * 70 struct list_entry *le; in new_entry() 85 delete_entry(struct list_entry *le) in delete_entry() 94 struct list_entry * 98 struct list_entry *le; in new_entry_and_link() 197 struct list_entry *lebeg, *leend; in atf_list_init() 226 struct list_entry *le; in atf_list_fini() [all …]
|
| /freebsd-13.1/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_ooo.c | 80 list_entry, struct ecore_ooo_isle) { in ecore_ooo_seek_isle() 221 struct ecore_ooo_isle, list_entry); in ecore_ooo_release_connection_isles() 233 struct ecore_ooo_buffer, list_entry); in ecore_ooo_release_connection_isles() 245 OSAL_LIST_PUSH_TAIL(&p_isle->list_entry, in ecore_ooo_release_connection_isles() 267 struct ecore_ooo_isle, list_entry); in ecore_ooo_release_all_isles() 279 struct ecore_ooo_buffer, list_entry); in ecore_ooo_release_all_isles() 325 list_entry); in ecore_ooo_free() 364 struct ecore_ooo_buffer, list_entry); in ecore_ooo_get_free_buffer() 394 struct ecore_ooo_buffer, list_entry); in ecore_ooo_get_ready_buffer() 437 OSAL_LIST_PUSH_HEAD(&p_isle->list_entry, in ecore_ooo_delete_isles() [all …]
|
| H A D | ecore_ll2.c | 172 list_entry); in ecore_ll2_txq_flush() 183 OSAL_LIST_PUSH_TAIL(&p_pkt->list_entry, in ecore_ll2_txq_flush() 241 list_entry); in ecore_ll2_txq_completion() 381 list_entry); in ecore_ll2_rxq_handle_completion() 484 list_entry); in ecore_ll2_rxq_flush() 604 list_entry); in ecore_ll2_lb_rxq_handler() 788 list_entry); in ecore_ll2_lb_txq_completion() 1546 list_entry); in ecore_ll2_post_rx_buffer_notify_fw() 1599 list_entry); in ecore_ll2_post_rx_buffer() 1771 list_entry); in ecore_ll2_tx_packet_notify() [all …]
|
| H A D | ecore_ll2.h | 52 osal_list_entry_t list_entry; member 66 osal_list_entry_t list_entry; member
|
| H A D | ecore_ooo.h | 43 osal_list_entry_t list_entry; member 54 osal_list_entry_t list_entry; member
|
| H A D | ecore_iwarp.h | 73 osal_list_entry_t list_entry; member 154 osal_list_entry_t list_entry; member 193 osal_list_entry_t list_entry; member
|
| /freebsd-13.1/sys/powerpc/powermac/ |
| H A D | powermac_thermal.c | 198 struct pmac_fan_le *list_entry; in pmac_thermal_fan_register() local 200 list_entry = malloc(sizeof(struct pmac_fan_le), M_PMACTHERM, in pmac_thermal_fan_register() 202 list_entry->fan = fan; in pmac_thermal_fan_register() 204 SLIST_INSERT_HEAD(&fans, list_entry, entries); in pmac_thermal_fan_register() 210 struct pmac_sens_le *list_entry; in pmac_thermal_sensor_register() local 212 list_entry = malloc(sizeof(struct pmac_sens_le), M_PMACTHERM, in pmac_thermal_sensor_register() 214 list_entry->sensor = sensor; in pmac_thermal_sensor_register() 215 list_entry->last_val = 0; in pmac_thermal_sensor_register() 216 list_entry->critical_count = 0; in pmac_thermal_sensor_register() 218 SLIST_INSERT_HEAD(&sensors, list_entry, entries); in pmac_thermal_sensor_register()
|
| /freebsd-13.1/tools/tools/drm/radeon/mkregtable/ |
| H A D | mkregtable.c | 355 #define list_entry(ptr, type, member) \ macro 367 list_entry((ptr)->next, type, member) 428 for (pos = list_entry((head)->next, typeof(*pos), member); \ 430 pos = list_entry(pos->member.next, typeof(*pos), member)) 439 for (pos = list_entry((head)->prev, typeof(*pos), member); \ 452 ((pos) ? : list_entry(head, typeof(*pos), member)) 502 for (pos = list_entry((head)->next, typeof(*pos), member), \ 503 n = list_entry(pos->member.next, typeof(*pos), member); \ 519 n = list_entry(pos->member.next, typeof(*pos), member); \ 549 for (pos = list_entry((head)->prev, typeof(*pos), member), \ [all …]
|
| /freebsd-13.1/sys/compat/ndis/ |
| H A D | ntoskrnl_var.h | 217 struct list_entry { struct 222 typedef struct list_entry list_entry; typedef 232 list_entry *b; \ 233 list_entry *f; \ 246 list_entry *f; in RemoveHeadList() 247 list_entry *e; in RemoveHeadList() 260 list_entry *b; in RemoveTailList() 261 list_entry *e; in RemoveTailList() 273 list_entry *b; \ 284 list_entry *f; \ [all …]
|
| H A D | subr_ndis.c | 249 static list_entry *NdisInterlockedInsertHeadList(list_entry *, 251 static list_entry *NdisInterlockedRemoveHeadList(list_entry *, 253 static list_entry *NdisInterlockedInsertTailList(list_entry *, 775 list_entry *e; 1573 list_entry *l; in NdisMFreeSharedMemory() 2487 static list_entry * 2489 list_entry *head; in NdisInterlockedInsertHeadList() 2506 static list_entry * 2508 list_entry *head; in NdisInterlockedRemoveHeadList() 2524 static list_entry * [all …]
|
| H A D | ndis_var.h | 908 list_entry np_list; 937 list_entry dh_waitlisthead; 946 list_entry nk_timerlistentry; 970 list_entry nk_dpclistentry; 1315 list_entry np_list; 1555 list_entry nmb_packetlist; 1624 list_entry nmb_parmlist; 1634 list_entry nmb_returnlist;
|
| /freebsd-13.1/lib/libpmc/pmu-events/ |
| H A D | list.h | 154 list_entry((ptr)->next, type, member) 157 list_entry((ptr)->prev, type, member) 163 list_entry(((ptr)->member.next), typeof(*(ptr)), member) 169 list_entry(((ptr)->member.prev), typeof(*(ptr)), member) 179 p = list_entry((p)->field.next, typeof(*p), field)) 182 for (p = list_entry((h)->next, typeof(*p), field), \ 184 p = n, n = list_entry(n->field.next, typeof(*n), field)) 188 p = list_entry((p)->field.next, typeof(*p), field)) 201 p = list_entry((p)->field.prev, typeof(*p), field)) 204 for (p = list_entry((h)->prev, typeof(*p), field), \ [all …]
|
| /freebsd-13.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | list.h | 178 list_entry((ptr)->next, type, member) 181 list_entry((ptr)->prev, type, member) 187 list_entry(((ptr)->member.next), typeof(*(ptr)), member) 193 list_entry(((ptr)->member.prev), typeof(*(ptr)), member) 203 p = list_entry((p)->field.next, typeof(*p), field)) 206 for (p = list_entry((h)->next, typeof(*p), field), \ 208 p = n, n = list_entry(n->field.next, typeof(*n), field)) 212 p = list_entry((p)->field.next, typeof(*p), field)) 225 p = list_entry((p)->field.prev, typeof(*p), field)) 228 for (p = list_entry((h)->prev, typeof(*p), field), \ [all …]
|
| /freebsd-13.1/sys/contrib/vchiq/interface/compat/ |
| H A D | list.h | 201 #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 …]
|
| /freebsd-13.1/sys/dev/if_ndis/ |
| H A D | if_ndisvar.h | 70 list_entry ndis_list; 127 list_entry ne_active; 128 list_entry ne_pending; 139 list_entry nx_next; 144 list_entry nd_donelist; 153 list_entry nt_tasklist; 223 list_entry ndis_shlist; 247 list_entry ndisusb_xferdonelist; 250 list_entry ndisusb_tasklist;
|
| /freebsd-13.1/contrib/libfido2/fuzz/ |
| H A D | udev.c | 25 struct udev_list_entry *list_entry; member 197 if ((udev_enum->list_entry = calloc(1, in __wrap_udev_enumerate_get_list_entry() 198 sizeof(*udev_enum->list_entry))) == NULL) in __wrap_udev_enumerate_get_list_entry() 200 udev_enum->list_entry->magic = UDEV_LIST_ENTRY_MAGIC; in __wrap_udev_enumerate_get_list_entry() 202 return udev_enum->list_entry; in __wrap_udev_enumerate_get_list_entry() 216 if (udev_enum->list_entry) in __wrap_udev_enumerate_unref() 217 ASSERT_UDEV_LIST_ENTRY(udev_enum->list_entry); in __wrap_udev_enumerate_unref() 218 free(udev_enum->list_entry); in __wrap_udev_enumerate_unref()
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_linux_list.h | 42 #define list_entry(ptr, type, member) container_of(ptr,type,member) macro 124 for (pos = list_entry((head)->next, __typeof(*pos), member); \ 126 pos = list_entry(pos->member.next, __typeof(*pos), member)) 129 for (pos = list_entry(pos->member.prev, __typeof(*pos), member); \ 131 pos = list_entry(pos->member.prev, __typeof(*pos), member)) 141 for (pos = list_entry((head)->next, __typeof(*pos), member), \ 142 n = list_entry(pos->member.next, __typeof(*pos), member); \ 144 pos = n, n = list_entry(n->member.next, __typeof(*n), member)) 147 for (n = list_entry(pos->member.next, __typeof(*pos), member); \ 149 pos = n, n = list_entry(n->member.next, __typeof(*n), member)) [all …]
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_sfbuf.c | 127 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()
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-taskq.c | 97 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() 293 tqt = list_entry(tq->tq_active_list.next, taskq_thread_t, in taskq_lowest_id() 315 w = list_entry(l, taskq_thread_t, tqt_active_list); in taskq_insert_in_order() 336 t = list_entry(l, taskq_ent_t, tqent_list); in taskq_find_list() 374 tqt = list_entry(l, taskq_thread_t, tqt_active_list); in taskq_find() 780 return (list_entry(list->next, taskq_ent_t, tqent_list)); in taskq_next_ent() 1191 tqt = list_entry(tq->tq_thread_list.next, in taskq_destroy() 1294 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 D | spl-proc.c | 275 wq = list_entry(lh, in taskq_seq_show_impl() 278 wq = list_entry(lh, in taskq_seq_show_impl() 291 tqe = list_entry(lh, taskq_ent_t, in taskq_seq_show_impl() 343 return (list_entry(p, taskq_t, tq_taskqs)); in taskq_seq_start() 353 NULL : list_entry(tq->tq_taskqs.next, taskq_t, tq_taskqs)); in taskq_seq_next() 445 return (list_entry(p, spl_kmem_cache_t, skc_list)); in slab_seq_start() 455 NULL : list_entry(skc->skc_list.next, spl_kmem_cache_t, skc_list)); in slab_seq_next()
|
| /freebsd-13.1/sys/dev/ice/ |
| H A D | ice_switch.c | 1717 list_entry) { in ice_update_sw_rule_bridge_mode() 1873 list_entry) { in ice_find_rule_entry() 2300 list_entry) { in ice_add_mac_rule() 2356 list_entry) { in ice_add_mac_rule() 2389 list_entry) { in ice_add_mac_rule() 2609 list_entry) { in ice_add_vlan_rule() 2654 list_entry) { in ice_add_eth_mac_rule() 2704 list_entry) { in ice_remove_eth_mac_rule() 2920 list_entry) { in ice_remove_mac_rule() 2982 list_entry) { in ice_remove_vlan_rule() [all …]
|
| H A D | ice_switch.h | 304 struct LIST_ENTRY_TYPE list_entry; member 312 struct LIST_ENTRY_TYPE list_entry; member 355 struct LIST_ENTRY_TYPE list_entry; member 363 struct LIST_ENTRY_TYPE list_entry; member
|
| H A D | ice_sched.c | 744 LIST_DEL(&rl_info->list_entry); in ice_sched_del_rl_profile() 795 list_entry) { in ice_sched_clear_agg() 805 LIST_DEL(&agg_info->list_entry); in ice_sched_clear_agg() 2029 list_entry) { in ice_sched_rm_agg_vsi_info() 2208 list_entry) in ice_get_agg_info() 2818 list_entry) { in ice_get_vsi_agg_info() 3671 list_entry) in ice_cfg_agg_vsi_priority_per_tc() 3807 list_entry) in ice_cfg_agg_bw_alloc() 5075 list_entry) in ice_sched_validate_agg_srl_node() 5557 list_entry) in ice_sched_replay_agg() [all …]
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | icm.h | 91 NULL : list_entry(icm->chunk_list.next, in mlx4_icm_first() 109 iter->chunk = list_entry(iter->chunk->list.next, in mlx4_icm_next()
|
| /freebsd-13.1/sys/dev/mthca/ |
| H A D | mthca_memfree.h | 102 NULL : list_entry(icm->chunk_list.next, in mthca_icm_first() 120 iter->chunk = list_entry(iter->chunk->list.next, in mthca_icm_next()
|