Home
last modified time | relevance | path

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

/lib/
Dstackdepot.c312 struct stack_record *stack; in depot_pop_free_pool() local
330 stack = current_pool + pool_offset; in depot_pop_free_pool()
333 stack->handle.pool_index_plus_1 = pool_index + 1; in depot_pop_free_pool()
334 stack->handle.offset = pool_offset >> DEPOT_STACK_ALIGN; in depot_pop_free_pool()
335 stack->handle.extra = 0; in depot_pop_free_pool()
336 INIT_LIST_HEAD(&stack->hash_list); in depot_pop_free_pool()
340 return stack; in depot_pop_free_pool()
346 struct stack_record *stack; in depot_pop_free() local
359 stack = list_first_entry(&free_stacks, struct stack_record, free_list); in depot_pop_free()
360 if (!poll_state_synchronize_rcu(stack->rcu_state)) in depot_pop_free()
[all …]
Dref_tracker.c45 depot_stack_handle_t stack = tracker->alloc_stack_handle; in ref_tracker_get_stats() local
50 if (stats->stacks[i].stack_handle == stack) in ref_tracker_get_stats()
55 stats->stacks[i].stack_handle = stack; in ref_tracker_get_stats()
89 depot_stack_handle_t stack; in __ref_tracker_dir_pr_ostream() local
107 stack = stats->stacks[i].stack_handle; in __ref_tracker_dir_pr_ostream()
108 if (sbuf && !stack_depot_snprint(stack, sbuf, STACK_BUF_SIZE, 4)) in __ref_tracker_dir_pr_ostream()
DKconfig.kasan19 Disables both inline and stack instrumentation. Selected by
157 Disables stack instrumentation and thus KASAN's ability to detect
158 out-of-bounds bugs in stack variables.
160 With Clang, stack instrumentation has a problem that causes excessive
161 stack usage, see https://llvm.org/pr38809. Thus,
165 avoid cluttering the log with stack overflow warnings.
167 With GCC, enabling stack instrumentation is assumed to be safe.
170 ARCH_DISABLE_KASAN_INLINE, stack instrumentation gets disabled
DKconfig535 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
538 them on the stack. This is a bit more expensive, but avoids
539 stack overflow.
709 Stack depot: stack trace storage that avoids duplication
715 Always initialize stack depot during early boot
718 int "Maximum number of frames in trace saved in stack depot"
DKconfig.debug447 int "Warn for stack frames larger than"
458 Tell the compiler to warn at build time for stack frames larger than this.
555 bool "Compile-time stack metadata validation"
561 runtime stack traces are more reliable.
792 Enables the display of the minimum amount of free stack which each
795 used more stack space than previously exiting processes.
800 bool "Detect stack corruption on calls to schedule()"
804 This option checks for a stack overrun on calls to schedule().
805 If the stack end location is found to be over written always panic as
978 bool "Check for stack overflows"
[all …]
DMakefile28 CFLAGS_string.o += -fno-stack-protector
349 CFLAGS_ubsan.o := -fno-stack-protector $(DISABLE_STACKLEAK_PLUGIN)
DKconfig.kgdb19 CONFIG_FRAME_POINTER to aid in producing more reliable stack
/lib/kunit/
DKconfig34 trigger a kernel BUG(), and the associated stack trace, even when they