Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/libarchive/unzip/
H A Dla_queue.h186 if (curelm == NULL) { \
190 while (SLIST_NEXT(curelm, field) != NULL) \
191 curelm = SLIST_NEXT(curelm, field); \
249 while (SLIST_NEXT(curelm, field) != (elm)) \
250 curelm = SLIST_NEXT(curelm, field); \
251 SLIST_REMOVE_AFTER(curelm, field); \
377 while (STAILQ_NEXT(curelm, field) != (elm)) \
378 curelm = STAILQ_NEXT(curelm, field); \
379 STAILQ_REMOVE_AFTER(head, curelm, field); \
486 if (curelm == NULL) { \
[all …]
/freebsd-14.2/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); \
414 curelm = STAILQ_NEXT(curelm, field); \
415 STAILQ_REMOVE_AFTER(head, curelm, field); \
524 if (curelm == NULL) { \
531 while (LIST_NEXT(curelm, field) != NULL) \
[all …]
/freebsd-14.2/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-14.2/sys/contrib/ck/include/
H A Dck_queue.h203 struct type *curelm = (head)->cslh_first; \
204 while (curelm->field.csle_next != (elm)) \
205 curelm = curelm->field.csle_next; \
206 CK_SLIST_REMOVE_AFTER(curelm, field); \
317 struct type *curelm = (head)->cstqh_first; \
318 while (curelm->field.cstqe_next != (elm)) \
319 curelm = curelm->field.cstqe_next; \
320 CK_STAILQ_REMOVE_AFTER(head, curelm, field); \
/freebsd-14.2/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-14.2/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-14.2/sys/dev/aic7xxx/
H A Daic79xx_osm.c1168 struct ccb_hdr *curelm; in ahd_abort_ccb() local
1171 curelm = SLIST_FIRST(list); in ahd_abort_ccb()
1173 if (curelm == &abort_ccb->ccb_h) { in ahd_abort_ccb()
1177 while(curelm != NULL) { in ahd_abort_ccb()
1181 SLIST_NEXT(curelm, sim_links.sle); in ahd_abort_ccb()
1185 SLIST_NEXT(curelm, in ahd_abort_ccb()
1191 curelm = nextelm; in ahd_abort_ccb()
H A Daic7xxx_osm.c1227 struct ccb_hdr *curelm; in ahc_abort_ccb() local
1230 curelm = SLIST_FIRST(list); in ahc_abort_ccb()
1232 if (curelm == &abort_ccb->ccb_h) { in ahc_abort_ccb()
1236 while(curelm != NULL) { in ahc_abort_ccb()
1240 SLIST_NEXT(curelm, sim_links.sle); in ahc_abort_ccb()
1244 SLIST_NEXT(curelm, in ahc_abort_ccb()
1250 curelm = nextelm; in ahc_abort_ccb()
/freebsd-14.2/sys/dev/firewire/
H A Dsbp_targ.c888 struct ccb_hdr *curelm; in sbp_targ_abort_ccb() local
905 curelm = SLIST_FIRST(list); in sbp_targ_abort_ccb()
907 if (curelm == &accb->ccb_h) { in sbp_targ_abort_ccb()
911 while (curelm != NULL) { in sbp_targ_abort_ccb()
914 nextelm = SLIST_NEXT(curelm, sim_links.sle); in sbp_targ_abort_ccb()
917 SLIST_NEXT(curelm, sim_links.sle) = in sbp_targ_abort_ccb()
921 curelm = nextelm; in sbp_targ_abort_ccb()