Searched refs:new_insn (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/tools/perf/util/ |
A 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-6.3-rc2/tools/objtool/ |
A D | check.c | 1773 struct instruction **new_insn) in handle_group_alt() argument 1851 *new_insn = nop; in handle_group_alt() 1855 insn = *new_insn; in handle_group_alt() 1910 new_alt_group->first_insn = *new_insn; in handle_group_alt() 1925 struct instruction **new_insn) in handle_jump_alt() argument 1975 struct instruction *orig_insn, *new_insn; in add_special_section_alts() local 1995 new_insn = NULL; in add_special_section_alts() 1999 if (!new_insn) { in add_special_section_alts() 2016 &new_insn); in add_special_section_alts() 2021 &new_insn); in add_special_section_alts() [all …]
|
/linux-6.3-rc2/arch/x86/net/ |
A 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-6.3-rc2/arch/arm64/net/ |
A D | bpf_jit_comp.c | 2107 u32 new_insn; in bpf_arch_text_poke() local 2155 if (gen_branch_or_nop(branch_type, ip, new_addr, plt, &new_insn) < 0) in bpf_arch_text_poke() 2187 if (old_insn == new_insn) in bpf_arch_text_poke() 2216 ret = aarch64_insn_patch_text_nosync(ip, new_insn); in bpf_arch_text_poke()
|
/linux-6.3-rc2/net/core/ |
A 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() 599 *new_insn++ = BPF_MOV64_REG(BPF_REG_CTX, BPF_REG_ARG1); in bpf_convert_filter() 609 *new_insn++ = BPF_LDX_MEM(BPF_W, BPF_REG_H, BPF_REG_CTX, in bpf_convert_filter() 616 new_insn += 3; in bpf_convert_filter() 624 addrs[i] = new_insn - first_insn; in bpf_convert_filter() 875 memcpy(new_insn, tmp_insns, in bpf_convert_filter() 877 new_insn += insn - tmp_insns; in bpf_convert_filter() 882 *new_len = new_insn - first_insn; in bpf_convert_filter() 889 if (new_flen != new_insn - first_insn) { in bpf_convert_filter() [all …]
|
Completed in 34 milliseconds