/src/sys/arch/sun2/sun2/ |
db_machdep.c | 110 int sme; local in function:db_mach_pagemap 112 sme = get_segmap(va); 113 if (sme == 0xFF) pte = 0; 115 db_printf("0x%08lx [%02x] 0x%08x", va, sme, pte);
|
machdep.c | 1093 int sme; local in function:find_prom_map 1116 sme = get_segmap(va); 1117 if (sme == SEGINV) {
|
pmap.c | 462 pmeg_p(int sme) 465 if (sme < 0 || sme >= SEGINV) 466 panic("pmeg_p: bad sme"); 468 return &pmeg_array[sme]; 573 int i, sme; local in function:context_free 604 sme = get_segmap(va); 605 if (sme == SEGINV) 612 "new=ff (cf)\n", ctxnum, va, sme); 615 if (sme != pmap->pm_segmap[i] 700 unsigned char sme; local in function:pmeg_mon_init 742 int sme; local in function:pmeg_clean 942 int sme, segnum; local in function:pmeg_cache 1090 int pte, sme; local in function:pv_changepte 1194 int pte, sme; local in function:pv_syncflags 1494 int i, pte, sme; local in function:pmap_bootstrap 1726 int i, sme; local in function:pmap_kernel_init 1982 int do_pv, old_pte, sme; local in function:pmap_enter_kernel 2126 int do_pv, old_pte, sme; local in function:pmap_enter_user 2304 int sme; local in function:pmap_kenter_pa 2416 int pte, sme; local in function:pmap_kremove 2568 int rv, s, pte, chkpte, sme; local in function:pmap_fault_reload 2793 int s, sme; local in function:pmap_unwire 2851 int s, saved_ctx, segnum, sme; local in function:_pmap_extract_pmeg 2880 int s, sme, segnum, ptenum, pte; local in function:pmap_extract 3016 int old_ctx, s, sme; local in function:pmap_protect1 3087 int sme = get_segmap(segva); local in function:pmap_protect_mmu 3154 int old_ctx, pte, sme, segnum; local in function:pmap_protect_noctx 3252 int old_ctx, s, sme; local in function:pmap_remove1 3310 int pte, sme; local in function:pmap_remove_mmu 3438 int old_ctx, pte, sme, segnum; local in function:pmap_remove_noctx 3533 int i, sme, pages; local in function:pmap_resident_pages 3557 int i, mask, sme, pages; local in function:pmap_wired_pages 3735 int sme, sme_end; \/* SegMap Entry numbers *\/ local in function:pmap_get_pagemap [all...] |
/src/sys/arch/sun3/sun3/ |
db_machdep.c | 112 int sme; local in function:db_mach_pagemap 114 sme = get_segmap(va); 115 if (sme == 0xFF) { 120 db_printf("0x%08lx [%02x] 0x%08x", va, sme, pte);
|
dvma.c | 182 int s, sme, error; local in function:dvma_mapin 216 sme = get_segmap(v); 217 KASSERT(sme != SEGINV); 223 set_segmap_allctx(x, sme); 245 int sme __diagused; 261 sme = get_segmap(v); 262 KASSERT(sme != SEGINV);
|
obio.c | 293 int pte, sme, i; local in function:save_prom_mappings 297 sme = get_segmap(segva); 298 if (sme == SEGINV) {
|
pmap.c | 471 pmeg_p(int sme) 474 if (sme < 0 || sme >= SEGINV) 475 panic("pmeg_p: bad sme"); 477 return &pmeg_array[sme]; 582 int i, sme; local in function:context_free 613 sme = get_segmap(va); 614 if (sme == SEGINV) 621 "new=ff (cf)\n", ctxnum, va, sme); 624 if (sme != pmap->pm_segmap[i] 709 unsigned char sme; local in function:pmeg_mon_init 751 int sme; local in function:pmeg_clean 951 int sme, segnum; local in function:pmeg_cache 1099 int pte, sme; local in function:pv_changepte 1201 int pte, sme; local in function:pv_syncflags 1502 int i, pte, sme; local in function:pmap_bootstrap 1758 int i, sme; local in function:pmap_kernel_init 2014 int do_pv, old_pte, sme; local in function:pmap_enter_kernel 2155 int do_pv, old_pte, sme; local in function:pmap_enter_user 2333 int sme; local in function:pmap_kenter_pa 2441 int pte, sme; local in function:pmap_kremove 2587 int rv, s, pte, chkpte, sme; local in function:pmap_fault_reload 2805 int s, sme; local in function:pmap_unwire 2862 int s, sme, segnum, ptenum, pte; local in function:pmap_extract 2994 int old_ctx, s, sme; local in function:pmap_protect1 3061 int sme = get_segmap(segva); local in function:pmap_protect_mmu 3125 int old_ctx, pte, sme, segnum; local in function:pmap_protect_noctx 3213 int old_ctx, s, sme; local in function:pmap_remove1 3268 int pte, sme; local in function:pmap_remove_mmu 3394 int old_ctx, pte, sme, segnum; local in function:pmap_remove_noctx 3478 int i, sme, pages; local in function:pmap_resident_pages 3502 int i, mask, sme, pages; local in function:pmap_wired_pages 3660 int sme, sme_end; \/* SegMap Entry numbers *\/ local in function:pmap_get_pagemap [all...] |
/src/lib/libkvm/ |
kvm_sun2.c | 139 u_int segnum, sme, ptenum; local in function:_kvm_sun2_kvatop 153 * Get the segmap entry (sme) from the kernel segmap. 161 sme = s->ksegmap[segnum]; 162 pte = pv->pmeg[sme][ptenum];
|
kvm_sun3.c | 139 u_int segnum, sme, ptenum; local in function:_kvm_sun3_kvatop 153 * Get the segmap entry (sme) from the kernel segmap. 161 sme = s->ksegmap[segnum]; 162 pte = pv->pmeg[sme][ptenum];
|
/src/sys/arch/sun68k/stand/libsa/ |
sun3.c | 166 int segva, dmava, sme; local in function:dvma3_init 172 sme = sun3_get_segmap(segva); 173 sun3_set_segmap(dmava, sme); 248 sun3_set_segmap(vaddr_t va, int sme) 251 set_control_byte(va, sme);
|
sun2.c | 177 int segva, dmava, sme; local in function:dvma2_init 183 sme = sun2_get_segmap(segva); 184 sun2_set_segmap(dmava, sme); 298 sun2_set_segmap(vaddr_t va, int sme) 301 set_control_byte(va, sme); 402 int sme; local in function:sun2_map_mem_run 422 sme = sun2_get_segmap((MEM_CHUNK1_LOAD_VIRT_PROM + off) - NBSG); 423 sun2_set_segmap(MEM_CHUNK1_COPY_VIRT + off, sme);
|
/src/sys/dev/sysmon/ |
sysmon_envsys_events.c | 119 struct sysmon_envsys *sme, sysmon_envsys_lim_t *lims, 130 KASSERT(sme != NULL); 172 mutex_enter(&sme->sme_mtx); 173 LIST_FOREACH(osee, &sme->sme_events_list, see_list) { 187 __func__, sme->sme_name, edata->desc, crittype)); 224 mutex_exit(&sme->sme_mtx); 234 __func__, sme->sme_name, edata->desc)); 237 see->see_sme = sme; 268 (void)strlcpy(see->see_pes.pes_dvname, sme->sme_name, 284 __func__, sme->sme_name, objkey)) 747 struct sysmon_envsys *sme = arg; local in function:sme_events_check 779 struct sysmon_envsys *sme = see->see_sme; local in function:sme_events_worker 1024 struct sysmon_envsys *sme = see->see_sme; local in function:sme_deliver_event 1065 struct sysmon_envsys *sme; local in function:sme_acadapter_check 1112 struct sysmon_envsys *sme; local in function:sme_battery_check [all...] |
sysmon_envsys.c | 191 struct sysmon_envsys *sme = NULL; local in function:sysmonioctl_envsys 208 LIST_FOREACH(sme, &sysmon_envsys_list, sme_list) { 209 sysmon_envsys_acquire(sme, false); 210 error = sme_update_dictionary(sme); 214 sysmon_envsys_release(sme, false); 218 sysmon_envsys_release(sme, false); 275 * find the correct sme device. 277 sme = sysmon_envsys_find(devname); 278 if (!sme) { 279 DPRINTF(("%s: NULL sme\n", __func__)) 526 struct sysmon_envsys *sme; local in function:sysmon_envsys_create 1033 struct sysmon_envsys *sme; local in function:sysmon_envsys_find 1053 struct sysmon_envsys *sme; local in function:sysmon_envsys_find_40 1124 struct sysmon_envsys *sme = arg; local in function:sme_initial_refresh 1173 struct sysmon_envsys *sme; local in function:sme_remove_userprops 1547 struct sysmon_envsys *sme; local in function:sysmon_envsys_get_max_value 2087 struct sysmon_envsys *sme; local in function:sysmon_envsys_foreach_sensor [all...] |
/src/sys/arch/powerpc/oea/ |
cpu_subr.c | 1300 struct sysmon_envsys *sme; local in function:cpu_tau_setup 1325 sme = sysmon_envsys_create(); 1330 if (sysmon_envsys_sensor_attach(sme, &sensor)) { 1331 sysmon_envsys_destroy(sme); 1335 sme->sme_name = device_xname(ci->ci_dev); 1336 sme->sme_cookie = ci; 1337 sme->sme_refresh = cpu_tau_refresh; 1339 if ((error = sysmon_envsys_register(sme)) != 0) { 1342 sysmon_envsys_destroy(sme); 1348 cpu_tau_refresh(struct sysmon_envsys *sme, envsys_data_t *edata [all...] |
/src/sys/dev/isa/ |
nsclpcsio_isa.c | 309 struct sysmon_envsys *sme; local in function:nsclpcsio_envsys_init 311 sme = sysmon_envsys_create(); 314 if (sysmon_envsys_sensor_attach(sme, &sc->sc_sensor[i]) != 0) { 324 sme->sme_name = device_xname(sc->sc_dev); 325 sme->sme_cookie = sc; 326 sme->sme_refresh = nsclpcsio_refresh; 328 if ((i = sysmon_envsys_register(sme)) != 0) { 333 return sme; 335 sysmon_envsys_destroy(sme); 497 nsclpcsio_refresh(struct sysmon_envsys *sme, envsys_data_t *edata [all...] |
/src/sys/arch/arm/sunxi/ |
sunxi_thermal.c | 334 struct sysmon_envsys *sme; member in struct:sunxi_thermal_softc 506 sunxi_thermal_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 508 struct sunxi_thermal_softc * const sc = sme->sme_cookie; 631 sc->sme = sysmon_envsys_create(); 632 sc->sme->sme_name = device_xname(self); 633 sc->sme->sme_cookie = sc; 634 sc->sme->sme_refresh = sunxi_thermal_refresh; 641 sysmon_envsys_sensor_attach(sc->sme, &sc->data[i]); 643 sysmon_envsys_register(sc->sme);
|
/src/sys/fs/udf/ |
udf_allocation.c | 459 struct spare_map_entry *sme; local in function:udf_translate_vtop 525 sme = &ump->sparing_table->entries[rel]; 526 if (lb_packet == udf_rw32(sme->org)) { 528 *lb_numres = udf_rw32(sme->map) + lb_rel;
|
/src/sbin/newfs_udf/ |
udf_core.c | 1349 struct spare_map_entry *sme; local in function:udf_create_sparing_tabled 1367 sme = &spt->entries[cnt]; 1369 sme->org = udf_rw32(0xffffffff); /* open for reloc */ 1370 sme->map = udf_rw32(loc); 1673 struct spare_map_entry *sme, *free_sme; local in function:udf_register_bad_block 1684 sme = &spt->entries[cnt]; 1686 if (udf_rw32(sme->org) == location) 1688 if (udf_rw32(sme->org) == 0xffffffff) { 1689 free_sme = sme; 3881 struct spare_map_entry *sme; local in function:udf_translate_vtop [all...] |