/linux-master/kernel/bpf/ |
H A D | disasm.h | 25 const struct bpf_insn *insn); 27 const struct bpf_insn *insn, 38 const struct bpf_insn *insn,
|
H A D | disasm.c | 17 const struct bpf_insn *insn, 44 const struct bpf_insn *insn, 140 const struct bpf_insn *insn) 150 const struct bpf_insn *insn) 157 static bool is_sdiv_smod(const struct bpf_insn *insn) 163 static bool is_movsx(const struct bpf_insn *insn) 169 static bool is_addr_space_cast(const struct bpf_insn *insn) 176 const struct bpf_insn *insn,
|
/linux-master/tools/perf/util/ |
H A D | bpf-prologue.h | 10 struct bpf_insn; 18 struct bpf_insn *new_prog, size_t *new_cnt, 27 struct bpf_insn *new_prog __maybe_unused,
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | disasm.h | 25 const struct bpf_insn *insn); 27 const struct bpf_insn *insn, 38 const struct bpf_insn *insn,
|
H A D | testing_helpers.h | 19 int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, 51 struct bpf_insn; 55 int get_xlated_program(int fd_prog, struct bpf_insn **buf, __u32 *cnt);
|
H A D | test_verifier.c | 90 struct bpf_insn insns[MAX_INSNS]; 91 struct bpf_insn *fill_insns; 103 struct bpf_insn expected_insns[MAX_EXPECTED_INSNS]; 108 struct bpf_insn unexpected_insns[MAX_UNEXPECTED_INSNS]; 196 struct bpf_insn *insn = self->fill_insns; 239 struct bpf_insn *insn = self->fill_insns; 261 struct bpf_insn *insn = self->fill_insns; 268 struct bpf_insn tmp[2] = { BPF_LD_IMM64(BPF_REG_1, val) }; 289 struct bpf_insn *insn = self->fill_insns; 315 struct bpf_insn *ins [all...] |
H A D | disasm.c | 17 const struct bpf_insn *insn, 44 const struct bpf_insn *insn, 140 const struct bpf_insn *insn) 150 const struct bpf_insn *insn) 157 static bool is_sdiv_smod(const struct bpf_insn *insn) 163 static bool is_movsx(const struct bpf_insn *insn) 169 static bool is_addr_space_cast(const struct bpf_insn *insn) 176 const struct bpf_insn *insn,
|
/linux-master/tools/include/linux/ |
H A D | filter.h | 35 ((struct bpf_insn) { \ 43 ((struct bpf_insn) { \ 53 ((struct bpf_insn) { \ 61 ((struct bpf_insn) { \ 71 ((struct bpf_insn) { \ 81 ((struct bpf_insn) { \ 89 ((struct bpf_insn) { \ 99 ((struct bpf_insn) { \ 107 ((struct bpf_insn) { \ 117 ((struct bpf_insn) { \ [all...] |
/linux-master/samples/bpf/ |
H A D | bpf_insn.h | 6 struct bpf_insn; 11 ((struct bpf_insn) { \ 19 ((struct bpf_insn) { \ 29 ((struct bpf_insn) { \ 37 ((struct bpf_insn) { \ 47 ((struct bpf_insn) { \ 55 ((struct bpf_insn) { \ 65 ((struct bpf_insn) { \ 73 ((struct bpf_insn) { \ 85 ((struct bpf_insn) { \ [all...] |
H A D | test_cgrp2_sock.c | 26 #include "bpf_insn.h" 33 struct bpf_insn prog_start[] = { 36 struct bpf_insn prog_end[] = { 42 struct bpf_insn prog_dev[] = { 49 struct bpf_insn prog_mark[] = { 67 struct bpf_insn prog_prio[] = { 78 struct bpf_insn *prog; 120 insns_cnt /= sizeof(struct bpf_insn);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | raw_tp_writable_reject_nbd_invalid.c | 12 const struct bpf_insn program[] = { 28 program, sizeof(program) / sizeof(struct bpf_insn),
|
H A D | raw_tp_writable_test_run.c | 12 const struct bpf_insn trace_program[] = { 27 trace_program, sizeof(trace_program) / sizeof(struct bpf_insn), 33 const struct bpf_insn skb_program[] = { 44 skb_program, sizeof(skb_program) / sizeof(struct bpf_insn),
|
H A D | kptr_xchg_inline.c | 11 struct bpf_insn *insn = NULL; 12 struct bpf_insn exp;
|
H A D | fexit_stress.c | 19 const struct bpf_insn trace_program[] = { 39 sizeof(trace_program) / sizeof(struct bpf_insn),
|
H A D | flow_dissector_load_bytes.c | 8 struct bpf_insn prog[] = {
|
H A D | module_fentry_shadow.c | 73 const struct bpf_insn trace_program[] = { 103 sizeof(trace_program) / sizeof(struct bpf_insn),
|
H A D | signal_pending.c | 12 struct bpf_insn prog[4096];
|
H A D | xdp_dev_bound_only.c | 10 struct bpf_insn insns[] = { BPF_MOV64_IMM(BPF_REG_0, 0), BPF_EXIT_INSN() };
|
/linux-master/tools/lib/bpf/ |
H A D | gen_loader.c | 96 static void emit(struct bpf_gen *gen, struct bpf_insn insn) 104 static void emit2(struct bpf_gen *gen, struct bpf_insn insn1, struct bpf_insn insn2) 672 /* try to copy from existing bpf_insn */ 674 move_blob2blob(gen, insn + offsetof(struct bpf_insn, imm), 4, 675 kdesc->insn + offsetof(struct bpf_insn, imm)); 676 move_blob2blob(gen, insn + offsetof(struct bpf_insn, off), 2, 677 kdesc->insn + offsetof(struct bpf_insn, off)); 697 emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0)); 698 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, of [all...] |
H A D | features.c | 26 struct bpf_insn insns[] = { 51 struct bpf_insn insns[] = { 233 struct bpf_insn insns[] = { 254 struct bpf_insn insns[] = { 271 struct bpf_insn insns[] = { 339 struct bpf_insn insns[] = { 375 struct bpf_insn insns[] = { 404 struct bpf_insn insns[] = { 450 const struct bpf_insn insns[] = {
|
/linux-master/arch/riscv/kernel/ |
H A D | cfi.c | 80 struct bpf_insn; 84 const struct bpf_insn *insn);
|
/linux-master/include/linux/ |
H A D | filter.h | 100 ((struct bpf_insn) { \ 111 ((struct bpf_insn) { \ 124 ((struct bpf_insn) { \ 134 ((struct bpf_insn) { \ 146 ((struct bpf_insn) { \ 156 ((struct bpf_insn) { \ 166 ((struct bpf_insn) { \ 174 ((struct bpf_insn) { \ 184 ((struct bpf_insn) { \ 192 ((struct bpf_insn) { \ [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | cfg.c | 20 struct bpf_insn *start; 21 struct bpf_insn *end; 30 struct bpf_insn *head; 31 struct bpf_insn *tail; 63 static struct func_node *cfg_append_func(struct cfg *cfg, struct bpf_insn *insn) 89 struct bpf_insn *insn) 131 static bool cfg_partition_funcs(struct cfg *cfg, struct bpf_insn *cur, 132 struct bpf_insn *end) 167 struct bpf_insn *cur, *end; 244 struct bpf_insn *ins [all...] |
H A D | xlated_dumper.c | 148 const struct bpf_insn *insn) 177 const struct bpf_insn *insn) 195 const struct bpf_insn *insn, 229 struct bpf_insn *insn = buf; 314 struct bpf_insn *insn = buf; 380 struct bpf_insn *insn_start = buf_start; 381 struct bpf_insn *insn_end = buf_end; 382 struct bpf_insn *cur = insn_start;
|
/linux-master/arch/loongarch/net/ |
H A D | bpf_jit.h | 47 static inline int bpf2la_offset(int bpf_insn, int off, const struct jit_ctx *ctx) argument 50 bpf_insn++; 56 return (ctx->offset[bpf_insn + off] - (ctx->offset[bpf_insn] - 1));
|