Searched refs:STUB_DATA_PAGES (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/arch/x86/um/shared/sysdep/ |
D | stub_32.h | 92 "g" (~(STUB_DATA_PAGES * UM_KERN_PAGE_SIZE - 1)), in remap_stack_and_trap() 97 "c" (STUB_DATA_PAGES * UM_KERN_PAGE_SIZE), in remap_stack_and_trap() 112 : "g" (~(STUB_DATA_PAGES * UM_KERN_PAGE_SIZE - 1))); in get_stub_data()
|
D | stub_64.h | 101 "g" (~(STUB_DATA_PAGES * UM_KERN_PAGE_SIZE - 1)), in remap_stack_and_trap() 106 "S" (STUB_DATA_PAGES * UM_KERN_PAGE_SIZE), in remap_stack_and_trap() 120 : "g" (~(STUB_DATA_PAGES * UM_KERN_PAGE_SIZE - 1))); in get_stub_data()
|
/linux-6.6.21/arch/um/kernel/skas/ |
D | mmu.c | 24 stack = __get_free_pages(GFP_KERNEL | __GFP_ZERO, ilog2(STUB_DATA_PAGES)); in init_new_context() 55 free_pages(to_mm->id.stack, ilog2(STUB_DATA_PAGES)); in init_new_context() 77 free_pages(mmu->id.stack, ilog2(STUB_DATA_PAGES)); in destroy_context()
|
D | clone.c | 32 STUB_DATA_PAGES * UM_KERN_PAGE_SIZE / 2); in stub_clone_handler()
|
/linux-6.6.21/arch/um/include/shared/ |
D | as-layout.h | 26 #define STUB_DATA_PAGES 1 /* must be a power of two */ macro 27 #define STUB_END (STUB_DATA + STUB_DATA_PAGES * UM_KERN_PAGE_SIZE)
|
/linux-6.6.21/arch/um/os-Linux/skas/ |
D | process.c | 265 STUB_DATA_PAGES * UM_KERN_PAGE_SIZE, PROT_READ | PROT_WRITE, in userspace_tramp() 280 set_sigstack((void *) STUB_DATA, STUB_DATA_PAGES * UM_KERN_PAGE_SIZE); in userspace_tramp() 518 thread_regs[REGS_SP_INDEX] = STUB_DATA + STUB_DATA_PAGES * UM_KERN_PAGE_SIZE - in init_thread_regs()
|
/linux-6.6.21/arch/um/kernel/ |
D | um_arch.c | 332 BUILD_BUG_ON(!is_power_of_2(STUB_DATA_PAGES)); in linux_main() 333 stub_start = (host_task_size - 1) & ~(STUB_DATA_PAGES * PAGE_SIZE - 1); in linux_main()
|