Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dscs.c20 account * (SCS_SIZE / SZ_1K)); in __scs_account()
35 s = kasan_unpoison_vmalloc(s, SCS_SIZE, in __scs_alloc()
37 memset(s, 0, SCS_SIZE); in __scs_alloc()
42 s = __vmalloc_node_range(SCS_SIZE, 1, VMALLOC_START, VMALLOC_END, in __scs_alloc()
64 kasan_poison_vmalloc(s, SCS_SIZE); in scs_alloc()
85 kasan_unpoison_vmalloc(s, SCS_SIZE, KASAN_VMALLOC_PROT_NORMAL); in scs_free()
/linux-6.1.9/include/linux/
Dscs.h19 #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.1.9/init/
Dinit_task.c54 unsigned long init_shadow_call_stack[SCS_SIZE / sizeof(long)]
56 [(SCS_SIZE / sizeof(long)) - 1] = SCS_END_MAGIC