Searched refs:STUB_DATA_PAGES (Results 1 – 6 of 6) sorted by relevance
20 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()
26 #define STUB_DATA_PAGES 2 /* must be a power of two */ macro27 #define STUB_END (STUB_DATA + STUB_DATA_PAGES * UM_KERN_PAGE_SIZE)
112 : "g" (~(STUB_DATA_PAGES * UM_KERN_PAGE_SIZE - 1))); in get_stub_data()
118 : "g" (~(STUB_DATA_PAGES * UM_KERN_PAGE_SIZE - 1))); in get_stub_data()
330 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()
233 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()