Home
last modified time | relevance | path

Searched refs:new_insn (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/Documentation/arch/riscv/
H A Dcmodx.rst82 lw a0, new_insn
97 new_insn:
/linux-6.15/tools/objtool/
H A Dcheck.c1710 struct instruction **new_insn) in handle_group_alt() argument
1787 *new_insn = nop; in handle_group_alt()
1791 insn = *new_insn; in handle_group_alt()
1843 new_alt_group->first_insn = *new_insn; in handle_group_alt()
1859 struct instruction **new_insn) in handle_jump_alt() argument
1910 struct instruction *orig_insn, *new_insn; in add_special_section_alts() local
1928 new_insn = NULL; in add_special_section_alts()
1932 if (!new_insn) { in add_special_section_alts()
1946 &new_insn); in add_special_section_alts()
1952 &new_insn); in add_special_section_alts()
[all …]
/linux-6.15/arch/x86/net/
H A Dbpf_jit_comp.c604 u8 new_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local
618 memcpy(new_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke()
620 prog = new_insn; in __bpf_arch_text_poke()
633 if (memcmp(ip, new_insn, X86_PATCH_SIZE)) { in __bpf_arch_text_poke()
634 text_poke_bp(ip, new_insn, X86_PATCH_SIZE, NULL); in __bpf_arch_text_poke()
/linux-6.15/net/core/
H A Dfilter.c581 struct bpf_insn *new_insn, *first_insn = NULL; in bpf_convert_filter() local
601 new_insn = first_insn; in bpf_convert_filter()
616 *new_insn++ = BPF_MOV64_REG(BPF_REG_CTX, BPF_REG_ARG1); in bpf_convert_filter()
626 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_H, BPF_REG_CTX, in bpf_convert_filter()
633 new_insn += 3; in bpf_convert_filter()
641 addrs[i] = new_insn - first_insn; in bpf_convert_filter()
892 memcpy(new_insn, tmp_insns, in bpf_convert_filter()
894 new_insn += insn - tmp_insns; in bpf_convert_filter()
899 *new_len = new_insn - first_insn; in bpf_convert_filter()
906 if (new_flen != new_insn - first_insn) { in bpf_convert_filter()
[all …]
/linux-6.15/arch/arm64/net/
H A Dbpf_jit_comp.c2659 u32 new_insn; in bpf_arch_text_poke() local
2707 if (gen_branch_or_nop(branch_type, ip, new_addr, plt, &new_insn) < 0) in bpf_arch_text_poke()
2739 if (old_insn == new_insn) in bpf_arch_text_poke()
2768 ret = aarch64_insn_patch_text_nosync(ip, new_insn); in bpf_arch_text_poke()