Searched refs:new_insn (Results 1 – 3 of 3) sorted by relevance
/linux/tools/objtool/ |
H A D | check.c | 1800 struct instruction **new_insn) in handle_group_alt() argument 1877 *new_insn = nop; in handle_group_alt() 1881 insn = *new_insn; in handle_group_alt() 1934 new_alt_group->first_insn = *new_insn; in handle_group_alt() 1949 struct instruction **new_insn) in handle_jump_alt() argument 1983 *new_insn = next_insn_same_sec(file, orig_insn); in handle_jump_alt() 1996 struct instruction *orig_insn, *new_insn; in add_special_section_alts() local 2016 new_insn = NULL; in add_special_section_alts() 2018 new_insn = find_insn(file, special_alt->new_sec, in add_special_section_alts() 2020 if (!new_insn) { in add_special_section_alts() [all …]
|
/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 594 u8 new_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local 608 memcpy(new_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke() 610 prog = new_insn; in __bpf_arch_text_poke() 623 if (memcmp(ip, new_insn, X86_PATCH_SIZE)) { in __bpf_arch_text_poke() 624 text_poke_bp(ip, new_insn, X86_PATCH_SIZE, NULL); in __bpf_arch_text_poke()
|
/linux/net/core/ |
H A D | filter.c | 573 struct bpf_insn *new_insn, *first_insn = NULL; in bpf_convert_filter() local 593 new_insn = first_insn; in bpf_convert_filter() 601 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter() 602 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_X, BPF_REG_X); in bpf_convert_filter() 608 *new_insn++ = BPF_MOV64_REG(BPF_REG_CTX, BPF_REG_ARG1); in bpf_convert_filter() 615 *new_insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct sk_buff, data), in bpf_convert_filter() 618 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_H, BPF_REG_CTX, in bpf_convert_filter() 620 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_TMP, BPF_REG_CTX, in bpf_convert_filter() 622 *new_insn++ = BPF_ALU32_REG(BPF_SUB, BPF_REG_H, BPF_REG_TMP); in bpf_convert_filter() 625 new_insn += 3; in bpf_convert_filter() [all …]
|