/freebsd/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | list.c | 42 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 …]
|
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_util.c | 46 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()
|
H A D | ctf_impl.h | 120 struct ctf_list *l_next; /* next pointer or head pointer */ member 326 #define ctf_list_next(elem) ((void *)(((ctf_list_t *)(elem))->l_next))
|
/freebsd/usr.bin/col/ |
H A D | col.c | 80 LINE *l_next; /* next line */ member 266 lnew->l_next = l; in main() 280 if (l->l_next == NULL) { in main() 281 l->l_next = alloc_line(); in main() 282 l->l_next->l_prev = l; in main() 284 l = l->l_next; in main() 340 for (; l->l_next; l = l->l_next) in main() 372 lines = l->l_next; in flush_lines() 378 if (l->l_next) in flush_lines() 560 l->l_next = l + 1; in alloc_line() [all …]
|
/freebsd/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 58 struct linelist *l_next; /* Chain ptr. */ member 141 lp = lp->l_next; in __endnetgrent() 187 lp = lp->l_next; in parse_netgrp() 346 lp->l_next = linehead; in read_for_group()
|
/freebsd/contrib/netbsd-tests/libexec/ld.elf_so/ |
H A D | t_dlinfo.c | 102 for (; map->l_next; map = map->l_next) in ATF_TC_BODY()
|
/freebsd/sys/cddl/dev/fbt/ |
H A D | fbt.c | 738 struct ctf_list *l_next; /* next pointer or head pointer */ member 742 #define ctf_list_next(elem) ((void *)(((ctf_list_t *)(elem))->l_next)) 786 q->l_next = NULL; in ctf_list_append() 789 p->l_next = q; in ctf_list_append() 791 lp->l_next = q; in ctf_list_append() 802 ctf_list_t *q = lp->l_next; /* q = head list element */ in ctf_list_prepend() 804 lp->l_next = p; in ctf_list_prepend() 806 p->l_next = q; in ctf_list_prepend()
|
/freebsd/sys/sys/ |
H A D | link_elf.h | 61 struct link_map *l_next, *l_prev; /* linked list of mapped libs */ member
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_dl.cpp | 46 for (auto *ptr = map; ptr; ptr = ptr->l_next) { in UnpoisonDllAddr1ExtraInfo()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/ |
H A D | NativeProcessELF.h | 33 T l_next; member
|
H A D | NativeProcessELF.cpp | 137 info.next = link_map.l_next; in ReadSVR4LibraryInfo()
|
/freebsd/lib/libc/gen/ |
H A D | getnetgrent.c | 125 struct linelist *l_next; /* Chain ptr. */ member 202 lp = lp->l_next; in netgr_endstate() 687 lp = lp->l_next; 901 lp->l_next = st->st_linehead;
|
/freebsd/sys/kern/ |
H A D | link_elf.c | 314 l->l_next = NULL; in link_elf_add_gdb() 323 prev->l_next != NULL; in link_elf_add_gdb() 324 prev = prev->l_next) in link_elf_add_gdb() 327 prev->l_next = l; in link_elf_add_gdb() 336 if ((r_debug.r_map = l->l_next) != NULL) in link_elf_delete_gdb() 337 l->l_next->l_prev = NULL; in link_elf_delete_gdb() 340 if ((l->l_prev->l_next = l->l_next) != NULL) in link_elf_delete_gdb() 341 l->l_next->l_prev = l->l_prev; in link_elf_delete_gdb()
|
/freebsd/usr.sbin/ctld/ |
H A D | ctld.c | 123 TAILQ_FOREACH_SAFE(lun, &conf->conf_luns, l_next, ltmp) in conf_delete() 1476 TAILQ_INSERT_TAIL(&conf->conf_luns, lun, l_next); in lun_new() 1495 TAILQ_REMOVE(&lun->l_conf->conf_luns, lun, l_next); in lun_delete() 1513 TAILQ_FOREACH(lun, &conf->conf_luns, l_next) { in lun_find() 1727 TAILQ_FOREACH(lun, &conf->conf_luns, l_next) { 1785 TAILQ_FOREACH(lun2, &lun->l_conf->conf_luns, l_next) { in conf_verify_lun() 1814 TAILQ_FOREACH(lun, &conf->conf_luns, l_next) { in conf_verify() 2004 TAILQ_FOREACH_SAFE(oldlun, &oldconf->conf_luns, l_next, tmplun) { in conf_apply() 2078 TAILQ_FOREACH_SAFE(newlun, &newconf->conf_luns, l_next, tmplun) { in conf_apply()
|
H A D | ctld.h | 169 TAILQ_ENTRY(lun) l_next;
|
/freebsd/libexec/rtld-elf/ |
H A D | rtld.c | 4434 prev->l_next != NULL && prev->l_next != &obj_rtld.linkmap; in linkmap_add() 4435 prev = prev->l_next) in linkmap_add() 4440 l->l_next = prev->l_next; in linkmap_add() 4441 if (l->l_next != NULL) in linkmap_add() 4442 l->l_next->l_prev = l; in linkmap_add() 4443 prev->l_next = l; in linkmap_add() 4453 if ((r_debug.r_map = l->l_next) != NULL) in linkmap_delete() 4454 l->l_next->l_prev = NULL; in linkmap_delete() 4458 if ((l->l_prev->l_next = l->l_next) != NULL) in linkmap_delete() 4459 l->l_next->l_prev = l->l_prev; in linkmap_delete()
|
/freebsd/sys/geom/raid/ |
H A D | g_raid.h | 100 LIST_ENTRY(g_raid_lock) l_next;
|
H A D | g_raid.c | 1172 LIST_FOREACH(lp, &vol->v_locks, l_next) { in g_raid_is_in_locked_range() 1231 LIST_FOREACH(lp, &vol->v_locks, l_next) { in g_raid_finish_with_locked_ranges() 1290 LIST_INSERT_HEAD(&vol->v_locks, lp, l_next); in g_raid_lock_range() 1325 LIST_FOREACH(lp, &vol->v_locks, l_next) { in g_raid_unlock_range() 1327 LIST_REMOVE(lp, l_next); in g_raid_unlock_range()
|