/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biosmem.c | 42 static struct bios_smap_xattr smap; variable 106 v86.es = VTOPSEG(&smap); in bios_getmem() 107 v86.edi = VTOPOFF(&smap); in bios_getmem() 112 if ((smap.type == SMAP_TYPE_MEMORY) && (smap.base == 0) && in bios_getmem() 113 (smap.length >= (512 * 1024))) { in bios_getmem() 114 bios_basemem = smap.length; in bios_getmem() 119 if ((smap.type == SMAP_TYPE_MEMORY) && in bios_getmem() 120 (smap.base == 0x100000) && in bios_getmem() 122 bios_extmem = smap.length; in bios_getmem() 130 if ((smap.type == SMAP_TYPE_MEMORY) && in bios_getmem() [all …]
|
H A D | i386_copy.c | 73 smap_find(struct bios_smap *smap, int smaplen, vm_offset_t addr, size_t size) in smap_find() argument 78 if (smap[i].type != SMAP_TYPE_MEMORY) in smap_find() 82 if (smap[i].base < 0x100000) in smap_find() 86 if ((smap[i].base <= addr) && in smap_find() 87 (smap[i].base + smap[i].length >= addr + size)) { in smap_find() 92 if ((smap[i].base > addr) && (smap[i].length >= size)) { in smap_find() 93 return (smap[i].base); in smap_find() 112 struct bios_smap *smap; in i386_loadaddr() local 146 smap = (struct bios_smap *)md->md_data; in i386_loadaddr() 176 off = smap_find(smap, smaplen, off, size); in i386_loadaddr()
|
H A D | biossmap.c | 44 struct bios_smap smap; member 78 v86.ecx < sizeof(buf.smap) || v86.ecx > SMAP_BUFSIZE) in bios_getsmap() 84 next->smap = buf.smap; in bios_getsmap() 99 smapbase[n++] = cur->smap; in bios_getsmap() 135 COMMAND_SET(smap, "smap", "show BIOS SMAP", command_smap);
|
H A D | linux.c | 68 struct bios_smap *smap; in find_real_addr() local 79 smap = (struct bios_smap *)md->md_data; in find_real_addr() 81 if (smap[i].type != SMAP_TYPE_MEMORY) in find_real_addr() 83 if (smap[i].base >= 0xa0000) in find_real_addr() 85 test_addr(smap[i].base, smap[i].length, &candidate); in find_real_addr()
|
H A D | multiboot.c | 239 struct bios_smap *smap; in multiboot_exec() local 361 smap = (struct bios_smap *)md->md_data; in multiboot_exec() 364 mmap[i].size = sizeof(*smap); in multiboot_exec() 365 mmap[i].addr = smap[i].base; in multiboot_exec() 366 mmap[i].len = smap[i].length; in multiboot_exec() 367 mmap[i].type = smap[i].type; in multiboot_exec()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_map.h | 73 struct smap { struct 76 struct smap *sm_hash; /* hash pointer */ argument 77 struct smap *sm_next; /* next pointer */ argument 78 struct smap *sm_prev; /* previous pointer */ argument 111 #define SM_FREEQ_PAD (64 - sizeof (struct smap *) - sizeof (kmutex_t)) 113 struct smap *smq_free; /* points into freelist */ 131 struct smap *sh_hash_list; /* start of hash chain */ 141 struct smap *smd_sm; /* array of smap structures */
|
H A D | seg_map.c | 98 struct smap *, enum seg_rw); 99 struct smap *get_smap_kpm(caddr_t, page_t **); 134 size_t len, enum seg_rw rw, struct smap *smp); 135 static void segmap_smapadd(struct smap *smp); 136 static struct smap *segmap_hashin(struct smap *smp, struct vnode *vp, 138 static void segmap_hashout(struct smap *smp); 200 static struct smap *smd_smap; 214 struct smap *scpu_last_smap; 303 struct smap *smp; in segmap_create() 404 kmem_alloc(sizeof (struct smap) * npages, KM_SLEEP); in segmap_create() [all …]
|
/illumos-gate/usr/src/boot/i386/isoboot/ |
H A D | isoboot.c | 98 static struct bios_smap smap; variable 143 v86.es = VTOPSEG(&smap); in bios_getmem() 144 v86.edi = VTOPOFF(&smap); in bios_getmem() 149 if ((smap.type == SMAP_TYPE_MEMORY) && (smap.base == 0) && in bios_getmem() 150 (smap.length >= (512 * 1024))) in bios_getmem() 151 bios_basemem = smap.length; in bios_getmem() 153 if ((smap.type == SMAP_TYPE_MEMORY) && in bios_getmem() 154 (smap.base == 0x100000)) { in bios_getmem() 155 bios_extmem = smap.length; in bios_getmem() 162 if ((smap.type == SMAP_TYPE_MEMORY) && in bios_getmem() [all …]
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | mach_cpu_module.c | 296 volatile int smap_size_changed [SMAP_SIZE - sizeof (struct smap) + 1]; in prefetch_smap_w() 297 volatile int smap_size_changed2 [sizeof (struct smap) - SMAP_SIZE + 1]; in prefetch_smap_w()
|
H A D | common_asm.S | 1165 ! Since the size of the smap struct is 48 bytes, issuing 1 prefetch 1171 ! The smap array is processed with decreasing address pointers.
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 1268 uchar_t smap[MAX_SENSORS]; in handle_overtemp_interrupt() local 1276 (void) memset(smap, SENSOR_OK, sizeof (smap)); in handle_overtemp_interrupt() 1326 smap[i] = SENSOR_WARN; in handle_overtemp_interrupt() 1335 smap[i] = SENSOR_OK; in handle_overtemp_interrupt() 1370 if (smap[i] == SENSOR_WARN) in handle_overtemp_interrupt()
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | mach_cpu_module.c | 126 volatile int smap_size_changed [SMAP_SIZE - sizeof (struct smap) + 1]; in prefetch_smap_w() 127 volatile int smap_size_changed2 [sizeof (struct smap) - SMAP_SIZE + 1]; in prefetch_smap_w()
|
/illumos-gate/usr/src/boot/common/ |
H A D | multiboot2.c | 842 struct bios_smap *smap; in multiboot2_exec() local 1062 smap = (struct bios_smap *)md->md_data; in multiboot2_exec() 1081 mmap_entry[i].mmap_addr = smap[i].base; in multiboot2_exec() 1082 mmap_entry[i].mmap_len = smap[i].length; in multiboot2_exec() 1083 mmap_entry[i].mmap_type = smap[i].type; in multiboot2_exec()
|
/illumos-gate/usr/src/boot/i386/loader/ |
H A D | help.i386 | 41 smap
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | memmap.c | 166 COMMAND_SET(smap, "smap", "show BIOS SMAP", command_smap);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | parseaddr.c | 1791 map_lookup(smap, key, argvect, pstat, e) in map_lookup() argument 1792 STAB *smap; in map_lookup() 1802 if (smap == NULL) 1805 map = &smap->s_map; 1814 smap->s_name, key); 1824 sm_dprintf("map_lookup(%s, ", smap->s_name); 1847 smap->s_name, key, errno); 1854 smap->s_name,
|
H A D | map.c | 3505 MAP *smap = s->s_lmap; local 3507 if (tTd(38, 2) && smap != map) 3509 map->map_mname, smap->map_mname); 3510 smap->map_mflags &= ~(MF_OPEN|MF_WRITABLE); 3511 lmap = (SM_LDAP_STRUCT *) smap->map_db1; 7835 MAP *smap; local 7853 smap = s->s_socketmap; 7854 while (smap != NULL) 7858 if (tTd(38, 2) && smap != map) 7860 map->map_mname, smap->map_mname); [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 1635 uchar_t smap[MAX_SENSORS]; in handle_overtemp_interrupt() local 1647 (void) memset(smap, SENSOR_OK, sizeof (smap)); in handle_overtemp_interrupt() 1699 smap[i] = SENSOR_WARN; in handle_overtemp_interrupt() 1708 smap[i] = SENSOR_OK; in handle_overtemp_interrupt() 1743 if (smap[i] == SENSOR_WARN) in handle_overtemp_interrupt()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | memory.c | 1609 struct smap smp; in vnode2smap() 1705 sizeof (struct smap) + (uintptr_t)sd.smd_sm); in addr2smap()
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-test-utiltest.p5m | 1325 file path=opt/util-tests/tests/dis/i386/tst.smap.out mode=0444 1326 file path=opt/util-tests/tests/dis/i386/tst.smap.s mode=0444
|