Searched refs:new_insns (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 885 u32 old_insns[RV_FENTRY_NINSNS], new_insns[RV_FENTRY_NINSNS]; in store_args() 902 ret = gen_jump_or_nops(new_addr, ip, new_insns, is_call); in restore_args() 908 if (memcmp(ip, new_insns, RV_FENTRY_NBYTES)) in restore_stack_args() 909 ret = patch_text(ip, new_insns, RV_FENTRY_NBYTES); in restore_stack_args() 847 u32 old_insns[RV_FENTRY_NINSNS], new_insns[RV_FENTRY_NINSNS]; bpf_arch_text_poke() local
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 1610 u32 new_insns[LOONGARCH_LONG_JUMP_NINSNS] = {[0 ... 4] = INSN_NOP}; in bpf_arch_text_poke() local 1638 ret = emit_jump_or_nops(new_addr, ip, new_insns, is_call); in bpf_arch_text_poke() 1644 if (memcmp(ip, new_insns, LOONGARCH_LONG_JUMP_NBYTES)) in bpf_arch_text_poke() 1645 ret = larch_insn_text_copy(ip, new_insns, LOONGARCH_LONG_JUMP_NBYTES); in bpf_arch_text_poke()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 10810 struct bpf_insn *new_insns, size_t new_insn_cnt) in libbpf_find_attach_btf_id() 10823 memcpy(insns, new_insns, new_insn_cnt * sizeof(*insns)); in libbpf_attach_type_by_name() 9842 bpf_program__set_insns(struct bpf_program * prog,struct bpf_insn * new_insns,size_t new_insn_cnt) bpf_program__set_insns() argument
|