Searched refs:SCS_SIZE (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/kernel/ |
D | scs.c | 24 account * (SCS_SIZE / SZ_1K)); in __scs_account() 39 s = kasan_unpoison_vmalloc(s, SCS_SIZE, in __scs_alloc() 41 memset(s, 0, SCS_SIZE); in __scs_alloc() 46 s = __vmalloc_node_range(SCS_SIZE, 1, VMALLOC_START, VMALLOC_END, in __scs_alloc() 68 kasan_poison_vmalloc(s, SCS_SIZE); in scs_alloc() 89 kasan_unpoison_vmalloc(s, SCS_SIZE, KASAN_VMALLOC_PROT_NORMAL); in scs_free()
|
/linux-6.6.21/include/linux/ |
D | scs.h | 19 #define SCS_SIZE (PAGE_SIZE << SCS_ORDER) macro 45 return (unsigned long *)(s + SCS_SIZE) - 1; in __scs_magic() 53 return sz >= SCS_SIZE - 1 || READ_ONCE_NOCHECK(*magic) != SCS_END_MAGIC; in task_scs_end_corrupted()
|
/linux-6.6.21/init/ |
D | init_task.c | 54 unsigned long init_shadow_call_stack[SCS_SIZE / sizeof(long)] 56 [(SCS_SIZE / sizeof(long)) - 1] = SCS_END_MAGIC
|