| /src/sys/arch/usermode/include/ |
| param.h | 28 #undef USPACE 29 #define USPACE (PAGE_SIZE*UPAGES)
|
| pcb.h | 37 #define TRAPSTACKSIZE (USPACE -2*sizeof(ucontext_t) - 3*sizeof(register_t))
|
| /src/sys/arch/vax/include/ |
| proc.h | 58 (USPACE - (REDZONEADDR + VAX_NBPG))
|
| param.h | 65 #define USPACE (NBPG*UPAGES)
|
| /src/sys/arch/ia64/include/ |
| proc.h | 42 #define UAREA_PCB_OFFSET (USPACE - sizeof(struct pcb)) 46 #define UAREA_STACK_SIZE (USPACE - 16 - sizeof(struct trapframe) - sizeof(struct pcb))
|
| param.h | 65 #define USPACE (UPAGES * NBPG) /* total size of u-area */
|
| /src/sys/arch/or1k/include/ |
| vmparam.h | 43 #define USPACE 16384 44 #define UPAGES (USPACE >> PAGE_SHIFT)
|
| /src/sys/arch/arm/include/arm32/ |
| param.h | 62 #define USPACE (UPAGES * NBPG) /* total size of u-area */ 80 /* Constants used to divide the USPACE area */ 83 * The USPACE area contains : 99 #define USPACE_SVC_STACK_TOP (USPACE)
|
| /src/sys/arch/sh3/include/ |
| param.h | 61 #define USPACE (UPAGES * NBPG) /* total size of u-area */
|
| /src/sys/arch/aarch64/include/ |
| vmparam.h | 72 #define USPACE 32768 74 #define USPACE 65536 76 #define UPAGES (USPACE >> PAGE_SHIFT)
|
| /src/sys/uvm/ |
| uvm_glue.c | 258 while (USPACE == PAGE_SIZE && 289 if (USPACE == PAGE_SIZE && 310 .pa_pagesz = USPACE, 340 .pa_pagesz = USPACE, 355 if ((USPACE_ALIGN == 0 && USPACE != PAGE_SIZE) || 356 (USPACE_ALIGN % USPACE) != 0) { 360 uvm_uarea_cache = pool_cache_init(USPACE, USPACE_ALIGN, 0, flags, 363 uvm_uarea_system_cache = pool_cache_init(USPACE, USPACE_ALIGN, 399 kasan_mark((void *)uaddr, USPACE, USPACE, 0) [all...] |
| /src/sys/ddb/ |
| db_lwp.c | 48 #if !defined(_KERNEL) && !defined(USPACE) 53 * USPACE is needed by KSTACK_SIZE. 61 static int uspace; local 66 if (uspace) { 67 return uspace; 72 size = sizeof(uspace); 73 if (sysctl(mib, 2, &uspace, &size, NULL, 0)) { 74 uspace = getpagesize(); 77 return uspace; 79 #define USPACE (getuspace() [all...] |
| /src/sys/arch/m68k/include/ |
| param.h | 71 #define USPACE 8192 /* sizeof kernel stack + pcb */ 82 #define UPAGES (USPACE >> PGSHIFT)
|
| /src/sys/arch/x86/x86/ |
| vm_machdep.c | 173 pcb2->pcb_rsp0 = (uv + USPACE - PAGE_SIZE + 177 pcb2->pcb_rsp0 = (uv + USPACE - 16); 181 pcb2->pcb_esp0 = (uv + USPACE - 16); 371 base = uvm_km_alloc(kernel_map, USPACE + PAGE_SIZE, 0, 414 va = base + USPACE; 444 KASSERT(!pmap_extract(pmap_kernel(), base + USPACE, NULL)); 445 uvm_km_free(kernel_map, base, USPACE + PAGE_SIZE, UVM_KMF_WIRED);
|
| /src/sys/arch/sun3/sun3x/ |
| locore2.c | 173 memset((void *)nextva, 0, USPACE); 178 struct trapframe *tf = (struct trapframe *)(nextva + USPACE) - 1; 182 nextva += USPACE;
|
| /src/sys/arch/mips/include/ |
| mips_param.h | 149 * that UPAGES == 2. For MIPS-I we wire USPACE in TLB #0 and #1. 150 * For MIPS3+ we wire USPACE in the TLB #0 pair. 154 #define USPACE MAX(__MIN_USPACE, PAGE_SIZE) 155 #define UPAGES (USPACE / PAGE_SIZE) /* number of pages for u-area */ 156 #define USPACE_ALIGN USPACE /* make sure it starts on a even VA */
|
| /src/sys/arch/powerpc/include/ |
| param.h | 79 #define USPACE (UPAGES * NBPG)
|
| /src/sys/arch/sun3/sun3/ |
| locore2.c | 149 ((vaddr_t)maxsym > (KERNBASE3 + OBMEM_BW50_ADDR - USPACE))) { 200 memset((void *)nextva, 0, USPACE); 206 struct trapframe *tf = (struct trapframe *)(nextva + USPACE) - 1; 210 nextva += USPACE;
|
| /src/sys/arch/riscv/include/ |
| param.h | 78 #define USPACE (UPAGES << PGSHIFT)
|
| /src/sys/arch/alpha/include/ |
| param.h | 73 #define USPACE (UPAGES * NBPG) /* total size of u-area */
|
| /src/sys/arch/hppa/include/ |
| param.h | 60 #define USPACE (UPAGES * NBPG) /* pages for user struct and kstack */
|
| /src/sys/arch/sun2/sun2/ |
| locore2.c | 185 memset((void *)nextva, 0, USPACE); 190 struct trapframe *tf = (struct trapframe *)(nextva + USPACE) - 1; 194 nextva += USPACE;
|
| /src/sys/arch/m68k/m68k/ |
| vm_machdep.c | 60 __CTASSERT(USPACE >= PAGE_SIZE); 61 __CTASSERT((USPACE & PAGE_MASK) == 0); 114 tf = (struct trapframe *)(uvm_lwp_getuarea(l2) + USPACE) - 1;
|
| /src/sys/arch/riscv/riscv/ |
| vm_machdep.c | 93 tf = (struct trapframe *)(ua2 + USPACE) - 1; 144 error = uvm_pglistalloc(USPACE, pmap_limits.avail_start, 159 KASSERTMSG(pa + USPACE <= pmap_limits.avail_end, 180 for (const paddr_t epa = pa + USPACE; pa < epa; pa += PAGE_SIZE) {
|
| /src/sys/arch/sparc64/sparc64/ |
| vm_machdep.c | 147 #define TOPFRAMEOFF (USPACE-sizeof(struct trapframe)-CC64FSZ) 154 #define TOPFRAMEOFF (USPACE-sizeof(struct trapframe)-CC64FSZ) 238 ((long)npcb + USPACE - sizeof(*tf2)); 241 *tf2 = *(struct trapframe *)((long)opcb + USPACE - sizeof(*tf2));
|