Home
last modified time | relevance | path

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

12345678910>>...96

/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/gni/test/
H A Dqueue.c95 struct slist_entry *list_entry; in Test() local
97 list_entry = _gnix_queue_dequeue(queue); in Test()
103 list_entry = _gnix_queue_peek(queue); in Test()
109 struct slist_entry *list_entry; in Test() local
127 list_entry = _gnix_queue_dequeue(queue); in Test()
142 list_entry = _gnix_queue_dequeue(queue); in Test()
149 cr_expect(list_entry, in Test()
166 struct slist_entry *list_entry; in Test() local
174 cr_expect(list_entry, in Test()
187 list_entry = _gnix_queue_peek(queue); in Test()
[all …]
/dports/comms/sunxi-tools/sunxi-tools-1.4.2/include/
H A Dlist.h25 struct list_entry { struct
26 struct list_entry *prev; argument
27 struct list_entry *next; argument
37 static inline void list_inject(struct list_entry *l, in list_inject()
38 struct list_entry *prev, in list_inject()
39 struct list_entry *next) in list_inject()
60 static inline struct list_entry *list_first(struct list_entry *l) in list_first()
66 static inline struct list_entry *list_last(struct list_entry *l) in list_last()
72 static inline struct list_entry *list_next(struct list_entry *l, in list_next()
73 struct list_entry *e) in list_next()
[all …]
/dports/games/alienarena/alienarena-7.66/source/qcommon/
H A Dhtable.c207 list_entry = list_head->next; in HT_Destroy()
210 list_entry = list_entry->next; in HT_Destroy()
241 list_entry = list_head->next; in HT_GetItem()
258 list_entry = list_entry->next; in HT_GetItem()
315 list_entry = list_head->next; in HT_PutItem()
336 list_entry = list_entry->next; in HT_PutItem()
388 list_entry = list_head->next; in HT_DeleteItem()
404 list_entry = list_entry->next; in HT_DeleteItem()
452 list_entry = list_head->next; in HT_Apply()
456 list_entry = list_entry->next; in HT_Apply()
[all …]
/dports/games/alienarena-data/alienarena-7.66/source/qcommon/
H A Dhtable.c207 list_entry = list_head->next; in HT_Destroy()
210 list_entry = list_entry->next; in HT_Destroy()
241 list_entry = list_head->next; in HT_GetItem()
258 list_entry = list_entry->next; in HT_GetItem()
315 list_entry = list_head->next; in HT_PutItem()
336 list_entry = list_entry->next; in HT_PutItem()
388 list_entry = list_head->next; in HT_DeleteItem()
404 list_entry = list_entry->next; in HT_DeleteItem()
452 list_entry = list_head->next; in HT_Apply()
456 list_entry = list_entry->next; in HT_Apply()
[all …]
/dports/devel/atf/atf-0.21/atf-c/detail/
H A Dlist.c39 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 …]
/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-list.c27 struct list_entry;
108 struct list_entry { struct
126 struct list_entry *next;
181 struct list_entry *data) in stress_list_slistt()
197 struct list_entry *find; in stress_list_slistt()
222 struct list_entry *data) in stress_list_list()
261 struct list_entry *data) in stress_list_slist()
299 struct list_entry *data) in stress_list_circleq()
337 struct list_entry *data) in stress_list_stailq()
375 struct list_entry *data) in stress_list_tailq()
[all …]
/dports/devel/concurrencykit/ck-0.6.0/regressions/ck_queue/validate/
H A Dck_list.c37 CK_LIST_ENTRY(test) list_entry;
52 CK_LIST_FOREACH(n, &head, list_entry) { in test_foreach()
64 next = CK_LIST_NEXT(n, list_entry); in test_foreach()
90 next = CK_LIST_NEXT(n, list_entry); in test_foreach()
155 CK_LIST_REMOVE(n, list_entry); in main()
161 CK_LIST_REMOVE(&a, list_entry); in main()
164 CK_LIST_REMOVE(&b, list_entry); in main()
171 CK_LIST_INSERT_AFTER(&a, &b, list_entry); in main()
173 if (CK_LIST_NEXT(&b, list_entry) != NULL) in main()
181 if (CK_LIST_NEXT(&b, list_entry) != &a) in main()
[all …]
H A Dck_stailq.c36 CK_STAILQ_ENTRY(test) list_entry;
51 CK_STAILQ_FOREACH(n, &head, list_entry) { in test_foreach()
63 next = CK_STAILQ_NEXT(n, list_entry); in test_foreach()
89 next = CK_STAILQ_NEXT(n, list_entry); in test_foreach()
147 CK_STAILQ_INSERT_HEAD(&head, n, list_entry); in main()
166 CK_STAILQ_INSERT_TAIL(&head, n, list_entry); in main()
181 CK_STAILQ_INSERT_HEAD(&head, &a, list_entry); in main()
195 if (CK_STAILQ_NEXT(&b, list_entry) != NULL) in main()
201 if (CK_STAILQ_NEXT(&a, list_entry) != NULL) in main()
212 CK_STAILQ_INSERT_HEAD(&head, n, list_entry); in main()
[all …]
/dports/benchmarks/sysbench/sysbench-1.0.20/third_party/concurrency_kit/ck/regressions/ck_queue/validate/
H A Dck_list.c37 CK_LIST_ENTRY(test) list_entry;
52 CK_LIST_FOREACH(n, &head, list_entry) { in test_foreach()
64 next = CK_LIST_NEXT(n, list_entry); in test_foreach()
90 next = CK_LIST_NEXT(n, list_entry); in test_foreach()
155 CK_LIST_REMOVE(n, list_entry); in main()
161 CK_LIST_REMOVE(&a, list_entry); in main()
164 CK_LIST_REMOVE(&b, list_entry); in main()
171 CK_LIST_INSERT_AFTER(&a, &b, list_entry); in main()
173 if (CK_LIST_NEXT(&b, list_entry) != NULL) in main()
181 if (CK_LIST_NEXT(&b, list_entry) != &a) in main()
[all …]
H A Dck_stailq.c36 CK_STAILQ_ENTRY(test) list_entry;
51 CK_STAILQ_FOREACH(n, &head, list_entry) { in test_foreach()
63 next = CK_STAILQ_NEXT(n, list_entry); in test_foreach()
89 next = CK_STAILQ_NEXT(n, list_entry); in test_foreach()
147 CK_STAILQ_INSERT_HEAD(&head, n, list_entry); in main()
166 CK_STAILQ_INSERT_TAIL(&head, n, list_entry); in main()
181 CK_STAILQ_INSERT_HEAD(&head, &a, list_entry); in main()
195 if (CK_STAILQ_NEXT(&b, list_entry) != NULL) in main()
201 if (CK_STAILQ_NEXT(&a, list_entry) != NULL) in main()
212 CK_STAILQ_INSERT_HEAD(&head, n, list_entry); in main()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/qlogic/qed/
H A Dqed_ooo.c178 list_del(&p_isle->list_entry); in qed_ooo_release_connection_isles()
183 list_entry); in qed_ooo_release_connection_isles()
210 list_entry); in qed_ooo_release_all_isles()
212 list_del(&p_isle->list_entry); in qed_ooo_release_all_isles()
218 list_entry); in qed_ooo_release_all_isles()
260 list_del(&p_buffer->list_entry); in qed_ooo_free()
291 list_del(&p_buffer->list_entry); in qed_ooo_get_free_buffer()
305 list_add(&p_buffer->list_entry, in qed_ooo_put_ready_buffer()
346 list_del(&p_isle->list_entry); in qed_ooo_delete_isles()
382 list_del(&p_isle->list_entry); in qed_ooo_add_new_isle()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/qlogic/qed/
H A Dqed_ooo.c178 list_del(&p_isle->list_entry); in qed_ooo_release_connection_isles()
183 list_entry); in qed_ooo_release_connection_isles()
210 list_entry); in qed_ooo_release_all_isles()
212 list_del(&p_isle->list_entry); in qed_ooo_release_all_isles()
218 list_entry); in qed_ooo_release_all_isles()
260 list_del(&p_buffer->list_entry); in qed_ooo_free()
291 list_del(&p_buffer->list_entry); in qed_ooo_get_free_buffer()
305 list_add(&p_buffer->list_entry, in qed_ooo_put_ready_buffer()
346 list_del(&p_isle->list_entry); in qed_ooo_delete_isles()
382 list_del(&p_isle->list_entry); in qed_ooo_add_new_isle()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/qlogic/qed/
H A Dqed_ooo.c178 list_del(&p_isle->list_entry); in qed_ooo_release_connection_isles()
183 list_entry); in qed_ooo_release_connection_isles()
210 list_entry); in qed_ooo_release_all_isles()
212 list_del(&p_isle->list_entry); in qed_ooo_release_all_isles()
218 list_entry); in qed_ooo_release_all_isles()
260 list_del(&p_buffer->list_entry); in qed_ooo_free()
291 list_del(&p_buffer->list_entry); in qed_ooo_get_free_buffer()
305 list_add(&p_buffer->list_entry, in qed_ooo_put_ready_buffer()
346 list_del(&p_isle->list_entry); in qed_ooo_delete_isles()
382 list_del(&p_isle->list_entry); in qed_ooo_add_new_isle()
[all …]
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/
H A Dlists.h52 #define list_entry(ptr, type, member) \ macro
91 for (pos = list_entry((head)->next, typeof(*pos), member); \
93 pos = list_entry(pos->member.next, typeof(*pos), member))
102 for (pos = list_entry((head)->prev, typeof(*pos), member); \
104 pos = list_entry(pos->member.prev, typeof(*pos), member))
114 ((pos) ? : list_entry(head, typeof(*pos), member))
136 for (pos = list_entry((head)->next, typeof(*pos), member), \
137 n = list_entry(pos->member.next, typeof(*pos), member); \
151 n = list_entry(pos->member.next, typeof(*pos), member); \
164 for (pos = list_entry((head)->prev, typeof(*pos), member), \
[all …]
/dports/sysutils/syslinux/syslinux-6.03/com32/include/linux/
H A Dlist.h251 #define list_entry(ptr, type, member) \ macro
263 list_entry((ptr)->next, type, member)
324 for (pos = list_entry((head)->next, typeof(*pos), member); \
337 n = list_entry(pos->member.next, typeof(*pos), member); \
348 for (pos = list_entry((head)->prev, typeof(*pos), member); \
361 ((pos) ? : list_entry(head, typeof(*pos), member))
411 for (pos = list_entry((head)->next, typeof(*pos), member), \
412 n = list_entry(pos->member.next, typeof(*pos), member); \
428 n = list_entry(pos->member.next, typeof(*pos), member); \
458 for (pos = list_entry((head)->prev, typeof(*pos), member), \
[all …]
/dports/games/angband/Angband-4.2.2/src/
H A Dmon-group.c103 while (list_entry) { in monster_group_remove_leader()
107 list_entry = list_entry->next; in monster_group_remove_leader()
121 list_entry = list_entry->next; in monster_group_remove_leader()
133 assert(list_entry); in monster_group_remove_leader()
134 while (list_entry) { in monster_group_remove_leader()
142 list_entry = list_entry->next; in monster_group_remove_leader()
167 if (!list_entry->next) { in monster_remove_from_groups()
175 mem_free(list_entry); in monster_remove_from_groups()
190 while (list_entry->next) { in monster_remove_from_groups()
193 list_entry->next = list_entry->next->next; in monster_remove_from_groups()
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/bfdd/
H A Dbfdd_nb_state.c37 return bfd_session_next(args->list_entry, false); in bfdd_bfd_sessions_single_hop_get_next()
42 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_get_keys()
79 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_local_discriminator_get_elem()
90 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_local_state_get_elem()
101 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_local_diagnostic_get_elem()
112 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_local_multiplier_get_elem()
124 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_remote_discriminator_get_elem()
138 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_remote_state_get_elem()
149 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_remote_diagnostic_get_elem()
160 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_remote_multiplier_get_elem()
[all …]
/dports/net/frr7/frr-frr-7.5.1/bfdd/
H A Dbfdd_nb_state.c37 return bfd_session_next(args->list_entry, false); in bfdd_bfd_sessions_single_hop_get_next()
42 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_get_keys()
79 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_local_discriminator_get_elem()
90 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_local_state_get_elem()
101 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_local_diagnostic_get_elem()
112 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_local_multiplier_get_elem()
124 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_remote_discriminator_get_elem()
138 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_remote_state_get_elem()
149 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_remote_diagnostic_get_elem()
160 const struct bfd_session *bs = args->list_entry; in bfdd_bfd_sessions_single_hop_stats_remote_multiplier_get_elem()
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/zebra/
H A Dzebra_nb_state.c35 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_up_count_get_elem()
49 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_down_count_get_elem()
83 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_vlan_id_get_elem()
102 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_vni_id_get_elem()
121 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_remote_vtep_get_elem()
140 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_mcast_group_get_elem()
157 (struct zebra_router_table *)args->list_entry; in lib_vrf_zebra_ribs_rib_get_next()
165 if (args->list_entry == NULL) { in lib_vrf_zebra_ribs_rib_get_next()
225 if (args->list_entry == NULL) in lib_vrf_zebra_ribs_rib_route_get_next()
290 if (args->list_entry == NULL) in lib_vrf_zebra_ribs_rib_route_route_entry_get_next()
[all …]
/dports/net/frr7/frr-frr-7.5.1/zebra/
H A Dzebra_nb_state.c35 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_up_count_get_elem()
49 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_down_count_get_elem()
83 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_vlan_id_get_elem()
102 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_vni_id_get_elem()
121 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_remote_vtep_get_elem()
140 const struct interface *ifp = args->list_entry; in lib_interface_zebra_state_mcast_group_get_elem()
157 (struct zebra_router_table *)args->list_entry; in lib_vrf_zebra_ribs_rib_get_next()
165 if (args->list_entry == NULL) { in lib_vrf_zebra_ribs_rib_get_next()
225 if (args->list_entry == NULL) in lib_vrf_zebra_ribs_rib_route_get_next()
290 if (args->list_entry == NULL) in lib_vrf_zebra_ribs_rib_route_route_entry_get_next()
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/ripd/
H A Drip_nb_state.c42 struct rip *rip = (struct rip *)args->list_entry; in ripd_instance_get_next()
44 if (args->list_entry == NULL) in ripd_instance_get_next()
54 const struct rip *rip = args->list_entry; in ripd_instance_get_keys()
78 if (args->list_entry == NULL) in ripd_instance_state_neighbors_neighbor_get_next()
89 const struct listnode *node = args->list_entry; in ripd_instance_state_neighbors_neighbor_get_keys()
123 const struct listnode *node = args->list_entry; in ripd_instance_state_neighbors_neighbor_address_get_elem()
146 const struct listnode *node = args->list_entry; in ripd_instance_state_neighbors_neighbor_bad_packets_rcvd_get_elem()
159 const struct listnode *node = args->list_entry; in ripd_instance_state_neighbors_neighbor_bad_routes_rcvd_get_elem()
174 if (args->list_entry == NULL) in ripd_instance_state_routes_route_get_next()
187 const struct route_node *rn = args->list_entry; in ripd_instance_state_routes_route_get_keys()
[all …]
/dports/net/frr7/frr-frr-7.5.1/ripd/
H A Drip_nb_state.c42 struct rip *rip = (struct rip *)args->list_entry; in ripd_instance_get_next()
44 if (args->list_entry == NULL) in ripd_instance_get_next()
54 const struct rip *rip = args->list_entry; in ripd_instance_get_keys()
78 if (args->list_entry == NULL) in ripd_instance_state_neighbors_neighbor_get_next()
89 const struct listnode *node = args->list_entry; in ripd_instance_state_neighbors_neighbor_get_keys()
123 const struct listnode *node = args->list_entry; in ripd_instance_state_neighbors_neighbor_address_get_elem()
146 const struct listnode *node = args->list_entry; in ripd_instance_state_neighbors_neighbor_bad_packets_rcvd_get_elem()
159 const struct listnode *node = args->list_entry; in ripd_instance_state_neighbors_neighbor_bad_routes_rcvd_get_elem()
174 if (args->list_entry == NULL) in ripd_instance_state_routes_route_get_next()
187 const struct route_node *rn = args->list_entry; in ripd_instance_state_routes_route_get_keys()
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/tools/coccinelle/
H A Dnb-cbs.cocci99 identifier xpath, list_entry;
111 - list_entry
112 + args->list_entry
119 identifier parent_list_entry, list_entry;
131 - list_entry
132 + args->list_entry
139 identifier list_entry, keys;
148 - list_entry
149 + args->list_entry
252 identifier xpath, list_entry;
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/isisd/
H A Disis_nb_state.c40 ifp = (struct interface *)args->list_entry; in lib_interface_state_isis_get_elem()
65 if (args->list_entry == NULL) { in lib_interface_state_isis_adjacencies_adjacency_get_next()
99 adj = (struct isis_adjacency *)args->list_entry; in lib_interface_state_isis_adjacencies_adjacency_get_next()
228 ifp = (struct interface *)args->list_entry; in lib_interface_state_isis_event_counters_adjacency_changes_get_elem()
253 ifp = (struct interface *)args->list_entry; in lib_interface_state_isis_event_counters_adjacency_number_get_elem()
295 ifp = (struct interface *)args->list_entry; in lib_interface_state_isis_event_counters_init_fails_get_elem()
317 ifp = (struct interface *)args->list_entry; in lib_interface_state_isis_event_counters_adjacency_rejects_get_elem()
339 ifp = (struct interface *)args->list_entry; in lib_interface_state_isis_event_counters_id_len_mismatch_get_elem()
361 ifp = (struct interface *)args->list_entry; in lib_interface_state_isis_event_counters_max_area_addresses_mismatch_get_elem()
384 ifp = (struct interface *)args->list_entry; in lib_interface_state_isis_event_counters_authentication_type_fails_get_elem()
[all …]
/dports/net/frr7/frr-frr-7.5.1/tools/coccinelle/
H A Dnb-cbs.cocci99 identifier xpath, list_entry;
111 - list_entry
112 + args->list_entry
119 identifier parent_list_entry, list_entry;
131 - list_entry
132 + args->list_entry
139 identifier list_entry, keys;
148 - list_entry
149 + args->list_entry
252 identifier xpath, list_entry;
[all …]

12345678910>>...96