Home
last modified time | relevance | path

Searched refs:STUB_DATA_PAGES (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/x86/um/shared/sysdep/
Dstub_32.h92 "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()
Dstub_64.h101 "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/
Dmmu.c24 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()
Dclone.c32 STUB_DATA_PAGES * UM_KERN_PAGE_SIZE / 2); in stub_clone_handler()
/linux-6.6.21/arch/um/include/shared/
Das-layout.h26 #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/
Dprocess.c265 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/
Dum_arch.c332 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()