Home
last modified time | relevance | path

Searched refs:pprev (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Drculist.h96 #define hlist_pprev_rcu(node) (*((struct hlist_node **)((node)->pprev)))
102 n->pprev = &prev->next; in hlist_add_behind_rcu()
105 n->next->pprev = &n->next; in hlist_add_behind_rcu()
119 struct hlist_node **pprev = n->pprev; in hlist_del_rcu() local
121 WRITE_ONCE(*pprev, next); in hlist_del_rcu()
123 next->pprev = pprev; in hlist_del_rcu()
132 n->pprev = &h->first; in hlist_add_head_rcu()
135 first->pprev = &n->next; in hlist_add_head_rcu()
143 n->pprev = NULL; in hlist_del_init_rcu()
H A Dlist.h346 struct hlist_node *next, **pprev; member
354 (node)->pprev = NULL; \
361 return !h->pprev; in hlist_unhashed()
375 WRITE_ONCE(*(n->pprev), n->next); in hlist_del()
377 n->next->pprev = n->pprev; in hlist_del()
396 h->first->pprev = &n->next; in hlist_add_head()
398 n->pprev = &h->first; in hlist_add_head()
405 n->pprev = next->pprev; in hlist_add_before()
407 next->pprev = &n->next; in hlist_add_before()
408 WRITE_ONCE(*(n->pprev), n); in hlist_add_before()
[all …]
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompat.h32 struct hlist_node *next, **pprev; member
60 h->first->pprev = &n->next; in hlist_add_head()
62 n->pprev = &h->first; in hlist_add_head()
68 WRITE_ONCE(*(n->pprev), n->next); in hlist_del()
70 n->next->pprev = n->pprev; in hlist_del()
80 (node)->pprev = NULL; \
/freebsd/sys/dev/drm2/
H A Ddrm_linux_list.h186 struct hlist_node *next, **pprev; member
195 (node)->pprev = NULL; \
202 return !h->pprev; in hlist_unhashed()
217 n->next->pprev = n->pprev; in hlist_del()
218 *n->pprev = n->next; in hlist_del()
237 h->first->pprev = &n->next; in hlist_add_head()
239 n->pprev = &h->first; in hlist_add_head()
246 n->pprev = next->pprev; in hlist_add_before()
248 next->pprev = &n->next; in hlist_add_before()
249 *(n->pprev) = n; in hlist_add_before()
[all …]
/freebsd/lib/libpmc/pmu-events/
H A Dlist.h298 struct hlist_node *next, **pprev; member
307 (node)->pprev = NULL; \
314 return !h->pprev; in hlist_unhashed()
329 n->next->pprev = n->pprev; in hlist_del()
330 *n->pprev = n->next; in hlist_del()
349 h->first->pprev = &n->next; in hlist_add_head()
351 n->pprev = &h->first; in hlist_add_head()
358 n->pprev = next->pprev; in hlist_add_before()
360 next->pprev = &n->next; in hlist_add_before()
361 *(n->pprev) = n; in hlist_add_before()
[all …]
/freebsd/sys/netpfil/ipfw/
H A Ddn_sched_qfq.c714 struct qfq_class *cl, struct qfq_class **pprev)
724 if (!pprev) {
725 pprev = &grp->slots[i];
726 while (*pprev && *pprev != cl)
727 pprev = &(*pprev)->next;
731 *pprev = cl->next;
746 struct qfq_class **pprev)
754 qfq_slot_remove(q, grp, cl, pprev);
/freebsd/sys/dev/hptrr/
H A Dldm.h169 struct timer_call ** pprev; member
173 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0)
177 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
/freebsd/sys/dev/hpt27xx/
H A Dldm.h170 struct timer_call ** pprev; member
174 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0)
178 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
/freebsd/sys/dev/hptnr/
H A Dldm.h170 struct timer_call ** pprev; member
174 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0)
178 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\