/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | biosmem.c | 43 static struct bios_smap_xattr smap; variable in typeref:struct:bios_smap_xattr 106 v86.es = VTOPSEG(&smap); 107 v86.edi = VTOPOFF(&smap); 112 if ((smap.type == SMAP_TYPE_MEMORY) && (smap.base == 0) && 113 (smap.length >= (512 * 1024))) { 114 bios_basemem = smap.length; 119 if ((smap.type == SMAP_TYPE_MEMORY) && (smap.base == 0x100000) && 121 bios_extmem = smap [all...] |
H A D | biossmap.c | 45 struct bios_smap smap; member in struct:smap_buf 79 v86.ecx < sizeof(buf.smap) || v86.ecx > SMAP_BUFSIZE) 85 next->smap = buf.smap; 100 smapbase[n++] = cur->smap; 136 COMMAND_SET(smap, "smap", "show BIOS SMAP", command_smap);
|
H A D | linux.c | 67 struct bios_smap *smap; local 74 printf("no memory smap\n"); 78 smap = (struct bios_smap *)md->md_data; 80 if (smap[i].type != SMAP_TYPE_MEMORY) 82 if (smap[i].base >= 0xa0000) 84 test_addr(smap[i].base, smap[i].length, &candidate);
|
H A D | multiboot.c | 415 struct bios_smap *smap; local 529 printf("no memory smap\n"); 538 smap = (struct bios_smap *)md->md_data; 541 mmap[i].size = sizeof(*smap); 542 mmap[i].addr = smap[i].base; 543 mmap[i].len = smap[i].length; 544 mmap[i].type = smap[i].type;
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | biossmap.c | 47 struct bios_smap smap[3], *sm; local 51 sm = &smap[0]; 73 file_addmetadata(kfp, MODINFOMD_SMAP, len, &smap[0]);
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_map.h | 70 * Each smap struct represents a MAXBSIZE sized mapping to the 75 struct smap { struct 78 struct smap *sm_hash; /* hash pointer */ 79 struct smap *sm_next; /* next pointer */ 80 struct smap *sm_prev; /* previous pointer */ 84 ushort_t sm_flags; /* smap flags */ 102 #define SM_NOTKPM_RELEASED 0x00000002 /* released smap not in segkpm mode */ 108 * Multiple smap free lists are maintained so that allocations 113 #define SM_FREEQ_PAD (64 - sizeof (struct smap *) - sizeof (kmutex_t)) 115 struct smap *smq_fre [all...] |
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); 178 * Translate addr into smap number within segment. 183 * Translate addr in seg into struct smap pointer. 200 static struct smap *smd_sma [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | mach_cpu_module.c | 290 * whenever the smap object size changes from the current 296 volatile int smap_size_changed [SMAP_SIZE - sizeof (struct smap) + 1]; 297 volatile int smap_size_changed2 [sizeof (struct smap) - SMAP_SIZE + 1];
|
H A D | common_asm.s | 1365 * Prefetch struct smap for write. 1406 ! Since the size of the smap struct is 48 bytes, issuing 1 prefetch 1408 ! make sure we don't stall for the cases where the smap object 1412 ! The smap array is processed with decreasing address pointers.
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | mach_cpu_module.c | 120 * whenever the smap object size changes from the current 126 volatile int smap_size_changed [SMAP_SIZE - sizeof (struct smap) + 1]; 127 volatile int smap_size_changed2 [sizeof (struct smap) - SMAP_SIZE + 1];
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 1270 uchar_t smap[MAX_SENSORS]; local 1278 (void) memset(smap, SENSOR_OK, sizeof (smap)); 1328 smap[i] = SENSOR_WARN; 1337 smap[i] = SENSOR_OK; 1372 if (smap[i] == SENSOR_WARN)
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 1635 uchar_t smap[MAX_SENSORS]; local 1647 (void) memset(smap, SENSOR_OK, sizeof (smap)); 1699 smap[i] = SENSOR_WARN; 1708 smap[i] = SENSOR_OK; 1743 if (smap[i] == SENSOR_WARN)
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | parseaddr.c | 1780 ** smap -- the map to use for the lookup. 1793 map_lookup(smap, key, argvect, pstat, e) 1794 STAB *smap; 1804 if (smap == NULL) 1807 map = &smap->s_map; 1816 smap->s_name, key); 1826 sm_dprintf("map_lookup(%s, ", smap->s_name); 1849 smap->s_name, key, errno); 1856 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 [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | memory.c | 1586 struct smap smp; 1632 mdb_warn("couldn't read smap at %p", 1639 mdb_warn("couldn't read smap at %p", saddr); 1644 mdb_printf("vnode %p, offs %p is smap %p, vaddr %p\n", 1653 mdb_printf("no smap for vnode %p, offs %p\n", addr, offset); 1683 mdb_printf("%p is smap %p\n", addr, 1685 sizeof (struct smap) + (uintptr_t)sd.smd_sm);
|