Searched refs:new_insn (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/tools/objtool/ |
D | check.c | 1729 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-v6.6/arch/x86/net/ |
D | bpf_jit_comp.c | 361 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-v6.6/arch/arm64/net/ |
D | bpf_jit_comp.c | 2174 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-v6.6/net/core/ |
D | filter.c | 564 struct bpf_insn *new_insn, *first_insn = NULL; in bpf_convert_filter() local 584 new_insn = first_insn; in bpf_convert_filter() 592 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter() 593 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_X, BPF_REG_X); in bpf_convert_filter() 599 *new_insn++ = BPF_MOV64_REG(BPF_REG_CTX, BPF_REG_ARG1); in bpf_convert_filter() 606 *new_insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct sk_buff, data), in bpf_convert_filter() 609 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_H, BPF_REG_CTX, in bpf_convert_filter() 611 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_TMP, BPF_REG_CTX, in bpf_convert_filter() 613 *new_insn++ = BPF_ALU32_REG(BPF_SUB, BPF_REG_H, BPF_REG_TMP); in bpf_convert_filter() 616 new_insn += 3; in bpf_convert_filter() [all …]
|