Home
last modified time | relevance | path

Searched refs:old_t (Results 1 – 9 of 9) sorted by relevance

/linux/kernel/bpf/
H A Dtrampoline.c373 enum bpf_text_poke_type new_t = BPF_MOD_CALL, old_t = BPF_MOD_CALL; in bpf_trampoline_update_fentry() local
382 old_t = BPF_MOD_NOP; in bpf_trampoline_update_fentry()
384 old_t = BPF_MOD_JUMP; in bpf_trampoline_update_fentry()
386 return bpf_arch_text_poke(ip, old_t, new_t, old_addr, new_addr); in bpf_trampoline_update_fentry()
H A Dcore.c3207 int __weak bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c1167 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
1192 if (old_t == BPF_MOD_CALL || new_t == BPF_MOD_CALL) { in bpf_arch_text_poke()
1226 branch_flags = old_t == BPF_MOD_CALL ? BRANCH_SET_LINK : 0; in bpf_arch_text_poke()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c591 static int __bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in __bpf_arch_text_poke() argument
602 if (old_t != BPF_MOD_NOP && old_addr) { in __bpf_arch_text_poke()
604 ret = old_t == BPF_MOD_CALL ? in __bpf_arch_text_poke()
635 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
651 return __bpf_arch_text_poke(ip, old_t, new_t, old_addr, new_addr); in bpf_arch_text_poke()
/linux/arch/s390/net/
H A Dbpf_jit_comp.c2415 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
2434 if ((new_t == BPF_MOD_JUMP || old_t == BPF_MOD_JUMP) && in bpf_arch_text_poke()
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c855 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
867 is_call = old_t == BPF_MOD_CALL; in bpf_arch_text_poke()
/linux/arch/loongarch/net/
H A Dbpf_jit.c1391 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
1421 is_call = old_t == BPF_MOD_CALL; in bpf_arch_text_poke()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2983 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
3029 branch_type = old_t == BPF_MOD_CALL ? AARCH64_INSN_BRANCH_LINK : in bpf_arch_text_poke()
/linux/include/linux/
H A Dbpf.h3854 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t,