Home
last modified time | relevance | path

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

/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Drculist.h93 #define hlist_pprev_rcu(node) (*((struct hlist_node **)((node)->pprev)))
99 n->pprev = &prev->next; in hlist_add_behind_rcu()
102 n->next->pprev = &n->next; in hlist_add_behind_rcu()
116 struct hlist_node **pprev = n->pprev; in hlist_del_rcu() local
118 WRITE_ONCE(*pprev, next); in hlist_del_rcu()
120 next->pprev = pprev; in hlist_del_rcu()
129 n->pprev = &h->first; in hlist_add_head_rcu()
132 first->pprev = &n->next; in hlist_add_head_rcu()
140 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()
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()
417 n->pprev = &prev->next; in hlist_add_behind()
[all …]
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_linux_list.h188 struct hlist_node *next, **pprev; member
197 (node)->pprev = NULL; \
204 return !h->pprev; in hlist_unhashed()
219 n->next->pprev = n->pprev; in hlist_del()
220 *n->pprev = n->next; in hlist_del()
239 h->first->pprev = &n->next; in hlist_add_head()
241 n->pprev = &h->first; in hlist_add_head()
248 n->pprev = next->pprev; in hlist_add_before()
250 next->pprev = &n->next; in hlist_add_before()
251 *(n->pprev) = n; in hlist_add_before()
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompat.h74 struct hlist_node *next, **pprev; member
103 h->first->pprev = &n->next; in hlist_add_head()
105 n->pprev = &h->first; in hlist_add_head()
111 WRITE_ONCE(*(n->pprev), n->next); in hlist_del()
113 n->next->pprev = n->pprev; in hlist_del()
132 (node)->pprev = NULL; \
/freebsd-13.1/lib/libpmc/pmu-events/
H A Dlist.h300 struct hlist_node *next, **pprev; member
309 (node)->pprev = NULL; \
316 return !h->pprev; in hlist_unhashed()
331 n->next->pprev = n->pprev; in hlist_del()
332 *n->pprev = n->next; in hlist_del()
351 h->first->pprev = &n->next; in hlist_add_head()
353 n->pprev = &h->first; in hlist_add_head()
360 n->pprev = next->pprev; in hlist_add_before()
362 next->pprev = &n->next; in hlist_add_before()
363 *(n->pprev) = n; in hlist_add_before()
[all …]
/freebsd-13.1/sys/netpfil/ipfw/
H A Ddn_sched_qfq.c715 struct qfq_class *cl, struct qfq_class **pprev)
725 if (!pprev) {
726 pprev = &grp->slots[i];
727 while (*pprev && *pprev != cl)
728 pprev = &(*pprev)->next;
732 *pprev = cl->next;
747 struct qfq_class **pprev)
755 qfq_slot_remove(q, grp, cl, pprev);
/freebsd-13.1/sys/dev/hptrr/
H A Dldm.h171 struct timer_call ** pprev; member
175 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0)
179 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
/freebsd-13.1/sys/dev/hpt27xx/
H A Dldm.h172 struct timer_call ** pprev; member
176 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0)
180 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\
/freebsd-13.1/sys/dev/hptnr/
H A Dldm.h172 struct timer_call ** pprev; member
176 #define ldm_init_timer(timer) do { (timer)->next=0; (timer)->pprev=0; } while (0)
180 HPT_ASSERT((timer)->next==0 && (timer)->pprev==0);\