Home
last modified time | relevance | path

Searched refs:SRPL_FIRST_LOCKED (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/sys/sys/
Dsrp.h131 #define SRPL_FIRST_LOCKED(_sl) srp_get_locked(&(_sl)->sl_head) macro
132 #define SRPL_EMPTY_LOCKED(_sl) (SRPL_FIRST_LOCKED(_sl) == NULL)
138 for ((_c) = SRPL_FIRST_LOCKED(_sl); \
143 for ((_c) = SRPL_FIRST_LOCKED(_sl); \
152 head = SRPL_FIRST_LOCKED(_sl); \
/openbsd/src/sys/net/
Drtable.c622 mrt = SRPL_FIRST_LOCKED(&an->an_rtlist); in rtable_insert()
698 mrt = SRPL_FIRST_LOCKED(&an->an_rtlist); in rtable_delete()
816 } else if (SRPL_FIRST_LOCKED(&an->an_rtlist) == rt && in rtable_mpath_reprio()
845 if ((mrt = SRPL_FIRST_LOCKED(&an->an_rtlist)) == NULL) { in rtable_mpath_insert()
/openbsd/src/regress/sys/net/rtable/
Dsrp_compat.h66 #define SRPL_FIRST_LOCKED(_sl) SLIST_FIRST(_sl) macro
/openbsd/src/sys/netinet/
Dip_carp.c990 while ((vhe = SRPL_FIRST_LOCKED(&sc->carp_vhosts)) != NULL) { in carp_destroy_vhosts()
1732 vrhead = SRPL_FIRST_LOCKED(&vr->carp_vhosts); in carp_set_ifp()
1733 schead = SRPL_FIRST_LOCKED(&sc->carp_vhosts); in carp_set_ifp()
1788 vhe = SRPL_FIRST_LOCKED(&sc->carp_vhosts); in carp_set_enaddr()
2029 vhe = SRPL_FIRST_LOCKED(&sc->carp_vhosts); in carp_ioctl()
2050 vhe = SRPL_FIRST_LOCKED(&sc->carp_vhosts); in carp_ioctl()