Home
last modified time | relevance | path

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

/linux-6.6.21/tools/objtool/
Dcheck.c1729 struct instruction **new_insn) in handle_group_alt() argument
1806 *new_insn = nop; in handle_group_alt()
1810 insn = *new_insn; in handle_group_alt()
1863 new_alt_group->first_insn = *new_insn; in handle_group_alt()
1878 struct instruction **new_insn) in handle_jump_alt() argument
1912 *new_insn = next_insn_same_sec(file, orig_insn); in handle_jump_alt()
1925 struct instruction *orig_insn, *new_insn; in add_special_section_alts() local
1945 new_insn = NULL; in add_special_section_alts()
1947 new_insn = find_insn(file, special_alt->new_sec, in add_special_section_alts()
1949 if (!new_insn) { in add_special_section_alts()
[all …]
/linux-6.6.21/arch/x86/net/
Dbpf_jit_comp.c361 u8 new_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local
375 memcpy(new_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke()
377 prog = new_insn; in __bpf_arch_text_poke()
390 if (memcmp(ip, new_insn, X86_PATCH_SIZE)) { in __bpf_arch_text_poke()
391 text_poke_bp(ip, new_insn, X86_PATCH_SIZE, NULL); in __bpf_arch_text_poke()
/linux-6.6.21/arch/arm64/net/
Dbpf_jit_comp.c2174 u32 new_insn; in bpf_arch_text_poke() local
2222 if (gen_branch_or_nop(branch_type, ip, new_addr, plt, &new_insn) < 0) in bpf_arch_text_poke()
2254 if (old_insn == new_insn) in bpf_arch_text_poke()
2283 ret = aarch64_insn_patch_text_nosync(ip, new_insn); in bpf_arch_text_poke()
/linux-6.6.21/net/core/
Dfilter.c566 struct bpf_insn *new_insn, *first_insn = NULL; in bpf_convert_filter() local
586 new_insn = first_insn; in bpf_convert_filter()
594 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter()
595 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_X, BPF_REG_X); in bpf_convert_filter()
601 *new_insn++ = BPF_MOV64_REG(BPF_REG_CTX, BPF_REG_ARG1); in bpf_convert_filter()
608 *new_insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct sk_buff, data), in bpf_convert_filter()
611 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_H, BPF_REG_CTX, in bpf_convert_filter()
613 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_TMP, BPF_REG_CTX, in bpf_convert_filter()
615 *new_insn++ = BPF_ALU32_REG(BPF_SUB, BPF_REG_H, BPF_REG_TMP); in bpf_convert_filter()
618 new_insn += 3; in bpf_convert_filter()
[all …]