Home
last modified time | relevance | path

Searched refs:nest_level (Results 1 – 2 of 2) sorted by relevance

/kernel/trace/
Dbpf_trace.c609 int nest_level = this_cpu_inc_return(bpf_trace_nest_level); in BPF_CALL_5() local
619 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(sds->sds))) { in BPF_CALL_5()
624 sd = &sds->sds[nest_level - 1]; in BPF_CALL_5()
678 int nest_level; in bpf_event_output() local
682 nest_level = this_cpu_inc_return(bpf_event_output_nest_level); in bpf_event_output()
684 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(bpf_misc_sds.sds))) { in bpf_event_output()
688 sd = this_cpu_ptr(&bpf_misc_sds.sds[nest_level - 1]); in bpf_event_output()
689 regs = this_cpu_ptr(&bpf_pt_regs.regs[nest_level - 1]); in bpf_event_output()
1409 int nest_level = this_cpu_inc_return(bpf_raw_tp_nest_level); in get_bpf_raw_tp_regs() local
1411 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(tp_regs->regs))) { in get_bpf_raw_tp_regs()
[all …]
/kernel/bpf/
Dhelpers.c727 int nest_level; in try_get_buffers() local
730 nest_level = this_cpu_inc_return(bpf_bprintf_nest_level); in try_get_buffers()
731 if (WARN_ON_ONCE(nest_level > MAX_BPRINTF_NEST_LEVEL)) { in try_get_buffers()
736 *bufs = this_cpu_ptr(&bpf_bprintf_bufs[nest_level - 1]); in try_get_buffers()