/illumos-gate/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 325 opl_memlist_per_board(struct memlist *ml) in opl_memlist_per_board() argument 334 for (; ml; ml = ml->ml_next) { in opl_memlist_per_board() 335 low = (uint64_t)ml->ml_address; in opl_memlist_per_board() 336 high = low+(uint64_t)(ml->ml_size); in opl_memlist_per_board() 361 struct memlist *ml, *tml; in set_platform_cage_params() local 369 ml = opl_memlist_per_board(phys_avail); in set_platform_cage_params() 378 kcage_range_init(ml, KCAGE_DOWN, preferred_cage_size); in set_platform_cage_params() 382 tml = ml->ml_next; in set_platform_cage_params() 383 kmem_free(ml, sizeof (struct memlist)); in set_platform_cage_params() 384 ml = tml; in set_platform_cage_params() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_dr.c | 2641 acpidev_dr_mem_search_srat(struct memlist *ml, uint32_t *pxmidp) in acpidev_dr_mem_search_srat() argument 2649 ASSERT(ml != NULL); in acpidev_dr_mem_search_srat() 2662 ml->ml_address >= mp->BaseAddress && in acpidev_dr_mem_search_srat() 2663 ml->ml_address <= mp->BaseAddress + mp->Length) { in acpidev_dr_mem_search_srat() 2679 while (ml) { in acpidev_dr_mem_search_srat() 2680 if (ml->ml_address < start || in acpidev_dr_mem_search_srat() 2681 ml->ml_address + ml->ml_size > end) { in acpidev_dr_mem_search_srat() 2687 ml = ml->ml_next; in acpidev_dr_mem_search_srat() 2701 ASSERT(ml != NULL); in acpidev_dr_get_mem_numa_info() 2704 if (ml == NULL || hdlpp == NULL || pxmidp == NULL) { in acpidev_dr_get_mem_numa_info() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 1141 struct memlist *ml = NULL, *ml2 = NULL; in drmach_setup_mc_info() local 1186 ml = memlist_add_span(ml, addr, size); in drmach_setup_mc_info() 1242 if (ml) in drmach_setup_mc_info() 1243 memlist_delete(ml); in drmach_setup_mc_info() 1250 mp->memlist = ml; in drmach_setup_mc_info() 1329 struct memlist *ml = NULL; in drmach_mem_status() local 1341 for (ml = phys_install; ml; ml = ml->ml_next) in drmach_mem_status() 1342 if (ml->ml_address >= pa && ml->ml_address < dp->slice_top) in drmach_mem_status() 1348 stat->configured = (ml != NULL); in drmach_mem_status() 2726 drmach_mem_get_memlist(drmachid_t id, struct memlist **ml) in drmach_mem_get_memlist() argument [all …]
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 415 ml = memlist_add_span(ml, in drmach_setup_mc_info() 430 ml = memlist_del_span(ml, 0ull, mp->slice_base); in drmach_setup_mc_info() 441 if (ml) { in drmach_setup_mc_info() 2481 for (ml = phys_install; ml; ml = ml->ml_next) in drmach_mem_status() 2579 for (ml = phys_install; ml; ml = ml->ml_next) { in drmach_pt_readmem() 2982 for (tl = ml = mlist; ml; tl = ml, ml = ml->ml_next) { in drmach_memlist_add_span() 2999 (ml->ml_address + ml->ml_size)) - base; in drmach_memlist_add_span() 3008 ml->ml_address = MIN(ml->ml_address, base); in drmach_memlist_add_span() 3190 for (ml = prog->data->cpu_ml[cpuid]; ml; ml = ml->ml_next) { in drmach_copy_rename_prog__relocatable() 3991 for (ml = s_mem->memlist; ml; ml = ml->ml_next) { in drmach_swap_pa() [all …]
|
/illumos-gate/usr/src/uts/i86xpv/ |
H A D | Makefile.rules | 82 $(OBJS_DIR)/%.o: $(UTSBASE)/i86xpv/ml/%.S 167 $(DBOOT_OBJS_DIR)/%.o: $(UTSBASE)/intel/ml/%.S 173 $(DBOOT_OBJS_DIR)/%.o: $(UTSBASE)/i86xpv/ml/%.S
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | mapfile-mod | 25 # These are all the symbols referenced in ml/modstubs.S
|
H A D | mapfile-ops | 25 # These are all the symbols referenced in ml/modstubs.S
|
/illumos-gate/usr/src/uts/i86pc/ |
H A D | Makefile.rules | 166 $(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/ml/%.S 274 $(OBJS_DIR)/bios_call.o: $(UTSBASE)/i86pc/ml/bios_call_src.S 276 $(UTSBASE)/i86pc/ml/bios_call_src.S 293 $(OBJS_DIR)/fb_swtch.o: $(UTSBASE)/i86pc/ml/fb_swtch_src.S 295 $(UTSBASE)/i86pc/ml/fb_swtch_src.S
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | smfi.c | 592 size_t ml; local 597 ml = strlen(message); 598 if (ml > MAXREPLYLEN) 600 len += ml + 1;
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_mount.c | 75 struct mapline ml; in do_mount1() local 99 err = getmapent(key, mapname, &ml, stack, &stkptr, &iswildcard, in do_mount1() 102 mapents = parse_entry(key, mapname, mapopts, &ml, in do_mount1()
|
H A D | autod_lookup.c | 51 struct mapline ml; in do_lookup1() local 108 err = getmapent(key, mapname, &ml, stack, &stkptr, &iswildcard, in do_lookup1() 111 mapents = parse_entry(key, mapname, mapopts, &ml, in do_lookup1()
|
/illumos-gate/usr/src/ucbcmd/shutdown/ |
H A D | shutdown.c | 663 struct mountbody *ml; in gethostlist() local 699 ml = NULL; in gethostlist() 701 xdr_void, 0, xdr_mountlist, (char *)&ml, TIMEOUT) != RPC_SUCCESS) { in gethostlist() 705 for (; ml != NULL; ml = ml->ml_next) { in gethostlist() 707 if (strcmp(ml->ml_hostname, hl->host) == 0) in gethostlist() 710 hl->host = ml->ml_hostname; in gethostlist()
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | zlib.c | 5662 uInt ml; /* mask for literal/length tree */ local 5672 ml = inflate_mask[bl]; 5680 if ((e = (t = tl + ((uInt)b & ml))->exop) == 0) {
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_txdma.c | 277 tdc_mbl_t ml; in hpi_txdma_mbox_config() local 286 mh.value = ml.value = 0; in hpi_txdma_mbox_config() 291 TXDMA_REG_READ64(handle, TDC_MBL, channel, &ml.value); in hpi_txdma_mbox_config() 292 *mbox_addr = ml.value; in hpi_txdma_mbox_config() 298 ml.bits.mbaddr = ((*mbox_addr & TDC_MBL_MASK) >> TDC_MBL_SHIFT); in hpi_txdma_mbox_config() 299 TXDMA_REG_WRITE64(handle, TDC_MBL, channel, ml.value); in hpi_txdma_mbox_config()
|
/illumos-gate/usr/src/uts/intel/io/ipmi/ |
H A D | ipmi_main.c | 624 static struct modlinkage ml = { variable 631 return (mod_install(&ml)); in _init() 637 return (mod_remove(&ml)); in _fini() 643 return (mod_info(&ml, mip)); in _info()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vldc.c | 154 static struct modlinkage ml = { variable 223 error = mod_install(&ml); in _init() 233 return (mod_info(&ml, modinfop)); in _info() 243 if ((error = mod_remove(&ml)) == 0) { in _fini()
|
H A D | vcc.c | 150 static struct modlinkage ml = { variable 245 error = mod_install(&ml); in _init() 256 return (mod_info(&ml, modinfop)); in _info() 266 if ((error = mod_remove(&ml)) == 0) { in _fini()
|
H A D | dr_util.c | 175 register struct memlist *ml; in dr_memlist_delete() local 177 for (ml = mlist; ml; ml = mlist) { in dr_memlist_delete() 178 mlist = ml->ml_next; in dr_memlist_delete() 179 kmem_free((void *)ml, sizeof (struct memlist)); in dr_memlist_delete()
|
H A D | dr_mem.c | 757 struct memlist *ml; in dr_mem_list_query() local 780 for (ml = phys_copy; ml; ml = ml->ml_next) in dr_mem_list_query() 799 for (idx = 0, ml = phys_copy; ml; ml = ml->ml_next, idx++) { in dr_mem_list_query() 800 mb.addr = ml->ml_address; in dr_mem_list_query() 801 mb.size = ml->ml_size; in dr_mem_list_query() 1147 struct memlist *ml; in mem_del() local 1257 for (ml = d_ml; ml; ml = ml->ml_next) in mem_del() 1258 if (err = kcage_range_add(btop(ml->ml_address), in mem_del() 1259 btop(ml->ml_size), KCAGE_DOWN)) in mem_del()
|
H A D | ldc.c | 150 static struct modlinkage ml = { variable 395 status = mod_install(&ml); in _init() 442 return (mod_info(&ml, modinfop)); in _info() 454 status = mod_remove(&ml); in _fini()
|
/illumos-gate/usr/src/uts/sun4v/io/iospc/ |
H A D | iospc.c | 81 static struct modlinkage ml = { variable 101 if ((rval = mod_install(&ml)) != DDI_SUCCESS) { in _init() 121 rval = mod_remove(&ml); in _fini() 145 return (mod_info(&ml, modinfop)); in _info()
|
/illumos-gate/usr/src/uts/sun4v/io/n2piupc/ |
H A D | n2piupc.c | 94 static struct modlinkage ml = { variable 127 if ((rval = mod_install(&ml)) == DDI_SUCCESS) in _init() 153 rval = mod_remove(&ml); in _fini() 172 return (mod_info(&ml, modinfop)); in _info()
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | sbdpriv.h | 639 #define SBD_MEMLIST_DUMP(ml) memlist_dump(ml) argument 652 #define SBD_MEMLIST_DUMP(ml) argument
|
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/ |
H A D | sbdp_priv.h | 157 struct memlist *ml; /* memlist for this board */ member
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mem.c | 120 for (ml = mlist; ml; ml = ml->ml_next) in sbdp_memlist_dump() 122 ml->ml_address, ml->ml_size); in sbdp_memlist_dump() 1076 struct memlist *ml; in sbdp_copy_rename__relocatable() local 1095 for (ml = mlist; ml; ml = ml->ml_next) { in sbdp_copy_rename__relocatable() 1099 s_pa = ml->ml_address; in sbdp_copy_rename__relocatable() 1101 nbytes = ml->ml_size; in sbdp_copy_rename__relocatable() 1655 for (ml = mlist; ml; ml = ml->ml_next) in sbdp_get_mem_size() 1656 size += ml->ml_size; in sbdp_get_mem_size() 2080 struct memlist *ml; in sbdp_passthru_readmem() local 2089 for (ml = phys_install; ml; ml = ml->ml_next) { in sbdp_passthru_readmem() [all …]
|