Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/heimdal/lib/gssapi/mech/
H A Dmechqueue.h79 struct type *curelm = (head)->slh_first; \
80 while(curelm->field.sle_next != (elm)) \
81 curelm = curelm->field.sle_next; \
82 curelm->field.sle_next = \
83 curelm->field.sle_next->field.sle_next; \
/freebsd-12.1/sys/sys/
H A Dqueue.h221 if (curelm == NULL) { \
225 while (SLIST_NEXT(curelm, field) != NULL) \
226 curelm = SLIST_NEXT(curelm, field); \
284 while (SLIST_NEXT(curelm, field) != (elm)) \
285 curelm = SLIST_NEXT(curelm, field); \
286 SLIST_REMOVE_AFTER(curelm, field); \
412 while (STAILQ_NEXT(curelm, field) != (elm)) \
413 curelm = STAILQ_NEXT(curelm, field); \
414 STAILQ_REMOVE_AFTER(head, curelm, field); \
521 if (curelm == NULL) { \
[all …]
/freebsd-12.1/sys/contrib/ck/include/
H A Dck_queue.h198 struct type *curelm = (head)->cslh_first; \
199 while (curelm->field.csle_next != (elm)) \
200 curelm = curelm->field.csle_next; \
201 CK_SLIST_REMOVE_AFTER(curelm, field); \
307 struct type *curelm = (head)->cstqh_first; \
308 while (curelm->field.cstqe_next != (elm)) \
309 curelm = curelm->field.cstqe_next; \
310 CK_STAILQ_REMOVE_AFTER(head, curelm, field); \
/freebsd-12.1/contrib/openbsm/compat/
H A Dqueue.h196 struct type *curelm = SLIST_FIRST((head)); \
197 while (SLIST_NEXT(curelm, field) != (elm)) \
198 curelm = SLIST_NEXT(curelm, field); \
199 SLIST_NEXT(curelm, field) = \
200 SLIST_NEXT(SLIST_NEXT(curelm, field), field); \
288 struct type *curelm = STAILQ_FIRST((head)); \
289 while (STAILQ_NEXT(curelm, field) != (elm)) \
290 curelm = STAILQ_NEXT(curelm, field); \
291 if ((STAILQ_NEXT(curelm, field) = \
292 STAILQ_NEXT(STAILQ_NEXT(curelm, field), field)) == NULL)\
[all …]
/freebsd-12.1/contrib/elftoolchain/common/
H A D_elftc.h192 struct type *curelm = (head)->stqh_first; \
193 while (curelm->field.stqe_next != (elm)) \
194 curelm = curelm->field.stqe_next; \
195 if ((curelm->field.stqe_next = \
196 curelm->field.stqe_next->field.stqe_next) == NULL) \
197 (head)->stqh_last = &(curelm)->field.stqe_next; \
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Dsys-queue.h244 struct type *curelm = (head)->slh_first; \
246 while (curelm->field.sle_next != (elm)) \
247 curelm = curelm->field.sle_next; \
248 curelm->field.sle_next = \
249 curelm->field.sle_next->field.sle_next; \
/freebsd-12.1/sys/dev/aic7xxx/
H A Daic7xxx_osm.c1233 struct ccb_hdr *curelm; in ahc_abort_ccb() local
1236 curelm = SLIST_FIRST(list); in ahc_abort_ccb()
1238 if (curelm == &abort_ccb->ccb_h) { in ahc_abort_ccb()
1242 while(curelm != NULL) { in ahc_abort_ccb()
1246 SLIST_NEXT(curelm, sim_links.sle); in ahc_abort_ccb()
1250 SLIST_NEXT(curelm, in ahc_abort_ccb()
1256 curelm = nextelm; in ahc_abort_ccb()
H A Daic79xx_osm.c1172 struct ccb_hdr *curelm; in ahd_abort_ccb() local
1175 curelm = SLIST_FIRST(list); in ahd_abort_ccb()
1177 if (curelm == &abort_ccb->ccb_h) { in ahd_abort_ccb()
1181 while(curelm != NULL) { in ahd_abort_ccb()
1185 SLIST_NEXT(curelm, sim_links.sle); in ahd_abort_ccb()
1189 SLIST_NEXT(curelm, in ahd_abort_ccb()
1195 curelm = nextelm; in ahd_abort_ccb()
/freebsd-12.1/sys/dev/firewire/
H A Dsbp_targ.c890 struct ccb_hdr *curelm; in sbp_targ_abort_ccb() local
907 curelm = SLIST_FIRST(list); in sbp_targ_abort_ccb()
909 if (curelm == &accb->ccb_h) { in sbp_targ_abort_ccb()
913 while (curelm != NULL) { in sbp_targ_abort_ccb()
916 nextelm = SLIST_NEXT(curelm, sim_links.sle); in sbp_targ_abort_ccb()
919 SLIST_NEXT(curelm, sim_links.sle) = in sbp_targ_abort_ccb()
923 curelm = nextelm; in sbp_targ_abort_ccb()