Searched refs:src_reg (Results 1 – 10 of 10) sorted by relevance
/tools/include/linux/ |
D | filter.h | 38 .src_reg = SRC, \ 46 .src_reg = SRC, \ 56 .src_reg = 0, \ 64 .src_reg = 0, \ 74 .src_reg = 0, \ 84 .src_reg = SRC, \ 92 .src_reg = SRC, \ 102 .src_reg = 0, \ 110 .src_reg = 0, \ 120 .src_reg = SRC, \ [all …]
|
/tools/bpf/bpftool/ |
D | xlated_dumper.c | 176 if (insn->src_reg == BPF_PSEUDO_CALL && in print_call() 181 if (insn->src_reg == BPF_PSEUDO_CALL) in print_call() 193 if (insn->src_reg == BPF_PSEUDO_MAP_FD) in print_imm() 196 else if (insn->src_reg == BPF_PSEUDO_MAP_VALUE) in print_imm() 199 else if (insn->src_reg == BPF_PSEUDO_MAP_IDX_VALUE) in print_imm() 202 else if (insn->src_reg == BPF_PSEUDO_FUNC) in print_imm() 274 jsonw_printf(json_wtr, "\"0x%hhx\"", insn[i].src_reg); in dump_xlated_json()
|
D | cfg.c | 143 if (cur->src_reg != BPF_PSEUDO_CALL) in cfg_partition_funcs()
|
/tools/testing/selftests/bpf/progs/ |
D | netif_receive_skb.c | 245 {.code = (__u8)1,.dst_reg = (__u8)0x2,.src_reg = (__u8)0x3,.off = (__s16)4,.imm = (__s32)5,}); in BPF_PROG() 247 {.code = 1, .dst_reg = 0x2, .src_reg = 0x3, .off = 4, in BPF_PROG()
|
/tools/testing/selftests/bpf/verifier/ |
D | basic_instr.c | 185 .src_reg = 0,
|
/tools/lib/bpf/ |
D | relo_core.c | 871 insn->src_reg = 0; in bpf_core_poison_insn() 1010 insn[0].src_reg != 0 || insn[0].off != 0 || in bpf_core_patch_insn() 1012 insn[1].src_reg != 0 || insn[1].off != 0) { in bpf_core_patch_insn() 1037 insn->src_reg, insn->dst_reg, insn->off, insn->imm); in bpf_core_patch_insn()
|
D | libbpf.c | 595 insn->src_reg == BPF_PSEUDO_CALL && in insn_is_subprog_call() 607 return is_ldimm64_insn(insn) && insn->src_reg == BPF_PSEUDO_FUNC; in insn_is_pseudo_func() 3648 if (insn->src_reg != BPF_PSEUDO_CALL) { in bpf_program__record_reloc() 5311 insn[0].src_reg = BPF_PSEUDO_MAP_IDX; in bpf_object__relocate_data() 5314 insn[0].src_reg = BPF_PSEUDO_MAP_FD; in bpf_object__relocate_data() 5321 insn[0].src_reg = BPF_PSEUDO_MAP_IDX_VALUE; in bpf_object__relocate_data() 5324 insn[0].src_reg = BPF_PSEUDO_MAP_VALUE; in bpf_object__relocate_data() 5332 insn[0].src_reg = BPF_PSEUDO_MAP_IDX_VALUE; in bpf_object__relocate_data() 5335 insn[0].src_reg = BPF_PSEUDO_MAP_VALUE; in bpf_object__relocate_data() 5341 insn[0].src_reg = BPF_PSEUDO_BTF_ID; in bpf_object__relocate_data() [all …]
|
/tools/testing/selftests/bpf/prog_tests/ |
D | btf_dump.c | 686 {.code = (__u8)1,.dst_reg = (__u8)0x2,.src_reg = (__u8)0x3,.off = (__s16)4,.imm = (__s32)5,}); in test_btf_dump_struct_data() 690 { .code = 1, .dst_reg = 0x2, .src_reg = 0x3, .off = 4, in test_btf_dump_struct_data() 700 {.code = 1, .dst_reg = 2, .src_reg = 3, .off = 4, .imm = 5}); in test_btf_dump_struct_data()
|
/tools/testing/selftests/filesystems/fuse/ |
D | bpf_loader.c | 695 insns[insn_idx].src_reg = BPF_PSEUDO_MAP_FD; in relocate_maps()
|
/tools/include/uapi/linux/ |
D | bpf.h | 74 __u8 src_reg:4; /* source register */ member
|