Home
last modified time | relevance | path

Searched refs:l_next (Results 1 – 20 of 20) sorted by relevance

/trueos/cddl/contrib/opensolaris/tools/ctf/common/
HDlist.c42 struct list *l_next; member
53 le->l_next = *list; in list_add()
63 for (nextp = list; *nextp; nextp = &((*nextp)->l_next)) { in slist_add()
88 for (le = *list, le2 = list; le; le2 = &le->l_next, le = le->l_next) { in list_remove()
90 *le2 = le->l_next; in list_remove()
107 list = list->l_next; in list_free()
126 lnext = list->l_next; in list_iter()
158 for (; list; list = list->l_next) { in list_find()
177 for (l = *list1, last = NULL; l; last = l, l = l->l_next) in list_concat()
183 last->l_next = list2; in list_concat()
[all …]
/trueos/cddl/contrib/opensolaris/common/ctf/
HDctf_util.c46 q->l_next = NULL; in ctf_list_append()
49 p->l_next = q; in ctf_list_append()
51 lp->l_next = q; in ctf_list_append()
62 ctf_list_t *q = lp->l_next; /* q = head list element */ in ctf_list_prepend()
64 lp->l_next = p; in ctf_list_prepend()
66 p->l_next = q; in ctf_list_prepend()
84 p->l_prev->l_next = p->l_next; in ctf_list_delete()
86 lp->l_next = p->l_next; in ctf_list_delete()
88 if (p->l_next != NULL) in ctf_list_delete()
89 p->l_next->l_prev = p->l_prev; in ctf_list_delete()
HDctf_impl.h109 struct ctf_list *l_next; /* next pointer or head pointer */ member
293 #define ctf_list_next(elem) ((void *)(((ctf_list_t *)(elem))->l_next))
/trueos/usr.bin/col/
HDcol.c92 LINE *l_next; /* next line */ member
287 lnew->l_next = l; in main()
301 if (l->l_next == NULL) { in main()
302 l->l_next = alloc_line(); in main()
303 l->l_next->l_prev = l; in main()
305 l = l->l_next; in main()
353 for (; l->l_next; l = l->l_next) in main()
377 lines = l->l_next; in flush_lines()
382 if (l->l_line || l->l_next) in flush_lines()
567 l->l_next = l + 1; in alloc_line()
[all …]
/trueos/contrib/gdb/gdb/
HDsolib-legacy.c68 lmo.l_next_offset = offsetof (struct link_map, l_next); in legacy_svr4_fetch_link_map_offsets()
69 lmo.l_next_size = fieldsize (struct link_map, l_next); in legacy_svr4_fetch_link_map_offsets()
120 lmo32.l_next_offset = offsetof (struct link_map32, l_next); in legacy_svr4_fetch_link_map_offsets()
121 lmo32.l_next_size = fieldsize (struct link_map32, l_next); in legacy_svr4_fetch_link_map_offsets()
/trueos/libexec/revnetgroup/
HDparse_netgroup.c61 struct linelist *l_next; /* Chain ptr. */ member
144 lp = lp->l_next; in __endnetgrent()
190 lp = lp->l_next; in parse_netgrp()
349 lp->l_next = linehead; in read_for_group()
/trueos/contrib/netbsd-tests/libexec/ld.elf_so/
HDt_dlinfo.c102 for (; map->l_next; map = map->l_next) in ATF_TC_BODY()
/trueos/lib/libc/gen/
HDgetnetgrent.c111 struct linelist *l_next; /* Chain ptr. */ member
246 lp = lp->l_next;
433 lp = lp->l_next;
637 lp->l_next = linehead;
/trueos/sys/dev/cy/
HDcy.c165 struct lbq *l_next; /* next in queue */ member
1057 qp = com->obufq.l_next; in cyintr()
1059 qp = qp->l_next; in cyintr()
1063 com->obufq.l_next = qp; in cyintr()
1724 com->obufs[0].l_next = NULL; in cystart()
1729 qp = com->obufq.l_next; in cystart()
1730 while ((next = qp->l_next) != NULL) in cystart()
1732 qp->l_next = &com->obufs[0]; in cystart()
1736 com->obufq.l_next = &com->obufs[0]; in cystart()
1756 com->obufs[1].l_next = NULL; in cystart()
[all …]
/trueos/sys/cddl/dev/fbt/
HDfbt_powerpc.c800 struct ctf_list *l_next; /* next pointer or head pointer */ member
804 #define ctf_list_next(elem) ((void *)(((ctf_list_t *)(elem))->l_next))
848 q->l_next = NULL; in ctf_list_append()
851 p->l_next = q; in ctf_list_append()
853 lp->l_next = q; in ctf_list_append()
864 ctf_list_t *q = lp->l_next; /* q = head list element */ in ctf_list_prepend()
866 lp->l_next = p; in ctf_list_prepend()
868 p->l_next = q; in ctf_list_prepend()
HDfbt.c870 struct ctf_list *l_next; /* next pointer or head pointer */ member
874 #define ctf_list_next(elem) ((void *)(((ctf_list_t *)(elem))->l_next))
918 q->l_next = NULL; in ctf_list_append()
921 p->l_next = q; in ctf_list_append()
923 lp->l_next = q; in ctf_list_append()
934 ctf_list_t *q = lp->l_next; /* q = head list element */ in ctf_list_prepend()
936 lp->l_next = p; in ctf_list_prepend()
938 p->l_next = q; in ctf_list_prepend()
/trueos/sys/dev/sio/
HDsio.c165 struct lbq *l_next; /* next in queue */ member
1650 qp = com->obufq.l_next;
1652 qp = qp->l_next;
1656 com->obufq.l_next = qp;
2041 com->obufs[0].l_next = NULL;
2045 qp = com->obufq.l_next;
2046 while ((next = qp->l_next) != NULL)
2048 qp->l_next = &com->obufs[0];
2052 com->obufq.l_next = &com->obufs[0];
2061 com->obufs[1].l_next = NULL;
[all …]
/trueos/sys/kern/
HDlink_elf.c288 l->l_next = NULL; in link_elf_add_gdb()
297 prev->l_next != NULL; in link_elf_add_gdb()
298 prev = prev->l_next) in link_elf_add_gdb()
301 prev->l_next = l; in link_elf_add_gdb()
310 if ((r_debug.r_map = l->l_next) != NULL) in link_elf_delete_gdb()
311 l->l_next->l_prev = NULL; in link_elf_delete_gdb()
314 if ((l->l_prev->l_next = l->l_next) != NULL) in link_elf_delete_gdb()
315 l->l_next->l_prev = l->l_prev; in link_elf_delete_gdb()
/trueos/sys/sys/
HDlink_elf.h64 struct link_map *l_next, *l_prev; /* linked list of of mapped libs */ member
/trueos/usr.sbin/ctld/
HDctld.c120 TAILQ_FOREACH_SAFE(lun, &conf->conf_luns, l_next, ltmp) in conf_delete()
1381 TAILQ_INSERT_TAIL(&conf->conf_luns, lun, l_next); in lun_new()
1399 TAILQ_REMOVE(&lun->l_conf->conf_luns, lun, l_next); in lun_delete()
1417 TAILQ_FOREACH(lun, &conf->conf_luns, l_next) { in lun_find()
1594 TAILQ_FOREACH(lun, &conf->conf_luns, l_next) {
1649 TAILQ_FOREACH(lun2, &lun->l_conf->conf_luns, l_next) { in conf_verify_lun()
1678 TAILQ_FOREACH(lun, &conf->conf_luns, l_next) { in conf_verify()
1870 TAILQ_FOREACH_SAFE(oldlun, &oldconf->conf_luns, l_next, tmplun) { in conf_apply()
1944 TAILQ_FOREACH_SAFE(newlun, &newconf->conf_luns, l_next, tmplun) { in conf_apply()
HDctld.h160 TAILQ_ENTRY(lun) l_next;
/trueos/sys/pc98/cbus/
HDsio.c229 struct lbq *l_next; /* next in queue */ member
2559 qp = com->obufq.l_next;
2561 qp = qp->l_next;
2565 com->obufq.l_next = qp;
3097 com->obufs[0].l_next = NULL;
3101 qp = com->obufq.l_next;
3102 while ((next = qp->l_next) != NULL)
3104 qp->l_next = &com->obufs[0];
3108 com->obufq.l_next = &com->obufs[0];
3121 com->obufs[1].l_next = NULL;
[all …]
/trueos/libexec/rtld-elf/
HDrtld.c3552 prev->l_next != NULL && prev->l_next != &obj_rtld.linkmap; in linkmap_add()
3553 prev = prev->l_next) in linkmap_add()
3558 l->l_next = prev->l_next; in linkmap_add()
3559 if (l->l_next != NULL) in linkmap_add()
3560 l->l_next->l_prev = l; in linkmap_add()
3561 prev->l_next = l; in linkmap_add()
3570 if ((r_debug.r_map = l->l_next) != NULL) in linkmap_delete()
3571 l->l_next->l_prev = NULL; in linkmap_delete()
3575 if ((l->l_prev->l_next = l->l_next) != NULL) in linkmap_delete()
3576 l->l_next->l_prev = l->l_prev; in linkmap_delete()
/trueos/sys/geom/raid/
HDg_raid.h126 LIST_ENTRY(g_raid_lock) l_next;
HDg_raid.c1190 LIST_FOREACH(lp, &vol->v_locks, l_next) { in g_raid_is_in_locked_range()
1249 LIST_FOREACH(lp, &vol->v_locks, l_next) { in g_raid_finish_with_locked_ranges()
1308 LIST_INSERT_HEAD(&vol->v_locks, lp, l_next); in g_raid_lock_range()
1343 LIST_FOREACH(lp, &vol->v_locks, l_next) { in g_raid_unlock_range()
1345 LIST_REMOVE(lp, l_next); in g_raid_unlock_range()