Home
last modified time | relevance | path

Searched refs:smap (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosmem.c42 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()
120 (smap.base == 0x100000) && in bios_getmem()
122 bios_extmem = smap.length; in bios_getmem()
131 (smap.base > 0x100000) && in bios_getmem()
132 (smap.base < 0x100000000ull)) { in bios_getmem()
[all …]
H A Di386_copy.c73 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 Dbiossmap.c44 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 Dlinux.c68 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 Dmultiboot.c239 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 Dseg_map.h73 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 Dseg_map.c136 static struct smap *segmap_hashin(struct smap *smp, struct vnode *vp,
303 struct smap *smp; in segmap_create()
497 struct smap *smp) in segmap_unlock()
591 struct smap *smp; in segmap_fault()
777 struct smap *smp; in segmap_faulta()
992 struct smap *tmp; in segmap_hashin()
1384 struct smap *smp; in segmap_pagecreate()
1495 struct smap *smp; in segmap_pageunlock()
1981 struct smap *smp; in segmap_release()
2279 struct smap *
[all …]
/illumos-gate/usr/src/boot/i386/isoboot/
H A Disoboot.c98 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()
154 (smap.base == 0x100000)) { in bios_getmem()
155 bios_extmem = smap.length; in bios_getmem()
163 (smap.base > 0x100000) && (smap.base < 0x100000000ull)) { in bios_getmem()
164 size = smap.length; in bios_getmem()
[all …]
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dmach_cpu_module.c296 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 Dcommon_asm.S1165 ! 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 Dpiclenvd.c1268 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 Dmach_cpu_module.c126 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/i386/loader/
H A Dhelp.i38641 smap
/illumos-gate/usr/src/boot/common/
H A Dmultiboot2.c842 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/efi/loader/
H A Dmemmap.c166 COMMAND_SET(smap, "smap", "show BIOS SMAP", command_smap);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dparseaddr.c1791 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 Dmap.c3505 MAP *smap = s->s_lmap; local
3507 if (tTd(38, 2) && smap != map)
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);
7863 smap->map_db1 = NULL;
7864 next = smap->socket_map_next;
7865 smap->socket_map_next = NULL;
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvd.c1635 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 Dmemory.c1608 struct smap smp; in vnode2smap()
1707 sizeof (struct smap) + (uintptr_t)sd.smd_sm); in addr2smap()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-test-utiltest.p5m1321 file path=opt/util-tests/tests/dis/i386/tst.smap.out mode=0444
1322 file path=opt/util-tests/tests/dis/i386/tst.smap.s mode=0444