Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dtrampoline.c415 enum bpf_text_poke_type new_t = BPF_MOD_CALL, old_t = BPF_MOD_CALL; in bpf_trampoline_update_fentry() local
424 old_t = BPF_MOD_NOP; in bpf_trampoline_update_fentry()
426 old_t = BPF_MOD_JUMP; in bpf_trampoline_update_fentry()
428 return bpf_arch_text_poke(ip, old_t, new_t, old_addr, new_addr); in bpf_trampoline_update_fentry()
H A Dcore.c3362 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.c1302 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
1327 if (old_t == BPF_MOD_CALL || new_t == BPF_MOD_CALL) { in bpf_arch_text_poke()
1361 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.c621 static int __bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in __bpf_arch_text_poke() argument
632 if (old_t != BPF_MOD_NOP && old_addr) { in __bpf_arch_text_poke()
634 ret = old_t == BPF_MOD_CALL ? in __bpf_arch_text_poke()
665 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
681 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.c2449 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
2468 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.c843 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
855 is_call = old_t == BPF_MOD_CALL; in bpf_arch_text_poke()
/linux/arch/loongarch/net/
H A Dbpf_jit.c1599 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
1629 is_call = old_t == BPF_MOD_CALL; in bpf_arch_text_poke()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c3163 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t, in bpf_arch_text_poke() argument
3209 branch_type = old_t == BPF_MOD_CALL ? AARCH64_INSN_BRANCH_LINK : in bpf_arch_text_poke()
/linux/include/linux/
H A Dbpf.h4102 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t,