Home
last modified time | relevance | path

Searched refs:recursion (Results 1 – 25 of 30) sorted by relevance

12

/linux/kernel/
H A Dcontext_tracking.c439 int recursion; in context_tracking_recursion_enter() local
441 recursion = __this_cpu_inc_return(context_tracking.recursion); in context_tracking_recursion_enter()
442 if (recursion == 1) in context_tracking_recursion_enter()
445 WARN_ONCE((recursion < 1), "Invalid context tracking recursion value %d\n", recursion); in context_tracking_recursion_enter()
446 __this_cpu_dec(context_tracking.recursion); in context_tracking_recursion_enter()
453 __this_cpu_dec(context_tracking.recursion); in context_tracking_recursion_exit()
/linux/kernel/events/
H A Dinternal.h213 static inline int get_recursion_context(u8 *recursion) in DEFINE_OUTPUT_COPY()
217 if (recursion[rctx]) in DEFINE_OUTPUT_COPY()
220 recursion[rctx]++; in DEFINE_OUTPUT_COPY()
226 static inline void put_recursion_context(u8 *recursion, unsigned char rctx) in put_recursion_context() argument
229 recursion[rctx]--; in put_recursion_context()
/linux/Documentation/kbuild/
H A Dissues.rst8 .. literalinclude:: Kconfig.recursion-issue-01
14 .. literalinclude:: Kconfig.recursion-issue-02
H A DKconfig.recursion-issue-016 # make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-01 allnoconfig
36 # Reading the Documentation/kbuild/Kconfig.recursion-issue-01 file it may be
H A DKconfig.recursion-issue-026 # make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-02 allnoconfig
23 # The example provided in Documentation/kbuild/Kconfig.recursion-issue-02
H A Dkconfig-language.rst629 Read: Documentation/kbuild/Kconfig.recursion-issue-01
633 make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-01 allnoconfig
638 Read: Documentation/kbuild/Kconfig.recursion-issue-02
642 make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-02 allnoconfig
659 Documentation/kbuild/Kconfig.recursion-issue-01 through the removal
665 Documentation/kbuild/Kconfig.recursion-issue-02.
/linux/net/core/
H A Ddev.h359 return unlikely(__this_cpu_read(softnet_data.xmit.recursion) > in dev_xmit_recursion()
365 __this_cpu_inc(softnet_data.xmit.recursion); in dev_xmit_recursion_inc()
370 __this_cpu_dec(softnet_data.xmit.recursion); in dev_xmit_recursion_dec()
375 return unlikely(current->net_xmit.recursion > XMIT_RECURSION_LIMIT); in dev_xmit_recursion()
380 current->net_xmit.recursion++; in dev_xmit_recursion_inc()
385 current->net_xmit.recursion--; in dev_xmit_recursion_dec()
/linux/crypto/
H A Dalgboss.c108 int recursion = 0; in cryptomgr_schedule_probe() local
114 recursion++; in cryptomgr_schedule_probe()
115 else if (*p == ')' && !recursion--) in cryptomgr_schedule_probe()
/linux/Documentation/trace/
H A Dftrace-uses.rst33 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
H A Dfprobe.rst143 Since the recursion safeness of the fprobe (and ftrace) is a bit different
148 handler from recursion in all cases. On the other hand, fprobe uses
152 This is not a matter if the common callback code has its own recursion
153 detection, or it can handle the recursion in the different contexts
155 But if it relies on the 'current_kprobe' recursion lock, it has to check
/linux/include/linux/
H A Dnetdevice_xmit.h6 u16 recursion; member
H A Dcontext_tracking_state.h36 int recursion; member
H A Dnetdevice.h3525 return this_cpu_read(softnet_data.xmit.recursion); in dev_recursion_level()
3530 return current->net_xmit.recursion; in dev_recursion_level()
/linux/tools/testing/selftests/exec/
H A D.gitignore17 /recursion-depth
H A DMakefile20 TEST_GEN_PROGS += recursion-depth
/linux/tools/testing/selftests/bpf/prog_tests/
H A Drecursion.c10 struct recursion *skel; in test_recursion()
/linux/Documentation/userspace-api/
H A Dntsync.rst30 A mutex holds a volatile 32-bit recursion count, and a volatile 32-bit
32 owner is zero (indicating that it is not owned). The recursion count is
129 - Initial recursion count of the mutex.
178 - On output, contains the previous recursion count.
239 - On output, contains the current recursion count of the mutex.
323 argument, and is acquired by incrementing its recursion count by one
337 the given owner (with a recursion count of 1) and as no longer
/linux/security/tomoyo/
H A Dutil.c437 u8 recursion = 20; in tomoyo_correct_word2() local
474 if (!recursion--) in tomoyo_correct_word2()
/linux/Documentation/core-api/
H A Dgfp_mask-from-fs-io.rst14 allocating memory to prevent recursion deadlocks caused by direct
/linux/arch/um/drivers/
H A DKconfig171 # in theory, just VIRTIO is enough, but that causes recursion
/linux/Documentation/locking/
H A Dlockdep-design.rst132 referred to as lock recursion deadlock.
141 to lock recursion deadlocks.
316 recursion must not be higher than 20.
/linux/Documentation/crypto/
H A Dasync-tx-api.rst144 results in recursion in the synchronous case and spin_locks being
/linux/lib/
H A DKconfig.kcsan53 deadlocks or recursion. If in doubt, say N.
/linux/Documentation/filesystems/
H A Dlocking.rst577 ops FS recursion Held locks when called
586 FS recursion means calling ->quota_read() and ->quota_write() from superblock
/linux/tools/objtool/
H A Dcheck.c249 int recursion) in __dead_end_function() argument
307 if (recursion == 5) { in __dead_end_function()
316 return __dead_end_function(file, insn_func(dest), recursion+1); in __dead_end_function()

12