Home
last modified time | relevance | path

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

/freebsd-13.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-13.1/sys/sys/
H A Dqueue.h218 if (curelm == NULL) { \
222 while (SLIST_NEXT(curelm, field) != NULL) \
223 curelm = SLIST_NEXT(curelm, field); \
280 while (SLIST_NEXT(curelm, field) != (elm)) \
281 curelm = SLIST_NEXT(curelm, field); \
282 SLIST_REMOVE_AFTER(curelm, field); \
413 while (STAILQ_NEXT(curelm, field) != (elm)) \
414 curelm = STAILQ_NEXT(curelm, field); \
415 STAILQ_REMOVE_AFTER(head, curelm, field); \
524 if (curelm == NULL) { \
[all …]
/freebsd-13.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-13.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-13.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-13.1/crypto/openssh/openbsd-compat/
H A Dsys-queue.h246 struct type *curelm = (head)->slh_first; \
248 while (curelm->field.sle_next != (elm)) \
249 curelm = curelm->field.sle_next; \
250 curelm->field.sle_next = \
251 curelm->field.sle_next->field.sle_next; \
/freebsd-13.1/sys/dev/aic7xxx/
H A Daic79xx_osm.c1162 struct ccb_hdr *curelm; in ahd_abort_ccb() local
1165 curelm = SLIST_FIRST(list); in ahd_abort_ccb()
1167 if (curelm == &abort_ccb->ccb_h) { in ahd_abort_ccb()
1171 while(curelm != NULL) { in ahd_abort_ccb()
1175 SLIST_NEXT(curelm, sim_links.sle); in ahd_abort_ccb()
1179 SLIST_NEXT(curelm, in ahd_abort_ccb()
1185 curelm = nextelm; in ahd_abort_ccb()
H A Daic7xxx_osm.c1223 struct ccb_hdr *curelm; in ahc_abort_ccb() local
1226 curelm = SLIST_FIRST(list); in ahc_abort_ccb()
1228 if (curelm == &abort_ccb->ccb_h) { in ahc_abort_ccb()
1232 while(curelm != NULL) { in ahc_abort_ccb()
1236 SLIST_NEXT(curelm, sim_links.sle); in ahc_abort_ccb()
1240 SLIST_NEXT(curelm, in ahc_abort_ccb()
1246 curelm = nextelm; in ahc_abort_ccb()
/freebsd-13.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()