| /linux/arch/parisc/net/ |
| H A D | bpf_jit_comp64.c | 1130 emit(hppa_ldi(MAX_TAIL_CALL_CNT, HPPA_REG_TCC_IN_INIT), ctx); in bpf_jit_build_prologue() 1135 emit(hppa_ldi(MAX_TAIL_CALL_CNT, HPPA_REG_R1), ctx); in bpf_jit_build_prologue() 1182 emit(hppa_ldi(MAX_TAIL_CALL_CNT, HPPA_REG_TCC), ctx); in bpf_jit_build_prologue()
|
| H A D | bpf_jit_comp32.c | 1500 emit(hppa_ldi(MAX_TAIL_CALL_CNT, HPPA_REG_TCC_IN_INIT), ctx); in bpf_jit_build_prologue() 1505 emit(hppa_ldi(MAX_TAIL_CALL_CNT, HPPA_REG_R1), ctx); in bpf_jit_build_prologue() 1532 emit(hppa_ldi(MAX_TAIL_CALL_CNT, HPPA_REG_TCC), ctx); in bpf_jit_build_prologue()
|
| /linux/arch/mips/net/ |
| H A D | bpf_jit_comp64.c | 559 BUILD_BUG_ON(MAX_TAIL_CALL_CNT > 0xffff); in build_prologue() 566 emit(ctx, ori, tc, MIPS_R_ZERO, MAX_TAIL_CALL_CNT); in build_prologue()
|
| H A D | bpf_jit_comp32.c | 1385 BUILD_BUG_ON(MAX_TAIL_CALL_CNT > 0xffff); in build_prologue() 1392 emit(ctx, ori, MIPS_R_T9, MIPS_R_ZERO, MAX_TAIL_CALL_CNT); in build_prologue()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 64 emit_insn(ctx, addid, LOONGARCH_GPR_T3, LOONGARCH_GPR_ZERO, MAX_TAIL_CALL_CNT); in prepare_bpf_tail_call_cnt() 297 emit_insn(ctx, addid, t2, LOONGARCH_GPR_ZERO, MAX_TAIL_CALL_CNT); in emit_bpf_tail_call()
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 485 EMIT4(0x48, 0x83, 0xF8, MAX_TAIL_CALL_CNT); in emit_prologue_tail_call() 750 EMIT4(0x48, 0x83, 0x38, MAX_TAIL_CALL_CNT); /* cmp qword ptr [rax], MAX_TAIL_CALL_CNT */ in emit_bpf_tail_call_indirect() 822 EMIT4(0x48, 0x83, 0x38, MAX_TAIL_CALL_CNT); /* cmp qword ptr [rax], MAX_TAIL_CALL_CNT */ in emit_bpf_tail_call_direct()
|
| H A D | bpf_jit_comp32.c | 1329 lo = (u32)MAX_TAIL_CALL_CNT; in emit_bpf_tail_call() 1330 hi = (u32)((u64)MAX_TAIL_CALL_CNT >> 32); in emit_bpf_tail_call()
|
| /linux/arch/arm/net/ |
| H A D | bpf_jit_32.c | 1432 lo = (u32)MAX_TAIL_CALL_CNT; in emit_bpf_tail_call() 1433 hi = (u32)((u64)MAX_TAIL_CALL_CNT >> 32); in emit_bpf_tail_call()
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp32.c | 250 EMIT(PPC_RAW_CMPLWI(_R0, MAX_TAIL_CALL_CNT)); in bpf_jit_emit_tail_call()
|
| H A D | bpf_jit_comp64.c | 351 EMIT(PPC_RAW_CMPLWI(bpf_to_ppc(TMP_REG_1), MAX_TAIL_CALL_CNT)); in bpf_jit_emit_tail_call()
|
| /linux/arch/sparc/net/ |
| H A D | bpf_jit_comp_64.c | 868 emit_cmpi(tmp, MAX_TAIL_CALL_CNT, ctx); in emit_tail_call()
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp32.c | 1324 emit(rv_addi(RV_REG_TCC, RV_REG_ZERO, MAX_TAIL_CALL_CNT), ctx); in bpf_jit_build_prologue()
|
| H A D | bpf_jit_comp64.c | 1984 emit(rv_addi(RV_REG_TCC, RV_REG_ZERO, MAX_TAIL_CALL_CNT), ctx); in bpf_jit_build_prologue()
|
| /linux/arch/s390/net/ |
| H A D | bpf_jit_comp.c | 1878 EMIT6_PCREL_RIEC(0xec000000, 0x007f, REG_W1, MAX_TAIL_CALL_CNT - 1, in bpf_jit_insn()
|
| /linux/include/linux/ |
| H A D | bpf.h | 2103 #define MAX_TAIL_CALL_CNT 33 macro
|
| /linux/kernel/bpf/ |
| H A D | core.c | 2020 if (unlikely(tail_call_cnt >= MAX_TAIL_CALL_CNT)) in ___bpf_prog_run()
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 653 emit_a64_mov_i64(tmp, MAX_TAIL_CALL_CNT, ctx); in emit_bpf_tail_call()
|
| /linux/lib/ |
| H A D | test_bpf.c | 15393 .result = (MAX_TAIL_CALL_CNT + 1) * MAX_TESTRUNS, 15416 .result = (MAX_TAIL_CALL_CNT + 1) * MAX_TESTRUNS,
|