Searched refs:new_insn (Results 1 – 5 of 5) sorted by relevance
| /linux/Documentation/arch/riscv/ |
| H A D | cmodx.rst | 114 lw a0, new_insn 129 new_insn:
|
| /linux/tools/objtool/ |
| H A D | check.c | 1761 struct instruction **new_insn) in handle_group_alt() argument 1840 *new_insn = nop; in handle_group_alt() 1844 insn = *new_insn; in handle_group_alt() 1896 new_alt_group->first_insn = *new_insn; in handle_group_alt() 1899 new_alt_group->ignore = (*new_insn)->ignore_alts; in handle_group_alt() 1913 struct instruction **new_insn) in handle_jump_alt() argument 1951 *new_insn = next_insn_same_sec(file, orig_insn); in handle_jump_alt() 1964 struct instruction *orig_insn, *new_insn; in add_special_section_alts() local 1983 new_insn = NULL; in add_special_section_alts() 1985 new_insn = find_insn(file, special_alt->new_sec, in add_special_section_alts() [all …]
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 597 u8 new_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local 611 memcpy(new_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke() 613 prog = new_insn; in __bpf_arch_text_poke() 626 if (memcmp(ip, new_insn, X86_PATCH_SIZE)) { in __bpf_arch_text_poke() 627 smp_text_poke_single(ip, new_insn, X86_PATCH_SIZE, NULL); in __bpf_arch_text_poke()
|
| /linux/net/core/ |
| H A D | filter.c | 590 struct bpf_insn *new_insn, *first_insn = NULL; in bpf_convert_filter() local 609 new_insn = first_insn; in bpf_convert_filter() 617 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter() 618 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_X, BPF_REG_X); in bpf_convert_filter() 624 *new_insn++ = BPF_MOV64_REG(BPF_REG_CTX, BPF_REG_ARG1); in bpf_convert_filter() 631 *new_insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct sk_buff, data), in bpf_convert_filter() 634 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_H, BPF_REG_CTX, in bpf_convert_filter() 636 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_TMP, BPF_REG_CTX, in bpf_convert_filter() 638 *new_insn++ = BPF_ALU32_REG(BPF_SUB, BPF_REG_H, BPF_REG_TMP); in bpf_convert_filter() 641 new_insn += 3; in bpf_convert_filter() [all …]
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 2989 u32 new_insn; in bpf_arch_text_poke() local 3036 if (gen_branch_or_nop(branch_type, ip, new_addr, plt, &new_insn) < 0) in bpf_arch_text_poke() 3068 if (old_insn == new_insn) in bpf_arch_text_poke() 3097 ret = aarch64_insn_patch_text_nosync(ip, new_insn); in bpf_arch_text_poke()
|