/titanic_44/usr/src/uts/i86pc/io/dr/ |
H A D | dr_util.c | 193 aend = al->ml_address + al->ml_size; in dr_memlist_intersect() 195 bend = bl->ml_address + bl->ml_size; in dr_memlist_intersect() 200 aend = al->ml_address + al->ml_size; in dr_memlist_intersect() 209 bend = bl->ml_address + bl->ml_size; in dr_memlist_intersect() 229 end = mlist->ml_address + mlist->ml_size; in dr_memlist_coalesce() 234 mlist->ml_next->ml_size; in dr_memlist_coalesce() 236 mlist->ml_size += (nend - end); in dr_memlist_coalesce() 260 ml->ml_address, ml->ml_size); in memlist_dump() 277 (*mlp)->ml_size = mlist->ml_size; in dr_memlist_dup() 298 mlist->ml_size = len; in dr_memlist_add_span() [all …]
|
H A D | dr_mem_acpi.c | 195 (pgcnt_t)btop(mc->ml_size)); in dr_attach_mem() 223 mp->sbm_cm.sbdev_id, mc->ml_address, mc->ml_size); in dr_attach_mem() 510 ml->ml_size); in dr_post_attach_mem()
|
/titanic_44/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_util.c | 193 aend = al->ml_address + al->ml_size; in dr_memlist_intersect() 195 bend = bl->ml_address + bl->ml_size; in dr_memlist_intersect() 200 aend = al->ml_address + al->ml_size; in dr_memlist_intersect() 209 bend = bl->ml_address + bl->ml_size; in dr_memlist_intersect() 229 end = mlist->ml_address + mlist->ml_size; in dr_memlist_coalesce() 234 mlist->ml_next->ml_size; in dr_memlist_coalesce() 236 mlist->ml_size += (nend - end); in dr_memlist_coalesce() 259 printf("memlist> 0x%lx, 0x%lx\n", ml->ml_address, ml->ml_size); in memlist_dump() 276 (*mlp)->ml_size = mlist->ml_size; in dr_memlist_dup() 297 mlist->ml_size = len; in dr_memlist_add_span() [all …]
|
H A D | dr_mem.c | 310 (pgcnt_t)(mc->ml_size >> PAGESHIFT)); in dr_attach_mem() 338 mp->sbm_cm.sbdev_id, mc->ml_address, mc->ml_size); in dr_attach_mem() 390 nbytes = ml->ml_size; in dr_mem_ecache_scrub() 391 if (ml->ml_size & PAGEOFFSET) in dr_mem_ecache_scrub() 394 "page boundary", f, ml->ml_size); in dr_mem_ecache_scrub() 453 c_ml = memlist_del_span(c_ml, d_ml->ml_address, d_ml->ml_size); in dr_move_memory() 660 ml->ml_address, ml->ml_size); in dr_del_span_query() 675 _b64top(ml->ml_address), _b64top(ml->ml_size), &mq); in dr_del_span_query() 981 ml->ml_size); in dr_post_attach_mem() 1080 npgs = _b64top(ml->ml_size); in dr_add_memory_spans() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | memlist_new.c | 126 end = start + new->ml_size; in memlist_insert() 140 if (cur->ml_address + cur->ml_size > start) in memlist_insert() 184 address < (mlp->ml_address + mlp->ml_size)) in memlist_find() 216 dst->ml_size = bytes; in memlist_add_span() 233 if (address > (next->ml_address + next->ml_size)) in memlist_add_span() 247 next->ml_size += bytes; in memlist_add_span() 255 if (address == (next->ml_address + next->ml_size)) { in memlist_add_span() 277 mlp->ml_size += next->ml_size; in memlist_add_span() 278 mlp->ml_size += bytes; in memlist_add_span() 289 next->ml_size += bytes; in memlist_add_span() [all …]
|
/titanic_44/usr/src/uts/intel/io/pci/ |
H A D | pci_memlist.c | 50 (int)(listp->ml_size >> 32), (int)listp->ml_size); in memlist_dump() 98 next->ml_address + next->ml_size >= addr + size) { in memlist_insert() 111 merge_left = (prev && addr == prev->ml_address + prev->ml_size); in memlist_insert() 114 prev->ml_size += size + next->ml_size; in memlist_insert() 121 prev->ml_size += size; in memlist_insert() 127 next->ml_size += size; in memlist_insert() 133 entry->ml_size = size; in memlist_insert() 171 chunk_end = chunk->ml_address + chunk->ml_size - 1; in memlist_remove() 194 new->ml_size = chunk_end - new->ml_address + 1; in memlist_remove() 195 chunk->ml_size = rem_begin - chunk_begin; in memlist_remove() [all …]
|
H A D | pci_resource.c | 158 new->ml_size = orig->ml_size; in acpi_trim_bus_ranges() 191 if ((current->ml_address + current->ml_size) > next->ml_address) in acpi_trim_bus_ranges() 192 current->ml_prev->ml_size = in acpi_trim_bus_ranges()
|
H A D | pci_boot.c | 658 list->ml_address, list->ml_size); in remove_subtractive_res() 667 list->ml_address, list->ml_size); in remove_subtractive_res() 670 list->ml_address, list->ml_size); in remove_subtractive_res() 680 list->ml_address, list->ml_size); in remove_subtractive_res() 683 list->ml_address, list->ml_size); in remove_subtractive_res() 857 if ((elem->ml_address == 0x3b0 && elem->ml_size == 0xc) || in is_vga() 858 (elem->ml_address == 0x3c0 && elem->ml_size == 0x20)) in is_vga() 861 if (elem->ml_address == 0xa0000 && elem->ml_size == 0x20000) in is_vga() 1120 list->ml_size - 1; in fix_ppb_res() 1124 if (list->ml_address + list->ml_size > in fix_ppb_res() [all …]
|
/titanic_44/usr/src/uts/sun4/os/ |
H A D | memlist.c | 100 npages += mp->ml_size >> PAGESHIFT; in num_phys_pages() 170 if (physavail->ml_size > max_size) in get_max_phys_size() 171 max_size = physavail->ml_size; in get_max_phys_size() 250 proto->ml_address >= diff->ml_address + diff->ml_size) in diff_memlists() 253 (*func)(proto->ml_address, proto->ml_size); in diff_memlists() 258 proto->ml_size == diff->ml_size) { in diff_memlists() 265 p_end = p_base + proto->ml_size; in diff_memlists() 267 d_end = d_base + diff->ml_size; in diff_memlists() 282 (*func)(p_base, proto->ml_size); in diff_memlists() 338 d_end = d_base + diff->ml_size; in diff_memlists() [all …]
|
H A D | lgrpplat.c | 284 npgs += btop(mlist->ml_size); in lgrp_plat_mem_size_default() 290 npgs += btop(mlist->ml_size); in lgrp_plat_mem_size_default()
|
H A D | memnode.c | 262 btop(pmem->ml_size), mnode, &pages); in mem_node_memlist_pages() 277 cur_end = cur_base + btop(pmem->ml_size) - 1; in mem_node_memlist_pages()
|
/titanic_44/usr/src/uts/sun4u/os/ |
H A D | memscrub.c | 327 (pgcnt_t)(src->ml_size >> PAGESHIFT))) { in memscrub_init() 373 (pgcnt_t)(memscrub_memlist->ml_size >> PAGESHIFT)); in memscrub_cleanup() 391 list->ml_address, list->ml_size); in memscrub_printmemlist() 687 if (address < (mlp->ml_address + mlp->ml_size)) in memscrub_verify_span() 703 bytes_remaining = (mlp->ml_address + mlp->ml_size) - address; in memscrub_verify_span() 712 ((mlp->ml_address + mlp->ml_size) == (address + bytes))) in memscrub_verify_span() 784 dst->ml_size = bytes; in memscrub_add_span_gen() 803 if (address > (next->ml_address + next->ml_size)) in memscrub_add_span_gen() 817 next->ml_size += bytes; in memscrub_add_span_gen() 825 if (address == (next->ml_address + next->ml_size)) { in memscrub_add_span_gen() [all …]
|
/titanic_44/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 497 ndata->ml_size = end - base; in ndata_alloc_init() 508 size_t chunksize = ndata->ml_size; in ndata_maxsize() 511 if (chunksize < ndata->ml_size) in ndata_maxsize() 512 chunksize = ndata->ml_size; in ndata_maxsize() 543 wasteage += ndata->ml_size; in ndata_extra_base() 549 if (base >= ndata->ml_address + ndata->ml_size) in ndata_extra_base() 552 if ((caddr_t)(ndata->ml_address + ndata->ml_size) != endaddr) { in ndata_extra_base() 563 ndata->ml_size = 0; in ndata_extra_base() 568 ndata->ml_size = base - ndata->ml_address; in ndata_extra_base() 569 wasteage += ndata->ml_size; in ndata_extra_base() [all …]
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | memscrub.c | 186 if (memscrub_add_span(src->ml_address, src->ml_size)) { in memscrub_init() 282 mlp_last_addr = mlp->ml_address + mlp->ml_size; in memscrubber() 367 mlp_last_addr = mlp->ml_address + mlp->ml_size; in memscrubber() 481 uint64_t ne = next->ml_address + next->ml_size - 1; in memscrub_add_span() 499 next->ml_size += bytes; in memscrub_add_span() 507 next->ml_size += bytes; in memscrub_add_span() 533 dst->ml_size = bytes; in memscrub_add_span()
|
H A D | memnode.c | 208 (list->ml_address + list->ml_size - 1) >> PAGESHIFT; in startup_build_mem_nodes() 274 cur_end = cur_base + btop(pmem->ml_size) - 1; in mem_node_memlist_pages()
|
/titanic_44/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 332 (pgcnt_t)(mc->ml_size >> PAGESHIFT)); in dr_attach_mem() 360 mp->sbm_cm.sbdev_id, mc->ml_address, mc->ml_size); in dr_attach_mem() 462 c_ml = memlist_del_span(c_ml, d_ml->ml_address, d_ml->ml_size); in dr_move_memory() 664 _b64top(ml->ml_address), _b64top(ml->ml_size), &mq); in dr_del_mlist_query() 988 ml->ml_size); in dr_post_attach_mem() 1082 npgs = _b64top(ml->ml_size); in dr_add_memory_spans() 1089 ml->ml_size); in dr_add_memory_spans() 1111 (add == (ml->ml_address + ml->ml_size))) in memlist_touch() 1148 ml->ml_address, ml->ml_size); in dr_process_excess_mlist() 1164 ml0.ml_size = ml->ml_size; in dr_process_excess_mlist() [all …]
|
H A D | drmach.c | 441 nbytes += p->ml_size; in drmach_setup_mc_info() 2580 nbytes = ml->ml_size; in drmach_pt_readmem() 2973 mlist->ml_size = len; in drmach_memlist_add_span() 2987 nl->ml_size = len; in drmach_memlist_add_span() 2995 ml->ml_size = MAX((base + len), in drmach_memlist_add_span() 2996 (ml->ml_address + ml->ml_size)) - base; in drmach_memlist_add_span() 3001 } else if (base <= (ml->ml_address + ml->ml_size)) { in drmach_memlist_add_span() 3002 ml->ml_size = in drmach_memlist_add_span() 3003 MAX((base + len), (ml->ml_address + ml->ml_size)) - in drmach_memlist_add_span() 3015 nl->ml_size = len; in drmach_memlist_add_span() [all …]
|
/titanic_44/usr/src/stand/lib/sa/ |
H A D | memlist.c | 54 (uint_t)(p->ml_size >> 32), (uint_t)p->ml_size); in print_memlist()
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | dr_util.c | 159 (*mlp)->ml_size = mlist->ml_size; in dr_memlist_dup()
|
/titanic_44/usr/src/uts/sun4u/io/ |
H A D | sbd_mem.c | 338 ml->ml_size); in sbd_post_attach_mem() 500 npgs = _b64top(ml->ml_size); in sbd_add_memory_spans() 509 (void) sbdp_mem_add_span(hdp, ml->ml_address, ml->ml_size); in sbd_add_memory_spans() 1459 mp->sbm_npages += btop(ml->ml_size); in sbd_init_mem_unit_data() 1505 npgs = _b64top(mc->ml_size); in sbd_reserve_mem_spans() 1833 ASSERT(d_ml->ml_address + d_ml->ml_size == in sbd_select_mem_target() 2102 mp->ml_size = mlist->ml_size; in memlist_dup() 2127 ml->ml_address, ml->ml_size); in memlist_dump() 2139 aend = al->ml_address + al->ml_size; in memlist_intersect() 2141 bend = bl->ml_address + bl->ml_size; in memlist_intersect() [all …]
|
/titanic_44/usr/src/tools/ctf/cvt/ |
H A D | st_parse.c | 863 mlp->ml_size = size; in offsize() 956 if (mlp->ml_size != itdp->t_intr->intr_nbits) { in soudef() 958 "from %s", mlp->ml_size, tdesc_name(itdp)); in soudef() 959 mlp->ml_type = bitintrinsic(itdp, mlp->ml_size); in soudef() 1176 if (ml->ml_size != tdp->t_intr->intr_nbits) { in resolve_typed_bitfields_cb() 1178 ml->ml_size, tdesc_name(tdp)); in resolve_typed_bitfields_cb() 1179 ml->ml_type = bitintrinsic(tdp, ml->ml_size); in resolve_typed_bitfields_cb() 1182 ml->ml_size, tdesc_name(tdp)); in resolve_typed_bitfields_cb()
|
H A D | dwarf.c | 1026 ml->ml_size = bitsz; in die_sou_create() 1028 ml->ml_size = tdesc_bitsize(ml->ml_type); in die_sou_create() 1035 ml->ml_size; in die_sou_create() 1040 off, memoff, ml->ml_name, ml->ml_offset, ml->ml_size); in die_sou_create() 1117 if (ml->ml_size == 0) { in die_sou_resolve() 1120 if ((ml->ml_size = tdesc_bitsize(mt)) != 0) in die_sou_resolve() 1141 if (ml->ml_size != 0 && mt->t_type == INTRINSIC && in die_sou_resolve() 1142 mt->t_intr->intr_nbits != ml->ml_size) { in die_sou_resolve() 1151 tdp->t_id, ml->ml_size); in die_sou_resolve() 1153 ml->ml_type = tdesc_intr_clone(dw, mt, ml->ml_size); in die_sou_resolve() [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | memlist.h | 45 uint64_t ml_size; /* size of same */ member
|
/titanic_44/usr/src/uts/sun4v/vm/ |
H A D | mach_kpm.c | 60 end = start + pmem->ml_size; in mach_kpm_init() 71 end = pmem->ml_address + pmem->ml_size; in mach_kpm_init()
|
/titanic_44/usr/src/uts/intel/ia32/os/ |
H A D | sundep.c | 133 highp = (list->ml_address + list->ml_size - 1) >> PAGESHIFT; in installed_top_size_ex() 136 sumpages += btop(list->ml_size); in installed_top_size_ex() 186 eaddr = P2ALIGN(src->ml_address + src->ml_size, PAGESIZE); in copy_memlist_filter() 194 dst->ml_size = size; in copy_memlist_filter()
|