Home
last modified time | relevance | path

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

/freebsd/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/crypto/krb5/src/include/
H A Dk5-queue.h202 struct type *curelm = (head)->slh_first; \
203 while(curelm->field.sle_next != (elm)) \
204 curelm = curelm->field.sle_next; \
205 curelm->field.sle_next = \
206 curelm->field.sle_next->field.sle_next; \
283 struct type *curelm = (head)->stqh_first; \
284 while (curelm->field.stqe_next != (elm)) \
285 curelm = curelm->field.stqe_next; \
286 if ((curelm->field.stqe_next = \
287 curelm->field.stqe_next->field.stqe_next) == NULL) \
[all …]
/freebsd/contrib/libarchive/unzip/
H A Dla_queue.h185 QUEUE_TYPEOF(type) *curelm = SLIST_FIRST(head1); \
186 if (curelm == NULL) { \
190 while (SLIST_NEXT(curelm, field) != NULL) \
191 curelm = SLIST_NEXT(curelm, field); \
192 SLIST_NEXT(curelm, field) = SLIST_FIRST(head2); \
248 QUEUE_TYPEOF(type) *curelm = SLIST_FIRST(head); \
249 while (SLIST_NEXT(curelm, field) != (elm)) \
250 curelm = SLIST_NEXT(curelm, field); \
251 SLIST_REMOVE_AFTER(curelm, field); \
376 QUEUE_TYPEOF(type) *curelm = STAILQ_FIRST(head); \
[all …]
/freebsd/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/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/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/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/sys/dev/aic7xxx/
H A Daic79xx_osm.c1167 struct ccb_hdr *curelm; in ahd_abort_ccb()
1170 curelm = SLIST_FIRST(list); in ahd_abort_ccb()
1172 if (curelm == &abort_ccb->ccb_h) { in ahd_abort_ccb()
1176 while(curelm != NULL) { in ahd_abort_ccb()
1180 SLIST_NEXT(curelm, sim_links.sle); in ahd_abort_ccb()
1184 SLIST_NEXT(curelm, in ahd_abort_ccb()
1190 curelm = nextelm; in ahd_abort_ccb()
1161 struct ccb_hdr *curelm; ahd_abort_ccb() local
H A Daic7xxx_osm.c1226 struct ccb_hdr *curelm; in ahc_abort_ccb()
1229 curelm = SLIST_FIRST(list); in ahc_abort_ccb()
1231 if (curelm == &abort_ccb->ccb_h) { in ahc_abort_ccb()
1235 while(curelm != NULL) { in ahc_abort_ccb()
1239 SLIST_NEXT(curelm, sim_links.sle); in ahc_abort_ccb()
1243 SLIST_NEXT(curelm, in ahc_abort_ccb()
1249 curelm = nextelm; in ahc_abort_ccb()
1220 struct ccb_hdr *curelm; ahc_abort_ccb() local
/freebsd/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()