/titanic_41/usr/src/uts/common/os/ |
H A D | memlist_new.c | 49 memlist_freelist = mlp->ml_next; in memlist_get_one() 63 mlp->ml_next = memlist_freelist; in memlist_free_one() 80 for (mlendp = mlp; mlendp->ml_next != NULL; mlendp = mlendp->ml_next) in memlist_free_list() 83 mlendp->ml_next = memlist_freelist; in memlist_free_list() 102 mlp->ml_next = mlp + 1; in memlist_free_block() 103 mlendp->ml_next = NULL; in memlist_free_block() 106 mlendp->ml_next = memlist_freelist; in memlist_free_block() 128 for (cur = *curmemlistp; cur; cur = cur->ml_next) { in memlist_insert() 131 new->ml_next = cur; in memlist_insert() 137 new->ml_prev->ml_next = new; in memlist_insert() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_list.c | 50 q->ml_next = NULL; in mdb_list_append() 53 ASSERT(p->ml_next == NULL); in mdb_list_append() 54 p->ml_next = q; in mdb_list_append() 56 ASSERT(mlp->ml_next == NULL); in mdb_list_append() 57 mlp->ml_next = q; in mdb_list_append() 65 mdb_list_t *q = mlp->ml_next; /* q = head list element */ in mdb_list_prepend() 67 mlp->ml_next = p; in mdb_list_prepend() 69 p->ml_next = q; in mdb_list_prepend() 86 if (p == NULL || p->ml_next == NULL) { in mdb_list_insert() 91 q->ml_next = p->ml_next; in mdb_list_insert() [all …]
|
H A D | mdb_list.h | 49 struct mdb_list *ml_next; /* Link to next list element */ member 53 #define mdb_list_next(elem) ((void *)(((mdb_list_t *)(elem))->ml_next))
|
/titanic_41/usr/src/uts/i86pc/io/dr/ |
H A D | dr_util.c | 180 mlist = ml->ml_next; in dr_memlist_delete() 199 if ((al = al->ml_next) != NULL) in dr_memlist_intersect() 208 if ((bl = bl->ml_next) != NULL) in dr_memlist_intersect() 225 if ((mlist == NULL) || (mlist->ml_next == NULL)) in dr_memlist_coalesce() 228 while (mlist->ml_next) { in dr_memlist_coalesce() 230 if (mlist->ml_next->ml_address <= end) { in dr_memlist_coalesce() 233 nend = mlist->ml_next->ml_address + in dr_memlist_coalesce() 234 mlist->ml_next->ml_size; in dr_memlist_coalesce() 237 nl = mlist->ml_next; in dr_memlist_coalesce() 238 mlist->ml_next = mlist->ml_next->ml_next; in dr_memlist_coalesce() [all …]
|
/titanic_41/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_util.c | 180 mlist = ml->ml_next; in dr_memlist_delete() 199 if ((al = al->ml_next) != NULL) in dr_memlist_intersect() 208 if ((bl = bl->ml_next) != NULL) in dr_memlist_intersect() 225 if ((mlist == NULL) || (mlist->ml_next == NULL)) in dr_memlist_coalesce() 228 while (mlist->ml_next) { in dr_memlist_coalesce() 230 if (mlist->ml_next->ml_address <= end) { in dr_memlist_coalesce() 233 nend = mlist->ml_next->ml_address + in dr_memlist_coalesce() 234 mlist->ml_next->ml_size; in dr_memlist_coalesce() 237 nl = mlist->ml_next; in dr_memlist_coalesce() 238 mlist->ml_next = mlist->ml_next->ml_next; in dr_memlist_coalesce() [all …]
|
H A D | dr_mem.c | 304 for (mc = ml; mc; mc = mc->ml_next) { in dr_attach_mem() 379 for (ml = mlist; ml; ml = ml->ml_next) { in dr_mem_ecache_scrub() 454 d_ml = d_ml->ml_next; in dr_move_memory() 657 for (ml = mlist; ml; ml = ml->ml_next) { in dr_del_span_query() 671 for (ml = mlist; ml; ml = ml->ml_next) { in dr_del_span_query() 975 for (ml = mlist; ml != NULL; ml = ml->ml_next) { in dr_post_attach_mem() 1073 for (; ml; ml = ml->ml_next) { in dr_add_memory_spans() 1215 for (ml = s_mp->sbm_del_mlist; ml; ml = ml->ml_next) { in dr_post_detach_mem_unit() 1228 for (ml = t_mp->sbm_mlist; ml; ml = ml->ml_next) { in dr_post_detach_mem_unit() 1243 for (ml = s_mp->sbm_mlist; ml; ml = ml->ml_next) { in dr_post_detach_mem_unit() [all …]
|
/titanic_41/usr/src/uts/intel/io/pci/ |
H A D | pci_memlist.c | 51 listp = listp->ml_next; in memlist_dump() 76 next = buf->ml_next; in memlist_free_all() 108 next = prev->ml_next; in memlist_insert() 115 prev->ml_next = next->ml_next; in memlist_insert() 135 entry->ml_next = *listp; in memlist_insert() 138 entry->ml_next = next; in memlist_insert() 139 prev->ml_next = entry; in memlist_insert() 181 chunk = *listp = chunk->ml_next; in memlist_remove() 183 chunk = prev->ml_next = chunk->ml_next; in memlist_remove() 196 new->ml_next = chunk->ml_next; in memlist_remove() [all …]
|
H A D | pci_resource.c | 163 prev = current, current = current->ml_next) in acpi_trim_bus_ranges() 169 new->ml_next = ranges; in acpi_trim_bus_ranges() 173 new->ml_next = current; in acpi_trim_bus_ranges() 174 prev->ml_next = new; in acpi_trim_bus_ranges() 181 struct memlist *next = current->ml_next; in acpi_trim_bus_ranges() 499 *res = tmp->ml_next; in mps_find_bus_res()
|
/titanic_41/usr/src/cmd/fm/fminject/common/ |
H A D | inj_list.c | 43 q->ml_next = NULL; in inj_list_append() 46 assert(p->ml_next == NULL); in inj_list_append() 47 p->ml_next = q; in inj_list_append() 49 assert(mlp->ml_next == NULL); in inj_list_append() 50 mlp->ml_next = q; in inj_list_append() 58 inj_list_t *q = mlp->ml_next; /* q = head list element */ in inj_list_prepend() 60 mlp->ml_next = p; in inj_list_prepend() 62 p->ml_next = q; in inj_list_prepend()
|
H A D | inj_list.h | 47 struct inj_list *ml_next; /* Link to next list element */ member 51 #define inj_list_next(elem) ((void *)(((inj_list_t *)(elem))->ml_next))
|
/titanic_41/usr/src/stand/lib/sa/ |
H A D | memlist.c | 55 p = p->ml_next; in print_memlist() 125 ptr[i].ml_next = &ptr[i+1]; in get_memlist_struct() 126 ptr[i-1].ml_next = NULL; in get_memlist_struct() 129 free_memlist_ptr = ptr->ml_next; in get_memlist_struct() 144 for (tmp = free_memlist_ptr; tmp->ml_next; tmp = tmp->ml_next) in add_to_freelist() 146 tmp->ml_next = ptr; in add_to_freelist()
|
/titanic_41/usr/src/uts/sun4u/os/ |
H A D | memscrub.c | 324 for (src = phys_install; src; src = src->ml_next) { in memscrub_init() 389 for (list = listp; list; list = list->ml_next) { in memscrub_printmemlist() 676 for (mlp = memscrub_memlist; mlp != NULL; mlp = mlp->ml_next) { in memscrub_verify_span() 711 if ((mlp->ml_next == NULL) && in memscrub_verify_span() 791 dst->ml_next = NULL; in memscrub_add_span_gen() 802 prev = next, next = next->ml_next) { in memscrub_add_span_gen() 828 if (next->ml_next) { in memscrub_add_span_gen() 833 next->ml_next->ml_address) { in memscrub_add_span_gen() 841 next->ml_next->ml_address) { in memscrub_add_span_gen() 842 struct memlist *mlp = next->ml_next; in memscrub_add_span_gen() [all …]
|
/titanic_41/usr/src/uts/sun4/os/ |
H A D | memlist.c | 99 for (mp = phys_install; mp != NULL; mp = mp->ml_next) in num_phys_pages() 169 for (; physavail; physavail = physavail->ml_next) { in get_max_phys_size() 251 diff = diff->ml_next; in diff_memlists() 254 proto = proto->ml_next; in diff_memlists() 259 proto = proto->ml_next; in diff_memlists() 260 diff = diff->ml_next; in diff_memlists() 283 proto = proto->ml_next; in diff_memlists() 314 proto = proto->ml_next; in diff_memlists() 335 for (p_base = d_end, diff = diff->ml_next; diff != NULL; in diff_memlists() 336 p_base = d_end, diff = diff->ml_next) { in diff_memlists() [all …]
|
/titanic_41/usr/src/lib/librpcsvc/common/ |
H A D | mountlist_xdr.c | 65 tmp = mb->ml_next; 95 mb->ml_next = NULL; 108 mb_prev->ml_next = mb; 134 mb = mb->ml_next; 163 if (!xdr_mountlist(xdrs, &objp->ml_next))
|
/titanic_41/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 498 ndata->ml_next = NULL; in ndata_alloc_init() 510 while ((ndata = ndata->ml_next) != NULL) { in ndata_maxsize() 542 while (ndata->ml_next != NULL) { in ndata_extra_base() 544 ndata = ndata->ml_next; in ndata_extra_base() 561 ndata->ml_prev->ml_next = NULL; in ndata_extra_base() 608 for (frlist = ndata; frlist != NULL; frlist = frlist->ml_next) { in ndata_select_chunk() 623 if (frlist->ml_next == NULL) in ndata_select_chunk() 695 if ((fnd_above->ml_next = found->ml_next) != NULL) in ndata_alloc() 696 found->ml_next->ml_prev = fnd_above; in ndata_alloc() 698 found->ml_next = fnd_above; in ndata_alloc() [all …]
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | fixup_tdescs.c | 69 for (ml = str->t_members; ml; ml = ml->ml_next) { in fix_ptrptr_to_struct() 123 for (ml = str->t_members; ml; ml = ml->ml_next) { in fix_ptr_to_struct() 227 lml = ml, ml = ml->ml_next) { in fix_small_cpu_struct() 268 cpum->ml_next = NULL; in fix_small_cpu_struct() 270 lml->ml_next = cpum; in fix_small_cpu_struct()
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | memscrub.c | 185 for (src = phys_install; src; src = src->ml_next) { in memscrub_init() 361 mlp = mlp->ml_next; in memscrubber() 521 next = next->ml_next; in memscrub_add_span() 535 dst->ml_next = next; in memscrub_add_span() 538 prev->ml_next = dst; in memscrub_add_span()
|
/titanic_41/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 326 for (mc = ml; mc; mc = mc->ml_next) { in dr_attach_mem() 463 d_ml = d_ml->ml_next; in dr_move_memory() 660 for (ml = mlist; ml; ml = ml->ml_next) { in dr_del_mlist_query() 982 for (ml = mlist; ml != NULL; ml = ml->ml_next) { in dr_post_attach_mem() 1075 for (; ml; ml = ml->ml_next) { in dr_add_memory_spans() 1113 ml = ml->ml_next; in memlist_touch() 1141 ml = ml->ml_next) { in dr_process_excess_mlist() 1160 for (ml = t_excess_mlist; ml; ml = ml->ml_next) { in dr_process_excess_mlist() 1165 ml0.ml_next = ml0.ml_prev = NULL; in dr_process_excess_mlist() 1352 for (ml = s_mp->sbm_del_mlist; ml; ml = ml->ml_next) { in dr_post_detach_mem_unit() [all …]
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | dr_util.c | 155 for (; mlist; mlist = mlist->ml_next) { in dr_memlist_dup() 162 mlp = &((*mlp)->ml_next); in dr_memlist_dup() 178 mlist = ml->ml_next; in dr_memlist_delete()
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | sbd_mem.c | 336 for (ml = mlist; ml != NULL; ml = ml->ml_next) { in sbd_post_attach_mem() 493 for (; ml; ml = ml->ml_next) { in sbd_add_memory_spans() 636 for (ml = t_mp->sbm_mlist; ml; ml = ml->ml_next) { in sbd_post_detach_mem_unit() 651 for (ml = s_mp->sbm_mlist; ml; ml = ml->ml_next) { in sbd_post_detach_mem_unit() 666 for (ml = s_mp->sbm_del_mlist; ml; ml = ml->ml_next) { in sbd_post_detach_mem_unit() 1458 for (ml = mlist; ml; ml = ml->ml_next) in sbd_init_mem_unit_data() 1503 for (mc = ml; mc != NULL; mc = mc->ml_next) { in sbd_reserve_mem_spans() 1829 while (d_ml->ml_next != NULL) in sbd_select_mem_target() 1830 d_ml = d_ml->ml_next; in sbd_select_mem_target() 2091 for (; mlist; mlist = mlist->ml_next) { in memlist_dup() [all …]
|
/titanic_41/usr/src/uts/common/crypto/core/ |
H A D | kcf_mech_tabs.c | 521 mil->ml_next = prov_mech->pm_mi_list; in kcf_add_mech_provider() 546 mil2->ml_next = prov_mech2->pm_mi_list; in kcf_add_mech_provider() 699 next = mil->ml_next; in kcf_remove_mech_provider() 718 prev_next = &mil2->ml_next; in kcf_remove_mech_provider() 719 mil2 = mil2->ml_next; in kcf_remove_mech_provider() 722 *prev_next = mil2->ml_next; in kcf_remove_mech_provider()
|
/titanic_41/usr/src/psm/stand/boot/sparc/common/ |
H A D | bootprop.c | 137 ml = ml->ml_next) in bgetproplen() 211 ml = ml->ml_next) { in bgetprop()
|
H A D | sun4u_memlist.c | 203 last->ml_next = ptr; in reg_to_list() 214 last->ml_next = NULL; in reg_to_list()
|
/titanic_41/usr/src/cmd/fs.d/nfs/dfmounts/ |
H A D | dfmounts.c | 176 for (; ml != NULL && tb < &table[NTABLEENTRIES]; ml = ml->ml_next) 227 ml = ml->ml_next;
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | memlist.h | 46 struct memlist *ml_next; /* link to next list element */ member
|