Lines Matching refs:THREAD_SIZE
185 * Allocate pages if THREAD_SIZE is >= PAGE_SIZE, otherwise use a
188 # if THREAD_SIZE >= PAGE_SIZE || defined(CONFIG_VMAP_STACK)
257 BUG_ON(vm->nr_pages != THREAD_SIZE / PAGE_SIZE);
259 for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++) {
287 kasan_unpoison_range(s->addr, THREAD_SIZE);
292 memset(stack, 0, THREAD_SIZE);
309 stack = __vmalloc_node_range(THREAD_SIZE, THREAD_ALIGN,
375 # else /* !(THREAD_SIZE >= PAGE_SIZE || defined(CONFIG_VMAP_STACK)) */
409 THREAD_SIZE, THREAD_SIZE, 0, 0,
410 THREAD_SIZE, NULL);
414 # endif /* THREAD_SIZE >= PAGE_SIZE || defined(CONFIG_VMAP_STACK) */
540 for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++)
548 account * (THREAD_SIZE / 1024));
561 for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++)
1012 (u64) THREAD_SIZE * 8UL);