/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ppage.c | 60 hat_memload(kas.a_hat, va, pp, vprot | HAT_NOSYNC, HAT_LOAD_LOCK); 67 hat_unload(kas.a_hat, va, PAGESIZE, HAT_UNLOAD_UNLOCK); 79 hat_devload(kas.a_hat, kaddr, MMU_PAGESIZE, page_pptonum(pp), 94 hat_devload(kas.a_hat, kaddr, MMU_PAGESIZE, pfnum,
|
H A D | startup.c | 941 rw_enter(&kas.a_lock, RW_WRITER); 943 if (seg_attach(&kas, kpm_vbase, kpm_size, segkpm) < 0) 952 rw_exit(&kas.a_lock); 2140 (void) as_setprot(&kas, (caddr_t)newidt, MMU_PAGESIZE, 2191 rw_enter(&kas.a_lock, RW_WRITER); 2194 segkp->s_as = &kas; 2195 } else if (seg_attach(&kas, (caddr_t)segkp_base, mmu_ptob(segkpsize), 2206 rw_exit(&kas.a_lock); 2220 rw_enter(&kas.a_lock, RW_WRITER); 2221 if (seg_attach(&kas, (caddr_ [all...] |
H A D | graphics.c | 167 hat_devload(kas.a_hat, videomem, videomem_size, 191 hat_unload(kas.a_hat, videomem, videomem_size, HAT_UNLOAD_UNLOCK);
|
H A D | mp_pc.c | 97 /* Map real mode platter into kas so kernel can access it. */ 98 hat_devload(kas.a_hat, 121 hat_unload(kas.a_hat, (caddr_t)(uintptr_t)rm_platter_pa, MMU_PAGESIZE, 135 /* Use the kas address space for the CPU startup thread. */ 136 if (MAKECR3(kas.a_hat->hat_htable->ht_pfn) > 0xffffffffUL) 139 MAKECR3(kas.a_hat->hat_htable->ht_pfn)); 312 * of kas other than the return value of getcr3(). getcr3() returns 314 * the one of kas. 316 rm->rm_pdbr = MAKECR3(kas.a_hat->hat_htable->ht_pfn);
|
H A D | mp_implfuncs.c | 234 hat_devload(kas.a_hat, cvaddr, mmu_ptob(npages), mmu_btop(base), 252 hat_unload(kas.a_hat, base, ptob(npages), HAT_UNLOAD_UNLOCK); 296 hat_unload(kas.a_hat, base, ptob(npages), HAT_UNLOAD_UNLOCK);
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_i86.c | 344 src = htable_lookup(kas.a_hat, va, rp->hkr_level); 367 * kas.a_hat is not in the list but is instead used to find the 370 * - kas.a_hat->hat_next points to the start of the user hats. 373 * - kas.a_hat->hat_prev points to the last of the user hats. 378 hat->hat_next = kas.a_hat->hat_next; 382 kas.a_hat->hat_prev = hat; 383 kas.a_hat->hat_next = hat; 432 kas.a_hat->hat_next = hat->hat_next; 436 kas.a_hat->hat_prev = hat->hat_prev; 729 AS_LOCK_ENTER(&kas, RW_WRITE [all...] |
H A D | i86_mmu.c | 76 hat_devload(kas.a_hat, addr, MMU_PAGESIZE, pf, 79 hat_memload(kas.a_hat, addr, pp, 227 ht = htable_create(kas.a_hat, va, 0, NULL); 232 hat_devload(kas.a_hat, ptes + i * MMU_PAGESIZE, 492 htable_attach(kas.a_hat, 0, mmu.max_level, NULL, 517 CPUSET_ATOMIC_ADD(kas.a_hat->hat_cpus, CPU->cpu_id); 518 CPU->cpu_current_hat = kas.a_hat;
|
H A D | htable.c | 535 * Move hat to the end of the kas list 546 kas.a_hat->hat_next = hat->hat_next; 551 kas.a_hat->hat_prev = hat->hat_prev; 554 hat->hat_prev = kas.a_hat->hat_prev; 558 kas.a_hat->hat_next = hat; 560 kas.a_hat->hat_prev = hat; 570 hat_t *hat = kas.a_hat; /* list starts with khat */ 611 hat = kas.a_hat->hat_next; 694 kas.a_hat->hat_prev != hat) 706 ASSERT(hat != kas [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/os/ |
H A D | cpu_sgnblk.c | 118 hat_devload(kas.a_hat, cvaddr, ptob(num_pages), 175 hat_unload(kas.a_hat, (caddr_t)cvaddr, ptob(num_pages),
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_kmem.c | 59 * into kas. 117 struct as kas; /* kernel address space */ variable in typeref:struct:as 451 if (seg->s_as != &kas || size > seg->s_size || 477 if (!hat_probe(kas.a_hat, addr)) { 513 if (seg->s_as != &kas || size > seg->s_size || 525 hat_unload(kas.a_hat, addr, size, HAT_UNLOAD); 527 hat_chgprot(kas.a_hat, addr, size, prot); 541 if (seg->s_as != &kas) 565 if (seg->s_as != &kas) 587 pfn_t pfn = hat_getpfnum(kas [all...] |
H A D | vm_rm.c | 74 if (as != (struct as *)NULL && as != &kas)
|
H A D | seg_kmem.h | 60 extern struct as kas; /* kernel address space */
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_uthread.c | 116 if (p->p_as == &kas || p->p_stat == SZOMB) 181 if (ttoproc(tp)->p_as == &kas || ttoproc(tp)->p_stat == SZOMB) 237 if (ttoproc(tp)->p_as == &kas) continue; 327 if (p->p_as != &kas)
|
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_ioctl.c | 268 cmd->dp.copy.cc_source = ptob64(hat_getpfnum(kas.a_hat, 270 cmd->dp.copy.cc_dest = ptob64(hat_getpfnum(kas.a_hat, 290 cmd->dp.copy.cc_source = ptob64(hat_getpfnum(kas.a_hat, 292 cmd->dp.copy.cc_dest = ptob64(hat_getpfnum(kas.a_hat,
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_sfmmu.c | 113 extern struct as kas; 131 sfmmu_tteload(kas.a_hat, &ktext_tte, textva, NULL, flags); 148 sfmmu_tteload(kas.a_hat, &kdata_tte, datava, 181 sfmmu_tteload(kas.a_hat, &tte, va, NULL, flags);
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | ppage.c | 164 hat_memload(kas.a_hat, va, pp, 181 hat_memload(kas.a_hat, va, pp, vprot | HAT_NOSYNC, HAT_LOAD_LOCK); 197 hat_unload(kas.a_hat, va, PAGESIZE, 205 hat_unload(kas.a_hat, va, PAGESIZE,
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bp_map.c | 97 /* return if already mapped in, no pageio/physio, or physio to kas */ 101 ((bp->b_proc == NULL) || (bp->b_proc->p_as == &kas)))) 158 as = &kas; 180 hat_devload(kas.a_hat, kaddr, PAGESIZE, pfnum, 235 hat_unload(kas.a_hat, (void *)base, size, 318 as = &kas;
|
H A D | subr.c | 325 (void) as_pagelock(&kas, &ppp, iaddr - off, PAGESIZE, S_WRITE); 327 hat_devload(kas.a_hat, vaddr, PAGESIZE, 328 hat_getpfnum(kas.a_hat, iaddr - off), 348 as_pageunlock(&kas, ppp, iaddr - off, PAGESIZE, S_WRITE); 349 hat_unload(kas.a_hat, vaddr, PAGESIZE, HAT_UNLOAD_UNLOCK);
|
H A D | sched.c | 139 (p)->p_as == &kas) 577 rw_enter(&kas.a_lock, RW_READER); 580 rw_exit(&kas.a_lock); 716 rw_enter(&kas.a_lock, RW_READER); 720 rw_exit(&kas.a_lock); 887 rw_enter(&kas.a_lock, RW_READER); 890 rw_exit(&kas.a_lock);
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | startup.c | 1897 kseg.s_as = &kas; 1960 rw_enter(&kas.a_lock, RW_WRITER); 1961 if (seg_attach(&kas, va, i, segkp) < 0) 1965 rw_exit(&kas.a_lock); 1974 rw_enter(&kas.a_lock, RW_WRITER); 1991 if (seg_attach(&kas, kpm_vbase, kpm_size * vac_colors, 2001 rw_exit(&kas.a_lock); 2052 rw_enter(&kas.a_lock, RW_WRITER); 2054 (void) seg_attach(&kas, segzio_base, mmu_ptob(segziosize), 2061 rw_exit(&kas [all...] |
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_sfmmu.c | 162 extern struct as kas; 178 sfmmu_tteload(kas.a_hat, &ktext_tte, textva, NULL, flags); 195 sfmmu_tteload(kas.a_hat, &kdata_tte, datava, 228 sfmmu_tteload(kas.a_hat, &tte, va, NULL, flags);
|
H A D | mach_kpm.c | 63 hat_devload(kas.a_hat, kpm_vbase + start, 246 hat_devload(kas.a_hat, kpm_vbase + mmu_ptob(base), 287 hat_unload(kas.a_hat, kpm_vbase + mmu_ptob(base), mmu_ptob(end - base),
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl_quiesce.c | 352 if (p->p_as == &kas || p->p_stat == SZOMB) 400 if (p->p_as == &kas || p->p_stat == SZOMB) 475 if (p->p_as != &kas) 505 if (ttoproc(tp)->p_as == &kas)
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_sc.c | 88 paddr = (uint64_t)hat_getpfnum(kas.a_hat,
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | ppage.c | 192 hat_memload(kas.a_hat, va, pp, 215 hat_memload(kas.a_hat, va, pp, vprot | HAT_NOSYNC, HAT_LOAD_LOCK); 231 hat_unload(kas.a_hat, va, PAGESIZE, 243 hat_unload(kas.a_hat, va, PAGESIZE,
|