Home
last modified time | relevance | path

Searched refs:new_t (Results 1 – 10 of 10) sorted by relevance

/linux/tools/lib/bpf/
H A Drelo_core.c928 const struct btf_type *orig_t, *new_t; in bpf_core_calc_relo() local
931 new_t = btf_type_by_id(targ_spec->btf, res->new_type_id); in bpf_core_calc_relo()
947 if (btf_is_ptr(orig_t) && btf_is_ptr(new_t)) in bpf_core_calc_relo()
949 if (btf_is_int(orig_t) && btf_is_int(new_t) && in bpf_core_calc_relo()
951 btf_int_encoding(new_t) != BTF_INT_SIGNED) in bpf_core_calc_relo()
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c1302 enum bpf_text_poke_type new_t, void *old_addr, in bpf_arch_text_poke() argument
1326 if (old_t == BPF_MOD_CALL || new_t == BPF_MOD_CALL) { in bpf_arch_text_poke()
1369 branch_flags = new_t == BPF_MOD_CALL ? BRANCH_SET_LINK : 0; in bpf_arch_text_poke()
/linux/kernel/bpf/
H A Dtrampoline.c414 enum bpf_text_poke_type new_t = BPF_MOD_CALL, old_t = BPF_MOD_CALL; in bpf_trampoline_update_fentry() local
418 new_t = BPF_MOD_NOP; in bpf_trampoline_update_fentry()
420 new_t = BPF_MOD_JUMP; in bpf_trampoline_update_fentry()
427 return bpf_arch_text_poke(ip, old_t, new_t, old_addr, new_addr); in bpf_trampoline_update_fentry()
H A Dcore.c3349 enum bpf_text_poke_type new_t, void *old_addr, in bpf_arch_text_poke() argument
/linux/drivers/nvdimm/
H A Dbtt.c1232 int new_t, new_e; in btt_read_pg() local
1251 ret = btt_map_read(arena, premap, &new_map, &new_t, in btt_read_pg()
1256 if ((postmap == new_map) && (t_flag == new_t) && in btt_read_pg()
1261 t_flag = new_t; in btt_read_pg()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c621 enum bpf_text_poke_type new_t, in __bpf_arch_text_poke() argument
641 if (new_t != BPF_MOD_NOP && new_addr) { in __bpf_arch_text_poke()
643 ret = new_t == BPF_MOD_CALL ? in __bpf_arch_text_poke()
665 enum bpf_text_poke_type new_t, void *old_addr, in bpf_arch_text_poke() argument
680 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.c826 enum bpf_text_poke_type new_t, void *old_addr, in bpf_arch_text_poke() argument
845 is_call = new_t == BPF_MOD_CALL; in bpf_arch_text_poke()
/linux/arch/loongarch/net/
H A Dbpf_jit.c1582 enum bpf_text_poke_type new_t, void *old_addr, in bpf_arch_text_poke() argument
1619 is_call = new_t == BPF_MOD_CALL; in bpf_arch_text_poke()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c3170 enum bpf_text_poke_type new_t, void *old_addr, in bpf_arch_text_poke() argument
3220 branch_type = new_t == BPF_MOD_CALL ? AARCH64_INSN_BRANCH_LINK : in bpf_arch_text_poke()
/linux/include/linux/
H A Dbpf.h4064 enum bpf_text_poke_type new_t, void *old_addr,