Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dutil.c324 unsigned long random_variable = 0; in randomize_stack_top() local
327 random_variable = get_random_long(); in randomize_stack_top()
328 random_variable &= STACK_RND_MASK; in randomize_stack_top()
329 random_variable <<= PAGE_SHIFT; in randomize_stack_top()
332 return PAGE_ALIGN(stack_top) + random_variable; in randomize_stack_top()
334 return PAGE_ALIGN(stack_top) - random_variable; in randomize_stack_top()