Searched refs:LIST_FIRST (Results 1 - 25 of 234) sorted by relevance

12345678910

/freebsd-10.0-release/usr.bin/csup/
H A Dqueue.h171 #undef LIST_FIRST macro
172 #define LIST_FIRST(head) ((head)->lh_first) macro
176 for ((var) = LIST_FIRST((head)); \
182 for ((var) = LIST_FIRST((head)); \
188 LIST_FIRST((head)) = NULL; \
210 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
211 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
212 LIST_FIRST((head)) = (elm); \
213 (elm)->field.le_prev = &LIST_FIRST((head)); \
/freebsd-10.0-release/sys/sys/
H A Dqueue.h383 if (LIST_FIRST((head)) != NULL && \
384 LIST_FIRST((head))->field.le_prev != \
385 &LIST_FIRST((head))) \
408 #define LIST_FIRST(head) ((head)->lh_first) macro
411 for ((var) = LIST_FIRST((head)); \
416 for ((var) = ((var) ? (var) : LIST_FIRST((head))); \
421 for ((var) = LIST_FIRST((head)); \
426 for ((var) = ((var) ? (var) : LIST_FIRST((head))); \
431 LIST_FIRST((head)) = NULL; \
453 if ((LIST_NEXT((elm), field) = LIST_FIRST((hea
[all...]
H A Djail.h275 ? LIST_FIRST(&(cpr)->pr_children) \
291 ? LIST_FIRST(&(cpr)->pr_children) \
308 ? (level++, LIST_FIRST(&(cpr)->pr_children)) \
/freebsd-10.0-release/sys/geom/vinum/
H A Dgeom_vinum_volume.c87 lp = LIST_FIRST(&v->plexes);
90 p = LIST_FIRST(&v->plexes);
102 p = LIST_FIRST(&v->plexes);
/freebsd-10.0-release/contrib/openbsm/compat/
H A Dqueue.h333 if (LIST_FIRST((head)) != NULL && \
334 LIST_FIRST((head))->field.le_prev != \
335 &LIST_FIRST((head))) \
358 #define LIST_FIRST(head) ((head)->lh_first) macro
361 for ((var) = LIST_FIRST((head)); \
366 for ((var) = LIST_FIRST((head)); \
371 LIST_FIRST((head)) = NULL; \
393 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
394 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
395 LIST_FIRST((hea
[all...]
/freebsd-10.0-release/contrib/mtree/
H A Dexcludes.c112 e = LIST_FIRST(&excludes);
/freebsd-10.0-release/sys/geom/label/
H A Dg_label.c114 LIST_FIRST(&cp->geom->provider)->name);
123 LIST_FIRST(&cp->geom->provider)->name);
187 pp2 = LIST_FIRST(&gp->provider);
224 pp = LIST_FIRST(&gp->provider);
237 g_slice_spoiled(LIST_FIRST(&gp->consumer));
438 pp = LIST_FIRST(&gp->provider);
487 LIST_FIRST(&gp->provider)->name, error);
/freebsd-10.0-release/lib/libc/gen/
H A Dtelldir.c123 lp = LIST_FIRST(&dirp->dd_td->td_locq);
/freebsd-10.0-release/tools/tools/umastat/
H A Dumastat.c219 for (ubp = LIST_FIRST(bucketlist); ubp != NULL; ubp =
358 for (kzp = LIST_FIRST(&uma_kegs); kzp != NULL; kzp =
380 if (LIST_FIRST(&kz.uk_zones) == NULL) {
385 for (uzp = LIST_FIRST(&kz.uk_zones); uzp != NULL; uzp =
/freebsd-10.0-release/lib/libc/posix1e/
H A Dmac.c72 while ((ld = LIST_FIRST(&label_default_head))) {
122 for (ld = LIST_FIRST(&label_default_head); ld != NULL;
369 for (ld = LIST_FIRST(&label_default_head); ld != NULL;
/freebsd-10.0-release/sys/geom/bde/
H A Dg_bde.c100 cp = LIST_FIRST(&gp->consumer);
224 pp = LIST_FIRST(&gp->provider);
229 cp = LIST_FIRST(&gp->consumer);
/freebsd-10.0-release/sys/geom/mountver/
H A Dg_mountver.c104 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider),
126 g_io_request(cbp, LIST_FIRST(&gp->consumer));
213 cp = LIST_FIRST(&gp->consumer);
316 pp = LIST_FIRST(&gp->provider);
483 cp = LIST_FIRST(&gp->consumer);
532 if (pp == LIST_FIRST(&gp->provider))
541 cp = LIST_FIRST(&gp->consumer);
/freebsd-10.0-release/sys/fs/nfsclient/
H A Dnfs_clsubs.c296 dp = LIST_FIRST(&np->n_cookies);
348 if (LIST_FIRST(&np->n_cookies))
349 LIST_FIRST(&np->n_cookies)->ndm_eocookie = 0;
/freebsd-10.0-release/sys/geom/eli/
H A Dg_eli_privacy.c164 cp = LIST_FIRST(&gp->consumer);
209 cp = LIST_FIRST(&sc->sc_geom->consumer);
245 secsize = LIST_FIRST(&sc->sc_geom->provider)->sectorsize;
H A Dg_eli_ctl.c161 pp = LIST_FIRST(&gp->provider);
164 cp = LIST_FIRST(&gp->consumer);
446 cp = LIST_FIRST(&sc->sc_geom->consumer);
507 cp = LIST_FIRST(&sc->sc_geom->consumer);
620 cp = LIST_FIRST(&sc->sc_geom->consumer);
844 cp = LIST_FIRST(&sc->sc_geom->consumer);
906 pp = LIST_FIRST(&sc->sc_geom->provider);
909 cp = LIST_FIRST(&sc->sc_geom->consumer);
/freebsd-10.0-release/sys/net/
H A Dif_media.c102 for (entry = LIST_FIRST(&ifm->ifm_list); entry;
103 entry = LIST_FIRST(&ifm->ifm_list)) {
317 ep = LIST_FIRST(&ifm->ifm_list);
/freebsd-10.0-release/sys/netgraph/bluetooth/hci/
H A Dng_hci_misc.c145 ng_hci_unit_con_p con = LIST_FIRST(&unit->con_list);
209 ng_hci_free_neighbor(LIST_FIRST(&unit->neighbors));
221 for (n = LIST_FIRST(&unit->neighbors); n != NULL; ) {
/freebsd-10.0-release/tools/regression/geom/ConfCmp/
H A DConfCmp.c239 np1 = LIST_FIRST(&np->children);
307 n1a = LIST_FIRST(&n1->children);
308 n2a = LIST_FIRST(&n2->children);
/freebsd-10.0-release/contrib/openbsm/libbsm/
H A Dbsm_mask.c104 while ((aemp = LIST_FIRST(&ev_cache)) != NULL) {
/freebsd-10.0-release/lib/libmemstat/
H A Dmemstat_uma.c347 for (kzp = LIST_FIRST(&uma_kegs); kzp != NULL; kzp =
356 for (uzp = LIST_FIRST(&kz.uk_zones); uzp != NULL; uzp =
449 for (ubp = LIST_FIRST(&uz.uz_buckets); ubp !=
455 LIST_FIRST(&kz.uk_zones) != uzp)) {
H A Dmemstat.c84 return (LIST_FIRST(&list->mtl_list));
99 while ((mtp = LIST_FIRST(&list->mtl_list))) {
/freebsd-10.0-release/sys/geom/zero/
H A Dg_zero.c125 pp = LIST_FIRST(&gp->provider);
/freebsd-10.0-release/sys/netgraph/atm/
H A Dngatmbase.c225 while ((h = LIST_FIRST(&ngatm_freeuni)) != NULL) {
247 if ((m = LIST_FIRST(&ngatm_freeuni)) != NULL)
340 while ((h = LIST_FIRST(&ngatm_freeuni)) != NULL) {
358 if ((a = LIST_FIRST(&ngatm_freeuni)) != NULL)
/freebsd-10.0-release/sys/contrib/ngatm/netnatm/api/
H A Dcc_data.c75 cc_user_destroy(LIST_FIRST(&cc->user_list));
81 cc_conn_destroy(LIST_FIRST(&cc->orphaned_conns));
/freebsd-10.0-release/sys/dev/drm2/
H A Ddrm_gem_names.c64 while ((np = LIST_FIRST(&names->names_hash[i])) != NULL) {
195 for (np = LIST_FIRST(&names->names_hash[i]); np != NULL; ) {

Completed in 189 milliseconds

12345678910