Home
last modified time | relevance | path

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

/linux-6.12.1/arch/um/kernel/skas/
Dmmu.c20 static_assert(sizeof(struct stub_data) == STUB_DATA_PAGES * UM_KERN_PAGE_SIZE);
28 stack = __get_free_pages(GFP_KERNEL | __GFP_ZERO, ilog2(STUB_DATA_PAGES)); in init_new_context()
71 free_pages(new_id->stack, ilog2(STUB_DATA_PAGES)); in init_new_context()
93 free_pages(mmu->id.stack, ilog2(STUB_DATA_PAGES)); in destroy_context()
/linux-6.12.1/arch/um/include/shared/
Das-layout.h26 #define STUB_DATA_PAGES 2 /* must be a power of two */ macro
27 #define STUB_END (STUB_DATA + STUB_DATA_PAGES * UM_KERN_PAGE_SIZE)
/linux-6.12.1/arch/x86/um/shared/sysdep/
Dstub_64.h112 : "g" (~(STUB_DATA_PAGES * UM_KERN_PAGE_SIZE - 1))); in get_stub_data()
Dstub_32.h118 : "g" (~(STUB_DATA_PAGES * UM_KERN_PAGE_SIZE - 1))); in get_stub_data()
/linux-6.12.1/arch/um/kernel/
Dum_arch.c330 BUILD_BUG_ON(!is_power_of_2(STUB_DATA_PAGES)); in linux_main()
331 stub_start = (host_task_size - 1) & ~(STUB_DATA_PAGES * PAGE_SIZE - 1); in linux_main()
/linux-6.12.1/arch/um/os-Linux/skas/
Dprocess.c233 STUB_DATA_PAGES * UM_KERN_PAGE_SIZE, PROT_READ | PROT_WRITE, in userspace_tramp()
241 set_sigstack((void *) STUB_DATA, STUB_DATA_PAGES * UM_KERN_PAGE_SIZE); in userspace_tramp()