Home
last modified time | relevance | path

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

/linux/kernel/events/
H A Dinternal.h214 static inline int get_recursion_context(u8 *recursion) in DEFINE_OUTPUT_COPY()
218 if (recursion[rctx]) in DEFINE_OUTPUT_COPY()
221 recursion[rctx]++; in DEFINE_OUTPUT_COPY()
227 static inline void put_recursion_context(u8 *recursion, unsigned char rctx) in put_recursion_context() argument
230 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.rst677 Read: Documentation/kbuild/Kconfig.recursion-issue-01
681 make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-01 allnoconfig
686 Read: Documentation/kbuild/Kconfig.recursion-issue-02
690 make KBUILD_KCONFIG=Documentation/kbuild/Kconfig.recursion-issue-02 allnoconfig
707 Documentation/kbuild/Kconfig.recursion-issue-01 through the removal
713 Documentation/kbuild/Kconfig.recursion-issue-02.
/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/tools/testing/selftests/bpf/prog_tests/
H A Dicmp_send_kfunc.c270 skel->links.recursion = in test_icmp_send_unreach_recursion()
271 bpf_program__attach_cgroup(skel->progs.recursion, cgroup_fd); in test_icmp_send_unreach_recursion()
272 if (!ASSERT_OK_PTR(skel->links.recursion, "prog_attach_cgroup")) in test_icmp_send_unreach_recursion()
H A Drecursion.c10 struct recursion *skel; in test_recursion()
/linux/Documentation/trace/
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/tools/testing/selftests/exec/
H A D.gitignore17 /recursion-depth
H A DMakefile20 TEST_GEN_PROGS += recursion-depth
/linux/include/linux/
H A Dcontext_tracking_state.h30 int recursion; member
H A Dnetdevice.h3677 return this_cpu_read(softnet_data.xmit.recursion); in dev_recursion_level()
3682 return unlikely(__this_cpu_read(softnet_data.xmit.recursion) > in dev_xmit_recursion()
3688 __this_cpu_inc(softnet_data.xmit.recursion); in dev_xmit_recursion_inc()
3693 __this_cpu_dec(softnet_data.xmit.recursion); in dev_xmit_recursion_dec()
3698 return current->net_xmit.recursion; in dev_recursion_level()
3703 return unlikely(current->net_xmit.recursion > XMIT_RECURSION_LIMIT); in dev_xmit_recursion()
3708 current->net_xmit.recursion++; in dev_xmit_recursion_inc()
3713 current->net_xmit.recursion--; in dev_xmit_recursion_dec()
/linux/tools/testing/selftests/bpf/progs/
H A Dicmp_send.c73 int recursion(struct __sk_buff *skb) in recursion() function
/linux/security/tomoyo/
H A Dutil.c437 u8 recursion = 20; in tomoyo_correct_word2() local
474 if (!recursion--) in tomoyo_correct_word2()
/linux/kernel/trace/
H A DKconfig824 recursion or any unexpected execution path which leads to a kernel
1066 of protection against recursion. Even though the protection exists,
1069 that triggered a recursion.
1071 This will add more overhead to cases that have recursion.
1082 the functions that caused a recursion to happen.
1092 protection against recursion. This option is only to verify that
1105 The ring buffer has its own internal recursion. Although when
1106 recursion happens it won't cause harm because of the protection,
1108 place where recursion was detected into the ftrace "recursed_functions"
1111 This will add more overhead to cases that have recursion.
/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/core-api/
H A Dmemory-allocation.rst75 prevent recursion deadlocks caused by direct memory reclaim calling
/linux/tools/objtool/
H A Dcheck.c231 int recursion) in __dead_end_function() argument
289 if (recursion == 5) { in __dead_end_function()
298 return __dead_end_function(file, insn_func(dest), recursion+1); in __dead_end_function()
/linux/Documentation/security/keys/
H A Dcore.rst625 checked for keys before recursion into its children occurs.