/linux-6.6.21/kernel/ |
D | context_tracking.c | 440 int recursion; in context_tracking_recursion_enter() local 442 recursion = __this_cpu_inc_return(context_tracking.recursion); in context_tracking_recursion_enter() 443 if (recursion == 1) in context_tracking_recursion_enter() 446 WARN_ONCE((recursion < 1), "Invalid context tracking recursion value %d\n", recursion); in context_tracking_recursion_enter() 447 __this_cpu_dec(context_tracking.recursion); in context_tracking_recursion_enter() 454 __this_cpu_dec(context_tracking.recursion); in context_tracking_recursion_exit()
|
/linux-6.6.21/kernel/events/ |
D | internal.h | 211 static inline int get_recursion_context(int *recursion) in DEFINE_OUTPUT_COPY() 215 if (recursion[rctx]) in DEFINE_OUTPUT_COPY() 218 recursion[rctx]++; in DEFINE_OUTPUT_COPY() 224 static inline void put_recursion_context(int *recursion, int rctx) in put_recursion_context() argument 227 recursion[rctx]--; in put_recursion_context()
|
/linux-6.6.21/Documentation/kbuild/ |
D | issues.rst | 8 .. literalinclude:: Kconfig.recursion-issue-01 14 .. literalinclude:: Kconfig.recursion-issue-02
|
D | Kconfig.recursion-issue-01 | 6 # make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-01 allnoconfig 36 # Reading the Documentation/kbuild/Kconfig.recursion-issue-01 file it may be
|
D | Kconfig.recursion-issue-02 | 6 # make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-02 allnoconfig 23 # The example provided in Documentation/kbuild/Kconfig.recursion-issue-02
|
D | kconfig-language.rst | 622 Read: Documentation/kbuild/Kconfig.recursion-issue-01 626 make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-01 allnoconfig 631 Read: Documentation/kbuild/Kconfig.recursion-issue-02 635 make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-02 allnoconfig 652 Documentation/kbuild/Kconfig.recursion-issue-01 through the removal 658 Documentation/kbuild/Kconfig.recursion-issue-02.
|
/linux-6.6.21/crypto/ |
D | algboss.c | 106 int recursion = 0; in cryptomgr_schedule_probe() local 112 recursion++; in cryptomgr_schedule_probe() 113 else if (*p == ')' && !recursion--) in cryptomgr_schedule_probe()
|
/linux-6.6.21/Documentation/trace/ |
D | ftrace-uses.rst | 33 There are helper functions to help against recursion, and making sure 116 recursion protection must be used. There are two helper functions that 138 ftrace_test_recursion_trylock() to record where the recursion happened 143 for recursion for the callback and no recursion test needs to be done. 184 By default, it is expected that the callback can handle recursion. 186 setting this bit will add the recursion protection around the 187 callback by calling a helper function that will do the recursion 190 Note, if this flag is not set, and recursion does occur, it could
|
D | fprobe.rst | 131 Since the recursion safeness of the fprobe (and ftrace) is a bit different 136 handler from recursion in all cases. On the other hand, fprobe uses 140 This is not a matter if the common callback code has its own recursion 141 detection, or it can handle the recursion in the different contexts 143 But if it relies on the 'current_kprobe' recursion lock, it has to check
|
/linux-6.6.21/tools/testing/selftests/exec/ |
D | .gitignore | 13 /recursion-depth
|
D | Makefile | 12 TEST_GEN_PROGS += recursion-depth
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | recursion.c | 10 struct recursion *skel; in test_recursion()
|
/linux-6.6.21/include/linux/ |
D | context_tracking_state.h | 36 int recursion; member
|
D | netdevice.h | 3233 u16 recursion; member 3283 return this_cpu_read(softnet_data.xmit.recursion); in dev_recursion_level() 3289 return unlikely(__this_cpu_read(softnet_data.xmit.recursion) > in dev_xmit_recursion() 3295 __this_cpu_inc(softnet_data.xmit.recursion); in dev_xmit_recursion_inc() 3300 __this_cpu_dec(softnet_data.xmit.recursion); in dev_xmit_recursion_dec()
|
/linux-6.6.21/kernel/trace/ |
D | Kconfig | 724 recursion or any unexpected execution path which leads to a kernel 957 of protection against recursion. Even though the protection exists, 960 that triggered a recursion. 962 This will add more overhead to cases that have recursion. 973 the functions that caused a recursion to happen. 983 The ring buffer has its own internal recursion. Although when 984 recursion happens it won't cause harm because of the protection, 986 place where recursion was detected into the ftrace "recursed_functions" 989 This will add more overhead to cases that have recursion.
|
/linux-6.6.21/security/tomoyo/ |
D | util.c | 437 u8 recursion = 20; in tomoyo_correct_word2() local 474 if (!recursion--) in tomoyo_correct_word2()
|
/linux-6.6.21/Documentation/core-api/ |
D | gfp_mask-from-fs-io.rst | 14 allocating memory to prevent recursion deadlocks caused by direct
|
D | memory-allocation.rst | 74 prevent recursion deadlocks caused by direct memory reclaim calling
|
/linux-6.6.21/Documentation/locking/ |
D | lockdep-design.rst | 132 referred to as lock recursion deadlock. 141 to lock recursion deadlocks. 316 recursion must not be higher than 20.
|
/linux-6.6.21/Documentation/crypto/ |
D | async-tx-api.rst | 144 results in recursion in the synchronous case and spin_locks being
|
/linux-6.6.21/lib/ |
D | Kconfig.kcsan | 53 deadlocks or recursion. If in doubt, say N.
|
/linux-6.6.21/Documentation/filesystems/ |
D | locking.rst | 622 ops FS recursion Held locks when called 631 FS recursion means calling ->quota_read() and ->quota_write() from superblock
|
/linux-6.6.21/tools/objtool/ |
D | check.c | 189 int recursion) in __dead_end_function() argument 243 if (recursion == 5) { in __dead_end_function() 252 return __dead_end_function(file, insn_func(dest), recursion+1); in __dead_end_function()
|
/linux-6.6.21/arch/um/drivers/ |
D | Kconfig | 370 # in theory, just VIRTIO is enough, but that causes recursion
|
/linux-6.6.21/Documentation/kernel-hacking/ |
D | hacking.rst | 145 Avoid deep recursion and huge local arrays on the stack (allocate
|