Searched refs:ESPFIX_STACKS_PER_PAGE (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/x86/kernel/
H A Despfix_64.c50 #define ESPFIX_STACKS_PER_PAGE (PAGE_SIZE/ESPFIX_STACK_SIZE) macro
55 #define ESPFIX_MAX_CPUS (ESPFIX_STACKS_PER_PAGE * ESPFIX_PAGE_SPACE)
69 /* Page allocation bitmap - each page serves ESPFIX_STACKS_PER_PAGE CPUs */
70 #define ESPFIX_MAX_PAGES DIV_ROUND_UP(CONFIG_NR_CPUS, ESPFIX_STACKS_PER_PAGE)
88 page = (cpu / ESPFIX_STACKS_PER_PAGE) ^ page_random; espfix_base_addr()
89 slot = (cpu + slot_random) % ESPFIX_STACKS_PER_PAGE; espfix_base_addr()
117 slot_random = rand % ESPFIX_STACKS_PER_PAGE; init_espfix_random()
118 page_random = (rand / ESPFIX_STACKS_PER_PAGE) init_espfix_random()
153 page = cpu/ESPFIX_STACKS_PER_PAGE; init_espfix_ap()

Completed in 119 milliseconds