Home
last modified time | relevance | path

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

123

/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_list.c57 q->l_next = NULL; in fmd_list_append()
60 ASSERT(p->l_next == NULL); in fmd_list_append()
61 p->l_next = q; in fmd_list_append()
63 ASSERT(lp->l_next == NULL); in fmd_list_append()
64 lp->l_next = q; in fmd_list_append()
72 fmd_list_t *q = lp->l_next; /* q = head list element */ in fmd_list_prepend()
74 lp->l_next = p; in fmd_list_prepend()
76 p->l_next = q; in fmd_list_prepend()
99 q->l_next = p; in fmd_list_insert_before()
101 q->l_prev->l_next = q; in fmd_list_insert_before()
[all …]
H A Dfmd_list.h38 struct fmd_list *l_next; member
42 #define fmd_list_next(elem) ((void *)(((fmd_list_t *)(elem))->l_next))
H A Dfmd_mdb.c82 for (addr = (uintptr_t)F.d_thr_list.l_next; addr != NULL; in trwalk_init()
83 addr = (uintptr_t)thr.thr_list.l_next) { in trwalk_init()
673 wsp->walk_addr = (uintptr_t)F.d_thr_list.l_next; in thread_walk_init()
691 wsp->walk_addr = (uintptr_t)t.thr_list.l_next; in thread_walk_step()
732 wsp->walk_addr = (uintptr_t)F.d_mod_list.l_next; in mod_walk_init()
750 wsp->walk_addr = (uintptr_t)m.mod_list.l_next; in mod_walk_step()
798 wsp->walk_addr = (uintptr_t)mod.mod_cases.l_next; in case_walk_init()
830 wsp->walk_addr = (uintptr_t)ci.ci_list.l_next; in case_walk_step()
1380 wsp->walk_addr = (uintptr_t)tmq.tmq_list.l_next; in tmq_walk_init()
1398 wsp->walk_addr = (uintptr_t)tmr.tmr_list.l_next; in tmq_walk_step()
[all …]
/titanic_44/usr/src/lib/libipmi/common/
H A Dipmi_list.c50 q->l_next = NULL; in ipmi_list_append()
53 assert(p->l_next == NULL); in ipmi_list_append()
54 p->l_next = q; in ipmi_list_append()
56 assert(lp->l_next == NULL); in ipmi_list_append()
57 lp->l_next = q; in ipmi_list_append()
65 ipmi_list_t *q = lp->l_next; /* q = head list element */ in ipmi_list_prepend()
67 lp->l_next = p; in ipmi_list_prepend()
69 p->l_next = q; in ipmi_list_prepend()
92 q->l_next = p; in ipmi_list_insert_before()
94 q->l_prev->l_next = q; in ipmi_list_insert_before()
[all …]
H A Dipmi_impl.h39 struct ipmi_list *l_next; member
149 #define ipmi_list_next(elem) ((void *)(((ipmi_list_t *)(elem))->l_next))
/titanic_44/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_list.c51 q->l_next = NULL; in cmd_list_append()
54 p->l_next = q; in cmd_list_append()
56 lp->l_next = q; in cmd_list_append()
63 cmd_list_t *q = lp->l_next; /* q = head list element */ in cmd_list_prepend()
65 lp->l_next = p; in cmd_list_prepend()
67 p->l_next = q; in cmd_list_prepend()
87 q->l_next = p; in cmd_list_insert_before()
89 q->l_prev->l_next = q; in cmd_list_insert_before()
98 if (p == NULL || p->l_next == NULL) { in cmd_list_insert_after()
103 q->l_next = p->l_next; in cmd_list_insert_after()
[all …]
H A Dcmd_list.h38 struct cmd_list *l_next; member
42 #define cmd_list_next(elem) ((void *)(((cmd_list_t *)(elem))->l_next))
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_list.c61 q->l_next = NULL; in topo_list_append()
64 assert(p->l_next == NULL); in topo_list_append()
65 p->l_next = q; in topo_list_append()
67 assert(lp->l_next == NULL); in topo_list_append()
68 lp->l_next = q; in topo_list_append()
76 topo_list_t *q = lp->l_next; /* q = head list element */ in topo_list_prepend()
78 lp->l_next = p; in topo_list_prepend()
80 p->l_next = q; in topo_list_prepend()
103 q->l_next = p; in topo_list_insert_before()
105 q->l_prev->l_next = q; in topo_list_insert_before()
[all …]
/titanic_44/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_util.c93 q->l_next = NULL; in gmem_list_append()
96 p->l_next = q; in gmem_list_append()
98 lp->l_next = q; in gmem_list_append()
105 gmem_list_t *q = lp->l_next; /* q = head list element */ in gmem_list_prepend()
107 lp->l_next = p; in gmem_list_prepend()
109 p->l_next = q; in gmem_list_prepend()
129 q->l_next = p; in gmem_list_insert_before()
131 q->l_prev->l_next = q; in gmem_list_insert_before()
140 if (p == NULL || p->l_next == NULL) { in gmem_list_insert_after()
145 q->l_next = p->l_next; in gmem_list_insert_after()
[all …]
H A Dgmem_util.h40 struct gmem_list *l_next; member
44 #define gmem_list_next(elem) ((void *)(((gmem_list_t *)(elem))->l_next))
/titanic_44/usr/src/tools/ctf/common/
H A Dlist.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 …]
/titanic_44/usr/src/common/ctf/
H A Dctf_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()
/titanic_44/usr/src/uts/common/os/
H A Dflock.c827 lock = lock->l_next; in flk_process_request()
851 lock = lock->l_next; in flk_process_request()
883 lock = lock->l_next; in flk_process_request()
941 lock = lock->l_next; in flk_process_request()
948 lock = lock->l_next; in flk_process_request()
967 lock = lock->l_next; in flk_process_request()
974 lock = lock->l_next; in flk_process_request()
1039 lock1 = lock->l_next; in flk_execute_request()
1561 lock->l_start < new_lock->l_start); lock = lock->l_next) in flk_insert_active_lock()
1567 lock->l_prev->l_next = new_lock; in flk_insert_active_lock()
[all …]
/titanic_44/usr/src/cmd/filesync/
H A Dignore.c76 struct list *l_next; /* pointer to next element */ member
128 for (lp = expr_list; lp; lp = lp->l_next) { in ignore_check()
183 lp->l_next = expr_list; in ignore_expr()
270 pp = &(lp->l_next); in ign_hash()
279 lp->l_next = 0; in ign_hash()
350 np = lp->l_next; in ignore_reset()
359 np = lp->l_next; in ignore_reset()
/titanic_44/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c183 struct lb_mapentry *l_next; /* hash chaining */ member
196 (*(lh))->l_prev->l_next = (l); \
197 (l)->l_next = (*(lh)); \
201 (l)->l_next = (l); \
207 if ((l)->l_next == (l)) { \
213 *(lh) = (l)->l_next; \
214 (l)->l_prev->l_next = (l)->l_next; \
215 (l)->l_next->l_prev = (l)->l_prev; \
322 lfreelist = lfreelist->l_next; in lufs_alloc_from_logbuf()
660 lnext = l->l_next; in lufs_logscan_freecancel()
[all …]
/titanic_44/usr/src/cmd/psrinfo/
H A Dpsrinfo.c55 struct link *l_next; member
156 item->l_next = *ins; in ins_link()
176 ins = &l->l_next; in find_link()
199 if ((l->l_next == NULL) || in print_links()
200 (l->l_next->l_id > (l->l_id + 1))) { in print_links()
207 if (l->l_next) in print_links()
211 l = l->l_next; in print_links()
233 for (l1 = pchips; l1; l1 = l1->l_next) { in print_vp()
278 for (l2 = chip->p_cores; l2; l2 = l2->l_next) { in print_vp()
309 for (l = pchips; l != NULL; l = l->l_next) { in print_ps()
[all …]
/titanic_44/usr/src/cmd/sgs/link_audit/common/
H A Dperfcnt.c49 struct list *l_next; member
87 new_list->l_next = NULL; in list_insert()
92 prev = cur, cur = cur->l_next) in list_insert()
98 new_list->l_next = list_head; in list_insert()
102 prev->l_next = new_list; in list_insert()
103 new_list->l_next = cur; in list_insert()
261 for (cur = list_head; cur; cur = cur->l_next) { in cleanup()
H A Denv.c51 lp->l_next = *list; in build_env_list()
76 for (; list; list = list->l_next) { in check_list()
/titanic_44/usr/src/cmd/prstat/
H A Dprtable.c252 elm->l_next = plwp_tbl[hash]; /* add in front of chain */ in lwpid_add()
268 plwp_tbl[hash] = elm->l_next; in lwpid_del()
270 elm_prev->l_next = elm->l_next; in lwpid_del()
275 elm = elm->l_next; in lwpid_del()
288 elm = elm->l_next; in lwpid_getptr()
312 elm = elm->l_next; in lwpid_pidcheck()
/titanic_44/usr/src/uts/common/sys/
H A Dflock_impl.h64 struct lock_descriptor *l_next; /* next active/sleep lock */ member
235 for ((lock) = SLEEPING_HEAD((gp))->l_next; ((lock) != SLEEPING_HEAD((gp)) && \
236 (lock)->l_vnode != (vp)); (lock) = (lock)->l_next) \
364 (lock)->l_next->l_prev = (lock)->l_prev; \
365 (lock)->l_prev->l_next = (lock)->l_next; \
366 (lock)->l_next = (lock)->l_prev = (lock_descriptor_t *)NULL; \
/titanic_44/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c137 mdb_printf(" %-12s 0x%-34p %-30s\n", "l_next", th.th_trees.l_next, in topo_handle()
310 mdb_printf(" %-12s 0x%-34p\n", "l_next", tn.tn_children.l_next); in topo_node()
585 wsp->walk_addr = (uintptr_t)th.th_trees.l_next; in ttree_walk_init()
612 wsp->walk_addr = (uintptr_t)tree->tt_list.l_next; in ttree_walk_step()
722 wsp->walk_addr = (uintptr_t)node.tn_pgroups.l_next; in tpg_walk_init()
750 wsp->walk_addr = (uintptr_t)tpgp->tpg_list.l_next; in tpg_walk_step()
778 wsp->walk_addr = (uintptr_t)pg.tpg_pvals.l_next; in tpl_walk_init()
806 wsp->walk_addr = (uintptr_t)plp->tp_list.l_next; in tpl_walk_step()
837 state->curr_hash = (topo_nodehash_t *)node.tn_children.l_next; in tnh_walk_init()
879 (topo_nodehash_t *)(state->hash.th_list.l_next); in tnh_walk_step()
/titanic_44/usr/src/lib/abi/apptrace/common/
H A Dabienv.c74 lp->l_next = *list; in build_env_list()
176 lp->l_next = NULL; in appendlist()
178 (*listend)->l_next = lp; in appendlist()
214 for (; list; list = list->l_next) { in check_list()
/titanic_44/usr/src/tools/protocmp/
H A Dprotodir.c47 char *l_next; in resolve_relative() local
60 l_next = index(l_pos, '/'); in resolve_relative()
70 if (l_next) { in resolve_relative()
72 (l_next - l_pos)); in resolve_relative()
76 l_pos = l_next + 1; in resolve_relative()
77 } while (l_next); in resolve_relative()
/titanic_44/usr/src/lib/libtnfctl/
H A Dprb_lmap.c90 lmap.l_next = NULL; /* makes lint happy */ in prb_loadobj_iter()
93 lmapaddr = (uintptr_t) lmap.l_next) { in prb_loadobj_iter()
/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ng.c67 struct linelist *l_next; /*%< Chain ptr. */ member
244 lp = lp->l_next; in freelists()
287 lp = lp->l_next; in parse_netgrp()
433 lp->l_next = pvt->linehead; in read_for_group()

123