Home
last modified time | relevance | path

Searched refs:USPACE (Results 1 – 25 of 134) sorted by relevance

123456

/netbsd-src/sys/uvm/
H A Duvm_glue.c247 while (USPACE == PAGE_SIZE && in uarea_poolpage_alloc()
278 if (USPACE == PAGE_SIZE && in uarea_poolpage_free()
299 .pa_pagesz = USPACE,
329 .pa_pagesz = USPACE,
344 if ((USPACE_ALIGN == 0 && USPACE != PAGE_SIZE) || in uvm_uarea_init()
345 (USPACE_ALIGN % USPACE) != 0) { in uvm_uarea_init()
349 uvm_uarea_cache = pool_cache_init(USPACE, USPACE_ALIGN, 0, flags, in uvm_uarea_init()
352 uvm_uarea_system_cache = pool_cache_init(USPACE, USPACE_ALIGN, in uvm_uarea_init()
388 kasan_mark((void *)uaddr, USPACE, USPACE, 0); in uvm_uarea_free()
396 kasan_mark((void *)uaddr, USPACE, USPACE, 0); in uvm_uarea_system_free()
/netbsd-src/sys/arch/x86/x86/
H A Dvm_machdep.c173 pcb2->pcb_rsp0 = (uv + USPACE - PAGE_SIZE + in cpu_lwp_fork()
177 pcb2->pcb_rsp0 = (uv + USPACE - 16); in cpu_lwp_fork()
181 pcb2->pcb_esp0 = (uv + USPACE - 16); in cpu_lwp_fork()
370 base = uvm_km_alloc(kernel_map, USPACE + PAGE_SIZE, 0, in cpu_uarea_alloc()
382 va = base + USPACE; in cpu_uarea_alloc()
400 KASSERT(!pmap_extract(pmap_kernel(), base + USPACE, NULL)); in cpu_uarea_free()
401 uvm_km_free(kernel_map, base, USPACE + PAGE_SIZE, UVM_KMF_WIRED); in cpu_uarea_free()
/netbsd-src/sys/arch/riscv/include/
H A Dproc.h54 #if USPACE > PAGE_SIZE
55 int md_upte[USPACE/4096]; /* ptes for mapping u page */
57 int md_dpte[USPACE/4096]; /* dummy ptes to keep the same */
/netbsd-src/sys/arch/aarch64/include/
H A Dvmparam.h72 #define USPACE 32768 macro
74 #define USPACE 65536 macro
76 #define UPAGES (USPACE >> PAGE_SHIFT)
/netbsd-src/sys/arch/riscv/riscv/
H A Dvm_machdep.c93 tf = (struct trapframe *)(ua2 + USPACE) - 1; in cpu_lwp_fork()
144 error = uvm_pglistalloc(USPACE, pmap_limits.avail_start, in cpu_uarea_alloc()
159 KASSERTMSG(pa + USPACE <= pmap_limits.avail_end, in cpu_uarea_alloc()
180 for (const paddr_t epa = pa + USPACE; pa < epa; pa += PAGE_SIZE) { in cpu_uarea_free()
/netbsd-src/sys/arch/mips/include/
H A Dmips_param.h145 #define USPACE MAX(__MIN_USPACE, PAGE_SIZE) macro
146 #define UPAGES (USPACE / PAGE_SIZE) /* number of pages for u-area */
147 #define USPACE_ALIGN USPACE /* make sure it starts on a even VA */
/netbsd-src/sys/arch/sun3/sun3/
H A Dlocore2.c158 ((vaddr_t)maxsym > (KERNBASE3 + OBMEM_BW50_ADDR - USPACE))) { in _save_symtab()
206 memset((void *)nextva, 0, USPACE); in _vm_init()
209 nextva += USPACE; in _vm_init()
/netbsd-src/sys/arch/usermode/include/
H A Dparam.h28 #undef USPACE
29 #define USPACE (PAGE_SIZE*UPAGES) macro
H A Dpcb.h37 #define TRAPSTACKSIZE (USPACE -2*sizeof(ucontext_t) - 3*sizeof(register_t))
/netbsd-src/sys/arch/ia64/include/
H A Dproc.h42 #define UAREA_PCB_OFFSET (USPACE - sizeof(struct pcb))
46 #define UAREA_STACK_SIZE (USPACE - 16 - sizeof(struct trapframe) - sizeof(struct pcb))
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dvm_machdep.c147 #define TOPFRAMEOFF (USPACE-sizeof(struct trapframe)-CC64FSZ)
154 #define TOPFRAMEOFF (USPACE-sizeof(struct trapframe)-CC64FSZ)
238 ((long)npcb + USPACE - sizeof(*tf2)); in cpu_lwp_fork()
241 *tf2 = *(struct trapframe *)((long)opcb + USPACE - sizeof(*tf2)); in cpu_lwp_fork()
/netbsd-src/sys/arch/or1k/include/
H A Dvmparam.h43 #define USPACE 16384 macro
44 #define UPAGES (USPACE >> PAGE_SHIFT)
/netbsd-src/sys/arch/arm/include/arm32/
H A Dparam.h64 #define USPACE (UPAGES * NBPG) /* total size of u-area */ macro
101 #define USPACE_SVC_STACK_TOP (USPACE)
/netbsd-src/sys/arch/sun3/sun3x/
H A Dlocore2.c173 memset((void *)nextva, 0, USPACE); in _vm_init()
175 nextva += USPACE; in _vm_init()
/netbsd-src/sys/arch/sparc/sparc/
H A Dvm_machdep.c167 #define TOPFRAMEOFF (USPACE-sizeof(struct trapframe)-sizeof(struct frame))
252 ((int)npcb + USPACE - sizeof(*tf2)); in cpu_lwp_fork()
255 *tf2 = *(struct trapframe *)((int)opcb + USPACE - sizeof(*tf2)); in cpu_lwp_fork()
/netbsd-src/sys/arch/sh3/sh3/
H A Dvm_machdep.c202 sh_dcache_wbinv_range(uv, USPACE); in sh3_setup_uarea()
216 memset((char *)spbase, 0xa5, (USPACE - PAGE_SIZE)); in sh3_setup_uarea()
223 sf->sf_r7_bank = spbase + USPACE - PAGE_SIZE; in sh3_setup_uarea()
H A Dsh3_machdep.c233 u = uvm_pageboot_alloc(USPACE); in sh_proc0_init()
234 memset((void *)u, 0, USPACE); in sh_proc0_init()
256 memset((char *)(u + PAGE_SIZE), 0xa5, USPACE - PAGE_SIZE); in sh_proc0_init()
261 sf->sf_r7_bank = sf->sf_r15 = u + USPACE; in sh_proc0_init()
/netbsd-src/sys/arch/sun2/sun2/
H A Dlocore2.c190 memset((void *)nextva, 0, USPACE); in _vm_init()
192 nextva += USPACE; in _vm_init()
/netbsd-src/sys/arch/playstation2/playstation2/
H A Dmachdep.c153 v = uvm_pageboot_alloc(USPACE); in mach_init()
161 lwp0.l_md.md_utf = (struct trapframe *)(v + USPACE) - 1; in mach_init()
/netbsd-src/sys/arch/mips/mips/
H A Dvm_machdep.c108 tf = (struct trapframe *)(ua2 + USPACE) - 1; in cpu_lwp_fork()
116 #if (USPACE > PAGE_SIZE) || !defined(_LP64) in cpu_lwp_fork()
195 error = uvm_pglistalloc(USPACE, pmap_limits.avail_start, high, in cpu_uarea_alloc()
/netbsd-src/sys/arch/powerpc/ibm4xx/
H A Dtrap_subr.S102 addi %r1,%r1,USPACE-CALLFRAMELEN; /* stack is top of user struct */ \
121 addi %r1,%r1,USPACE-CALLFRAMELEN; /* stack is top of user struct */ \
137 addi %r1,%r1,USPACE-CALLFRAMELEN; /* stack is top of user struct */ \
177 addi %r1,%r1,USPACE-CALLFRAMELEN; /* stack is top of user struct */ \
/netbsd-src/sys/arch/aarch64/aarch64/
H A Dvm_machdep.c134 #define UAREA_END(l) ((char *)uvm_lwp_getuarea((l)) + USPACE) in cpu_lwp_fork()
141 struct trapframe * const utf = (struct trapframe *)(uv + USPACE) - 1; in cpu_lwp_fork()
/netbsd-src/sys/arch/alpha/alpha/
H A Dvm_machdep.c156 (uvm_lwp_getuarea(l2) + USPACE - sizeof(struct trapframe)); in cpu_lwp_fork()
269 error = uvm_pglistalloc(USPACE, 0, ptoa(physmem), 0, 0, &pglist, 1, 1); in cpu_uarea_alloc()
/netbsd-src/sys/arch/vax/include/
H A Dproc.h58 (USPACE - (REDZONEADDR + VAX_NBPG))
/netbsd-src/sys/arch/sh3/include/
H A Dparam.h61 #define USPACE (UPAGES * NBPG) /* total size of u-area */ macro

123456