Searched refs:new_insn (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/tools/perf/util/ |
D | bpf-prologue.c | 39 append_insn(struct bpf_insn new_insn, struct bpf_insn_pos *pos) in append_insn() argument 50 *(pos->pos)++ = new_insn; in append_insn()
|
/Linux-v6.1/tools/objtool/ |
D | check.c | 1556 struct instruction **new_insn) in handle_group_alt() argument 1622 *new_insn = nop; in handle_group_alt() 1626 insn = *new_insn; in handle_group_alt() 1683 new_alt_group->first_insn = *new_insn; in handle_group_alt() 1697 struct instruction **new_insn) in handle_jump_alt() argument 1734 *new_insn = list_next_entry(orig_insn, list); in handle_jump_alt() 1747 struct instruction *orig_insn, *new_insn; in add_special_section_alts() local 1767 new_insn = NULL; in add_special_section_alts() 1769 new_insn = find_insn(file, special_alt->new_sec, in add_special_section_alts() 1771 if (!new_insn) { in add_special_section_alts() [all …]
|
/Linux-v6.1/arch/x86/net/ |
D | bpf_jit_comp.c | 353 u8 new_insn[X86_PATCH_SIZE]; in __bpf_arch_text_poke() local 367 memcpy(new_insn, nop_insn, X86_PATCH_SIZE); in __bpf_arch_text_poke() 369 prog = new_insn; in __bpf_arch_text_poke() 382 if (memcmp(ip, new_insn, X86_PATCH_SIZE)) { in __bpf_arch_text_poke() 383 text_poke_bp(ip, new_insn, X86_PATCH_SIZE, NULL); in __bpf_arch_text_poke()
|
/Linux-v6.1/arch/arm64/net/ |
D | bpf_jit_comp.c | 2112 u32 new_insn; in bpf_arch_text_poke() local 2160 if (gen_branch_or_nop(branch_type, ip, new_addr, plt, &new_insn) < 0) in bpf_arch_text_poke() 2192 if (old_insn == new_insn) in bpf_arch_text_poke() 2221 ret = aarch64_insn_patch_text_nosync(ip, new_insn); in bpf_arch_text_poke()
|
/Linux-v6.1/net/core/ |
D | filter.c | 563 struct bpf_insn *new_insn, *first_insn = NULL; in bpf_convert_filter() local 583 new_insn = first_insn; in bpf_convert_filter() 591 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter() 592 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_X, BPF_REG_X); in bpf_convert_filter() 598 *new_insn++ = BPF_MOV64_REG(BPF_REG_CTX, BPF_REG_ARG1); in bpf_convert_filter() 605 *new_insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct sk_buff, data), in bpf_convert_filter() 608 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_H, BPF_REG_CTX, in bpf_convert_filter() 610 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_TMP, BPF_REG_CTX, in bpf_convert_filter() 612 *new_insn++ = BPF_ALU32_REG(BPF_SUB, BPF_REG_H, BPF_REG_TMP); in bpf_convert_filter() 615 new_insn += 3; in bpf_convert_filter() [all …]
|