Home
last modified time | relevance | path

Searched refs:hole_start (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.c253 caddr_t hole_start, hole_end; variable
302 if (lo < hole_start) { in valid_va_range_aligned()
303 if (hi > hole_start) in valid_va_range_aligned()
305 hi = hole_start; in valid_va_range_aligned()
312 if (hole_start - lo >= tot_len) in valid_va_range_aligned()
313 hi = hole_start; in valid_va_range_aligned()
324 else if (hole_start - lo >= tot_len) in valid_va_range_aligned()
325 hi = hole_start; in valid_va_range_aligned()
399 if (eaddr > hole_start && addr < hole_end) in valid_usr_range()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_kdi.c337 if (va + sz >= hole_start && va < hole_end) in kdi_range_is_nontoxic()
338 return (va < hole_start ? hole_start - va : 0); in kdi_range_is_nontoxic()
H A Dhat_pte.h192 uintptr_t hole_start; /* start of VA hole (or -1 if none) */ member
253 #define IN_VA_HOLE(va) (mmu.hole_start <= (va) && (va) < mmu.hole_end)
H A Dhtable.c1546 offset += mmu.hole_start; /* something in VA hole */ in htable_attach()
1577 if (base == mmu.hole_start) in htable_attach()
1650 if (l == mmu.max_level && va >= mmu.hole_start && va <= mmu.hole_end) in htable_scan()
1651 va = mmu.hole_end + va - mmu.hole_start; in htable_scan()
1872 if (ht->ht_level == mmu.max_level && va >= mmu.hole_start) in htable_e2va()
1873 va += ((mmu.hole_end - mmu.hole_start) + 1); in htable_e2va()
H A Dhtable.h145 ((va & LEVEL_MASK(l)) + LEVEL_SIZE(l) == mmu.hole_start ? \
H A Dvm_machdep.c949 if (lo < hole_start) { in valid_va_range_aligned()
950 if (hi > hole_start) { in valid_va_range_aligned()
952 hi = hole_start; in valid_va_range_aligned()
959 if (hole_start - lo >= tot_len) in valid_va_range_aligned()
960 hi = hole_start; in valid_va_range_aligned()
971 else if (hole_start - lo >= tot_len) in valid_va_range_aligned()
972 hi = hole_start; in valid_va_range_aligned()
1046 if (eaddr > (caddr_t)hole_start && addr < (caddr_t)hole_end) in valid_usr_range()
4051 offset += mmu.hole_start; /* something in VA hole */ in page_get_physical()
H A Dhat_i86.c867 mmu.hole_start = (1ul << (va_bits - 1)); in mmu_init()
868 mmu.hole_end = 0ul - mmu.hole_start - 1; in mmu_init()
871 mmu.hole_start = mmu.hole_end - 1; in mmu_init()
878 ASSERT(hole_start == 0 || opteron_erratum_121 != 0); in mmu_init()
879 hole_start = mmu.hole_start - hole_start; in mmu_init()
881 hole_start = mmu.hole_start; in mmu_init()
/illumos-gate/usr/src/cmd/amt/
H A Damt.c394 caddr_t hole_start; in memory_allocation_not_shared() local
405 hole_start = (caddr_t)sbrk(0); in memory_allocation_not_shared()
410 hole_start); in memory_allocation_not_shared()
471 if (hole_start == hole_after) in memory_allocation_not_shared()
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmachsystm.h164 extern uintptr_t hole_start, hole_end;
167 (((a) >= (caddr_t)hole_start && (a) < (caddr_t)hole_end))
/illumos-gate/usr/src/uts/sun4/os/
H A Ddtrace_subr.c71 if (hole_end > hole_start) in dtrace_toxic_ranges()
72 (*func)((uintptr_t)hole_start, (uintptr_t)hole_end); in dtrace_toxic_ranges()
H A Dstartup.c1233 if (kmem64_aligned_end > (hole_start ? hole_start : kpm_vbase)) in startup_memlist()
1306 ASSERT(alloc_base <= (hole_start ? hole_start : kpm_vbase)); in startup_memlist()
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dgeneric.c108 hole_start = (caddr_t)(1ull << (va_bits - 1)); in cpu_setup()
111 hole_start = hole_end = 0; in cpu_setup()
H A Dniagara.c141 hole_start = (caddr_t)((1ull << (va_bits - 1)) - (1ull << 32)); in cpu_setup()
H A Dniagara2.c156 hole_start = (caddr_t)((1ull << (va_bits - 1)) - (1ull << 32)); in cpu_setup()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachsystm.h360 extern caddr_t hole_start, hole_end;
367 #define INVALID_VADDR(a) (((a) >= hole_start && (a) < hole_end))
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachsystm.h346 extern caddr_t hole_start, hole_end;
353 #define INVALID_VADDR(a) (((a) >= hole_start && (a) < hole_end))
/illumos-gate/usr/src/uts/i86pc/os/
H A Ddtrace_subr.c115 if (hole_end > hole_start) in dtrace_toxic_ranges()
116 (*func)(hole_start, hole_end); in dtrace_toxic_ranges()
H A Dmp_startup.c958 if (hole_start) { in workaround_errata()
959 hole_start -= PAGESIZE; in workaround_errata()
966 hole_start = PAGESIZE; in workaround_errata()
H A Dstartup.c231 uintptr_t hole_start, hole_end; variable
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dspitfire.c482 hole_start = (caddr_t)0x80000000000ull; in cpu_setup()
491 hole_start = (caddr_t)((uintptr_t)hole_start - (1ul << 32)); in cpu_setup()
H A Dopl_olympus.c606 hole_start = hole_end = 0;
H A Dus3_common.c533 hole_start = hole_end = 0; in cpu_setup()