Home
last modified time | relevance | path

Searched refs:old_t (Results 1 – 8 of 8) 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.c3268 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.c1296 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
1321 if (old_t == BPF_MOD_CALL || new_t == BPF_MOD_CALL) { in bpf_arch_text_poke()
1355 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/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.c1559 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
1589 is_call = old_t == BPF_MOD_CALL; in bpf_arch_text_poke()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2942 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
2988 branch_type = old_t == BPF_MOD_CALL ? AARCH64_INSN_BRANCH_LINK : in bpf_arch_text_poke()
/linux/include/linux/
H A Dbpf.h3856 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t,