Symbol: bpf_insn
arch/arc/net/bpf_jit_core.c
1303
const struct bpf_insn *insn = &prog->insnsi[i];
arch/arc/net/bpf_jit_core.c
241
const struct bpf_insn *insn = ctx->prog->insnsi;
arch/arc/net/bpf_jit_core.c
320
const struct bpf_insn *insn)
arch/arc/net/bpf_jit_core.c
331
static inline s32 get_offset(const struct bpf_insn *insn)
arch/arc/net/bpf_jit_core.c
358
const struct bpf_insn *insn)
arch/arc/net/bpf_jit_core.c
364
static inline bool has_imm(const struct bpf_insn *insn)
arch/arc/net/bpf_jit_core.c
477
const struct bpf_insn *insn)
arch/arc/net/bpf_jit_core.c
507
const struct bpf_insn *insn)
arch/arc/net/bpf_jit_core.c
524
const struct bpf_insn *insn)
arch/arc/net/bpf_jit_core.c
571
const struct bpf_insn *insn,
arch/arc/net/bpf_jit_core.c
632
const struct bpf_insn *insn, u8 *len)
arch/arc/net/bpf_jit_core.c
656
const struct bpf_insn *insn,
arch/arc/net/bpf_jit_core.c
693
const struct bpf_insn *insn,
arch/arc/net/bpf_jit_core.c
727
const struct bpf_insn *insn = &ctx->prog->insnsi[idx];
arch/arm/net/bpf_jit_32.c
1589
static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx)
arch/arm/net/bpf_jit_32.c
2111
const struct bpf_insn *insn = &(prog->insnsi[i]);
arch/arm64/net/bpf_jit_comp.c
1129
static int add_exception_handler(const struct bpf_insn *insn,
arch/arm64/net/bpf_jit_comp.c
1253
static int build_insn(const struct bpf_verifier_env *env, const struct bpf_insn *insn,
arch/arm64/net/bpf_jit_comp.c
1685
const struct bpf_insn insn1 = insn[1];
arch/arm64/net/bpf_jit_comp.c
1993
const struct bpf_insn *insn = &prog->insnsi[i];
arch/arm64/net/bpf_jit_comp.c
252
static inline int bpf2a64_offset(int bpf_insn, int off,
arch/arm64/net/bpf_jit_comp.c
256
bpf_insn++;
arch/arm64/net/bpf_jit_comp.c
262
return ctx->offset[bpf_insn + off] - (ctx->offset[bpf_insn] - 1);
arch/arm64/net/bpf_jit_comp.c
3171
bool bpf_jit_supports_insn(struct bpf_insn *insn, bool in_arena)
arch/arm64/net/bpf_jit_comp.c
378
const struct bpf_insn *insn = &prog->insnsi[0];
arch/arm64/net/bpf_jit_comp.c
717
static int emit_atomic_ld_st(const struct bpf_insn *insn, struct jit_ctx *ctx)
arch/arm64/net/bpf_jit_comp.c
792
static int emit_lse_atomic(const struct bpf_insn *insn, struct jit_ctx *ctx)
arch/arm64/net/bpf_jit_comp.c
859
static int emit_ll_sc_atomic(const struct bpf_insn *insn, struct jit_ctx *ctx)
arch/loongarch/net/bpf_jit.c
1480
const struct bpf_insn *insn = &prog->insnsi[i];
arch/loongarch/net/bpf_jit.c
368
static int emit_atomic_rmw(const struct bpf_insn *insn, struct jit_ctx *ctx)
arch/loongarch/net/bpf_jit.c
536
static int emit_atomic_ld_st(const struct bpf_insn *insn, struct jit_ctx *ctx)
arch/loongarch/net/bpf_jit.c
653
static int add_exception_handler(const struct bpf_insn *insn,
arch/loongarch/net/bpf_jit.c
715
static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extra_pass)
arch/loongarch/net/bpf_jit.h
55
static inline int bpf2la_offset(int bpf_insn, int off, const struct jit_ctx *ctx)
arch/loongarch/net/bpf_jit.h
58
bpf_insn++;
arch/loongarch/net/bpf_jit.h
64
return (ctx->offset[bpf_insn + off] - (ctx->offset[bpf_insn] - 1));
arch/mips/net/bpf_jit_comp.c
857
const struct bpf_insn *insn = &prog->insnsi[i];
arch/mips/net/bpf_jit_comp.h
233
int build_insn(const struct bpf_insn *insn, struct jit_context *ctx);
arch/mips/net/bpf_jit_comp32.c
1263
static int emit_call(struct jit_context *ctx, const struct bpf_insn *insn)
arch/mips/net/bpf_jit_comp32.c
1463
int build_insn(const struct bpf_insn *insn, struct jit_context *ctx)
arch/mips/net/bpf_jit_comp64.c
439
static int emit_call(struct jit_context *ctx, const struct bpf_insn *insn)
arch/mips/net/bpf_jit_comp64.c
635
int build_insn(const struct bpf_insn *insn, struct jit_context *ctx)
arch/parisc/net/bpf_jit.h
476
int bpf_jit_emit_insn(const struct bpf_insn *insn, struct hppa_jit_context *ctx,
arch/parisc/net/bpf_jit_comp32.c
1116
int bpf_jit_emit_insn(const struct bpf_insn *insn, struct hppa_jit_context *ctx,
arch/parisc/net/bpf_jit_comp32.c
1403
struct bpf_insn insn1 = insn[1];
arch/parisc/net/bpf_jit_comp64.c
1001
struct bpf_insn insn1 = insn[1];
arch/parisc/net/bpf_jit_comp64.c
407
static void init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn,
arch/parisc/net/bpf_jit_comp64.c
592
int bpf_jit_emit_insn(const struct bpf_insn *insn, struct hppa_jit_context *ctx,
arch/parisc/net/bpf_jit_core.c
23
const struct bpf_insn *insn = &prog->insnsi[i];
arch/powerpc/net/bpf_jit_comp.c
556
bool bpf_jit_supports_insn(struct bpf_insn *insn, bool in_arena)
arch/powerpc/net/bpf_jit_comp32.c
325
const struct bpf_insn *insn = fp->insnsi;
arch/powerpc/net/bpf_jit_comp64.c
616
const struct bpf_insn *insn)
arch/powerpc/net/bpf_jit_comp64.c
767
const struct bpf_insn *insn, u32 *jmp_off,
arch/powerpc/net/bpf_jit_comp64.c
901
static int emit_atomic_ld_st(const struct bpf_insn insn, struct codegen_context *ctx, u32 *image)
arch/powerpc/net/bpf_jit_comp64.c
972
const struct bpf_insn *insn = fp->insnsi;
arch/riscv/net/bpf_jit.h
1327
int bpf_jit_emit_insn(const struct bpf_insn *insn, struct rv_jit_context *ctx,
arch/riscv/net/bpf_jit_comp32.c
1233
struct bpf_insn insn1 = insn[1];
arch/riscv/net/bpf_jit_comp32.c
953
int bpf_jit_emit_insn(const struct bpf_insn *insn, struct rv_jit_context *ctx,
arch/riscv/net/bpf_jit_comp64.c
1369
int bpf_jit_emit_insn(const struct bpf_insn *insn, struct rv_jit_context *ctx,
arch/riscv/net/bpf_jit_comp64.c
1868
struct bpf_insn insn1 = insn[1];
arch/riscv/net/bpf_jit_comp64.c
2120
bool bpf_jit_supports_insn(struct bpf_insn *insn, bool in_arena)
arch/riscv/net/bpf_jit_comp64.c
406
static void init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn,
arch/riscv/net/bpf_jit_comp64.c
564
static int emit_atomic_ld_st(u8 rd, u8 rs, const struct bpf_insn *insn,
arch/riscv/net/bpf_jit_comp64.c
606
static int emit_atomic_rmw(u8 rd, u8 rs, const struct bpf_insn *insn,
arch/riscv/net/bpf_jit_comp64.c
765
static int add_exception_handler(const struct bpf_insn *insn, int dst_reg,
arch/riscv/net/bpf_jit_core.c
25
const struct bpf_insn *insn = &prog->insnsi[i];
arch/s390/net/bpf_jit_comp.c
2302
struct bpf_insn *insn;
arch/s390/net/bpf_jit_comp.c
3026
bool bpf_jit_supports_insn(struct bpf_insn *insn, bool in_arena)
arch/s390/net/bpf_jit_comp.c
741
static void bpf_jit_probe_load_pre(struct bpf_jit *jit, struct bpf_insn *insn,
arch/s390/net/bpf_jit_comp.c
758
static void bpf_jit_probe_store_pre(struct bpf_jit *jit, struct bpf_insn *insn,
arch/s390/net/bpf_jit_comp.c
771
struct bpf_insn *insn,
arch/s390/net/bpf_jit_comp.c
879
struct bpf_insn *insn = &fp->insnsi[i];
arch/sparc/net/bpf_jit_comp_64.c
1245
const struct bpf_insn insn1 = insn[1];
arch/sparc/net/bpf_jit_comp_64.c
1444
const struct bpf_insn *insn = &prog->insnsi[i];
arch/sparc/net/bpf_jit_comp_64.c
895
static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx)
arch/x86/net/bpf_jit_comp.c
1533
static void detect_reg_usage(struct bpf_insn *insn, int insn_cnt,
arch/x86/net/bpf_jit_comp.c
1685
struct bpf_insn *insn = bpf_prog->insnsi;
arch/x86/net/bpf_jit_comp.c
4189
bool bpf_jit_supports_insn(struct bpf_insn *insn, bool in_arena)
arch/x86/net/bpf_jit_comp32.c
1570
const struct bpf_insn *insn, u8 **pprog)
arch/x86/net/bpf_jit_comp32.c
1662
struct bpf_insn *insn = bpf_prog->insnsi;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1297
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1328
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1361
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1402
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1439
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1505
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1838
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1901
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1915
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1926
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1940
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1961
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
1976
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2021
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2060
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2135
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2172
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2247
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2289
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2328
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2338
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2444
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2468
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2487
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2495
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2526
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2534
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2552
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3135
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3164
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3177
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3199
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3233
const struct bpf_insn *insn = &meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3891
struct bpf_insn insn = meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3917
struct bpf_insn insn = meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
3966
struct bpf_insn insn, next;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4000
struct bpf_insn insn, next1, next2;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4050
struct bpf_insn *ld = &ld_meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4051
struct bpf_insn *st = &st_meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4086
struct bpf_insn *prev_ld,
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4087
struct bpf_insn *prev_st)
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4090
struct bpf_insn *ld = &ld_meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4091
struct bpf_insn *st = &st_meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4138
cross_mem_access(struct bpf_insn *ld, struct nfp_insn_meta *head_ld_meta,
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4189
struct bpf_insn *prev_ld = NULL;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4190
struct bpf_insn *prev_st = NULL;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4194
struct bpf_insn *ld = &meta1->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4195
struct bpf_insn *st = &meta2->insn;
drivers/net/ethernet/netronome/nfp/bpf/jit.c
4279
struct bpf_insn *insn;
drivers/net/ethernet/netronome/nfp/bpf/main.h
301
struct bpf_insn insn;
drivers/net/ethernet/netronome/nfp/bpf/main.h
306
struct bpf_insn *paired_st;
drivers/net/ethernet/netronome/nfp/bpf/main.h
462
struct bpf_insn insn = meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/main.h
470
struct bpf_insn insn = meta->insn;
drivers/net/ethernet/netronome/nfp/bpf/main.h
571
struct bpf_insn *insn);
drivers/net/ethernet/netronome/nfp/bpf/offload.c
149
nfp_prog_prepare(struct nfp_prog *nfp_prog, const struct bpf_insn *prog,
drivers/net/ethernet/netronome/nfp/bpf/verifier.c
808
struct bpf_insn *insn)
include/linux/bpf-cgroup.h
27
const struct bpf_insn *insn);
include/linux/bpf-cgroup.h
29
const struct bpf_insn *insn);
include/linux/bpf-cgroup.h
31
const struct bpf_insn *insn);
include/linux/bpf.h
1111
static bool bpf_is_ldimm64(const struct bpf_insn *insn)
include/linux/bpf.h
1116
static inline bool bpf_pseudo_func(const struct bpf_insn *insn)
include/linux/bpf.h
1125
bpf_atomic_is_load_store(const struct bpf_insn *atomic_insn)
include/linux/bpf.h
1154
int (*gen_prologue)(struct bpf_insn *insn, bool direct_write,
include/linux/bpf.h
1156
int (*gen_epilogue)(struct bpf_insn *insn, const struct bpf_prog *prog,
include/linux/bpf.h
1158
int (*gen_ld_abs)(const struct bpf_insn *orig,
include/linux/bpf.h
1159
struct bpf_insn *insn_buf);
include/linux/bpf.h
1161
const struct bpf_insn *src,
include/linux/bpf.h
1162
struct bpf_insn *dst,
include/linux/bpf.h
1176
struct bpf_insn *insn);
include/linux/bpf.h
127
int (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf);
include/linux/bpf.h
1451
const struct bpf_insn *insnsi,
include/linux/bpf.h
1573
const struct bpf_insn *insnsi, \
include/linux/bpf.h
1585
const struct bpf_insn *insnsi, \
include/linux/bpf.h
1895
const struct bpf_insn *insn);
include/linux/bpf.h
1901
DECLARE_FLEX_ARRAY(struct bpf_insn, insnsi);
include/linux/bpf.h
2466
const struct bpf_insn *src,
include/linux/bpf.h
2467
struct bpf_insn *dst,
include/linux/bpf.h
3051
int bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth);
include/linux/bpf.h
3176
const struct bpf_insn *insn);
include/linux/bpf.h
3519
const struct bpf_insn *insn)
include/linux/bpf.h
3963
const struct bpf_insn *si,
include/linux/bpf.h
3964
struct bpf_insn *insn_buf,
include/linux/bpf.h
3983
const struct bpf_insn *si,
include/linux/bpf.h
3984
struct bpf_insn *insn_buf,
include/linux/bpf.h
4012
const struct bpf_insn *si,
include/linux/bpf.h
4013
struct bpf_insn *insn_buf,
include/linux/bpf.h
4021
const struct bpf_insn *si,
include/linux/bpf.h
4022
struct bpf_insn *insn_buf,
include/linux/bpf.h
4034
const struct bpf_insn *si,
include/linux/bpf.h
4035
struct bpf_insn *insn_buf,
include/linux/bpf.h
4049
const struct bpf_insn *si,
include/linux/bpf.h
4050
struct bpf_insn *insn_buf,
include/linux/bpf.h
78
const struct bpf_insn *);
include/linux/bpf_verifier.h
1010
struct bpf_insn insn_buf[INSN_BUF_SIZE];
include/linux/bpf_verifier.h
1011
struct bpf_insn epilogue_buf[INSN_BUF_SIZE];
include/linux/bpf_verifier.h
1037
static inline bool bpf_helper_call(const struct bpf_insn *insn)
include/linux/bpf_verifier.h
1043
static inline bool bpf_pseudo_call(const struct bpf_insn *insn)
include/linux/bpf_verifier.h
1049
static inline bool bpf_pseudo_kfunc_call(const struct bpf_insn *insn)
include/linux/bpf_verifier.h
1136
struct bpf_insn *insn);
include/linux/bpf_verifier.h
1385
static inline bool insn_is_gotox(struct bpf_insn *insn)
include/linux/bpf_verifier.h
1404
int bpf_jmp_offset(struct bpf_insn *insn);
include/linux/bpf_verifier.h
1410
bool bpf_is_throw_kfunc(struct bpf_insn *insn);
include/linux/bpf_verifier.h
1494
bool bpf_is_async_callback_calling_insn(struct bpf_insn *insn);
include/linux/bpf_verifier.h
1495
bool bpf_is_sync_callback_calling_insn(struct bpf_insn *insn);
include/linux/bpf_verifier.h
1509
bool bpf_is_may_goto_insn(struct bpf_insn *insn);
include/linux/bpf_verifier.h
1511
void bpf_verbose_insn(struct bpf_verifier_env *env, struct bpf_insn *insn);
include/linux/bpf_verifier.h
1512
bool bpf_get_call_summary(struct bpf_verifier_env *env, struct bpf_insn *call,
include/linux/bpf_verifier.h
1515
struct bpf_insn *insn, int arg,
include/linux/bpf_verifier.h
1518
struct bpf_insn *insn, int arg,
include/linux/bpf_verifier.h
1586
bool bpf_is_reg64(struct bpf_insn *insn, u32 regno, struct bpf_reg_state *reg, enum bpf_reg_arg_type t);
include/linux/bpf_verifier.h
1592
int bpf_fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn,
include/linux/bpf_verifier.h
1593
struct bpf_insn *insn_buf, int insn_idx, int *cnt);
include/linux/filter.h
1044
return prog->len * sizeof(struct bpf_insn);
include/linux/filter.h
107
((struct bpf_insn) { \
include/linux/filter.h
118
((struct bpf_insn) { \
include/linux/filter.h
1190
bool bpf_jit_supports_insn(struct bpf_insn *insn, bool in_arena);
include/linux/filter.h
1209
const struct bpf_insn *patch, u32 len);
include/linux/filter.h
1213
const struct bpf_insn *patch, u32 len);
include/linux/filter.h
1219
const struct bpf_insn *patch, u32 len)
include/linux/filter.h
131
((struct bpf_insn) { \
include/linux/filter.h
1366
const struct bpf_insn *insn, bool extra_pass,
include/linux/filter.h
141
((struct bpf_insn) { \
include/linux/filter.h
153
((struct bpf_insn) { \
include/linux/filter.h
163
((struct bpf_insn) { \
include/linux/filter.h
173
((struct bpf_insn) { \
include/linux/filter.h
181
((struct bpf_insn) { \
include/linux/filter.h
195
((struct bpf_insn) { \
include/linux/filter.h
202
static inline bool insn_is_mov_percpu_addr(const struct bpf_insn *insn)
include/linux/filter.h
210
((struct bpf_insn) { \
include/linux/filter.h
218
((struct bpf_insn) { \
include/linux/filter.h
228
((struct bpf_insn) { \
include/linux/filter.h
236
((struct bpf_insn) { \
include/linux/filter.h
245
((struct bpf_insn) { \
include/linux/filter.h
252
static inline bool insn_is_zext(const struct bpf_insn *insn)
include/linux/filter.h
260
static inline bool insn_is_cast_user(const struct bpf_insn *insn)
include/linux/filter.h
272
((struct bpf_insn) { \
include/linux/filter.h
278
((struct bpf_insn) { \
include/linux/filter.h
292
((struct bpf_insn) { \
include/linux/filter.h
300
((struct bpf_insn) { \
include/linux/filter.h
310
((struct bpf_insn) { \
include/linux/filter.h
320
((struct bpf_insn) { \
include/linux/filter.h
330
((struct bpf_insn) { \
include/linux/filter.h
340
((struct bpf_insn) { \
include/linux/filter.h
350
((struct bpf_insn) { \
include/linux/filter.h
376
((struct bpf_insn) { \
include/linux/filter.h
389
((struct bpf_insn) { \
include/linux/filter.h
399
((struct bpf_insn) { \
include/linux/filter.h
409
((struct bpf_insn) { \
include/linux/filter.h
419
((struct bpf_insn) { \
include/linux/filter.h
429
((struct bpf_insn) { \
include/linux/filter.h
439
((struct bpf_insn) { \
include/linux/filter.h
449
((struct bpf_insn) { \
include/linux/filter.h
459
((struct bpf_insn) { \
include/linux/filter.h
471
((struct bpf_insn) { \
include/linux/filter.h
481
((struct bpf_insn) { \
include/linux/filter.h
491
((struct bpf_insn) { \
include/linux/filter.h
501
((struct bpf_insn) { \
include/linux/filter.h
511
((struct bpf_insn) { \
include/linux/filter.h
697
const struct bpf_insn *insnsi,
include/linux/filter.h
699
const struct bpf_insn *));
include/linux/filter.h
753
static inline bool is_stack_arg_ldx(const struct bpf_insn *insn)
include/linux/filter.h
760
static inline bool is_stack_arg_st(const struct bpf_insn *insn)
include/linux/filter.h
767
static inline bool is_stack_arg_stx(const struct bpf_insn *insn)
kernel/bpf/arena.c
46
#define GUARD_SZ round_up(1ull << sizeof_field(struct bpf_insn, off) * 8, PAGE_SIZE << 1)
kernel/bpf/arraymap.c
1414
struct bpf_insn *insn_buf)
kernel/bpf/arraymap.c
1418
struct bpf_insn *insn = insn_buf;
kernel/bpf/arraymap.c
218
static int array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
kernel/bpf/arraymap.c
221
struct bpf_insn *insn = insn_buf;
kernel/bpf/arraymap.c
263
static int percpu_array_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
kernel/bpf/arraymap.c
266
struct bpf_insn *insn = insn_buf;
kernel/bpf/backtrack.c
270
struct bpf_insn *insn = env->prog->insnsi + idx;
kernel/bpf/backtrack.c
57
static bool is_atomic_load_insn(const struct bpf_insn *insn)
kernel/bpf/backtrack.c
64
static bool is_atomic_fetch_insn(const struct bpf_insn *insn)
kernel/bpf/cfg.c
150
static int visit_func_call_insn(int t, struct bpf_insn *insns,
kernel/bpf/cfg.c
428
struct bpf_insn *insns = env->prog->insnsi, *insn = &insns[t];
kernel/bpf/cfg.c
623
struct bpf_insn *insn = &env->prog->insnsi[i];
kernel/bpf/cgroup.c
119
const struct bpf_insn *insn)
kernel/bpf/cgroup.c
141
const struct bpf_insn *insn)
kernel/bpf/cgroup.c
163
const struct bpf_insn *insn)
kernel/bpf/cgroup.c
2454
const struct bpf_insn *si,
kernel/bpf/cgroup.c
2455
struct bpf_insn *insn_buf,
kernel/bpf/cgroup.c
2458
struct bpf_insn *insn = insn_buf;
kernel/bpf/cgroup.c
2654
const struct bpf_insn *si,
kernel/bpf/cgroup.c
2655
struct bpf_insn *insn_buf,
kernel/bpf/cgroup.c
2659
struct bpf_insn *insn = insn_buf;
kernel/bpf/cgroup.c
2731
static int cg_sockopt_get_prologue(struct bpf_insn *insn_buf,
kernel/bpf/const_fold.c
242
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/const_fold.c
267
struct bpf_insn *insn = &insns[idx];
kernel/bpf/const_fold.c
348
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/const_fold.c
355
struct bpf_insn *insn = &insns[i];
kernel/bpf/const_fold.c
51
struct bpf_insn *insn, struct bpf_insn *insns, int idx)
kernel/bpf/core.c
1303
const struct bpf_insn *insn, bool extra_pass,
kernel/bpf/core.c
1349
static int bpf_jit_blind_insn(const struct bpf_insn *from,
kernel/bpf/core.c
1350
const struct bpf_insn *aux,
kernel/bpf/core.c
1351
struct bpf_insn *to_buff,
kernel/bpf/core.c
1354
struct bpf_insn *to = to_buff;
kernel/bpf/core.c
1493
*to++ = (struct bpf_insn) {
kernel/bpf/core.c
1556
struct bpf_insn insn_buff[16], aux[2];
kernel/bpf/core.c
1559
struct bpf_insn *insn;
kernel/bpf/core.c
1841
const struct bpf_insn *insn);
kernel/bpf/core.c
1852
static u64 ___bpf_prog_run(u64 *regs, const struct bpf_insn *insn)
kernel/bpf/core.c
2401
static unsigned int PROG_NAME(stack_size)(const void *ctx, const struct bpf_insn *insn) \
kernel/bpf/core.c
2415
const struct bpf_insn *insn) \
kernel/bpf/core.c
2448
const struct bpf_insn *insn) = {
kernel/bpf/core.c
2457
const struct bpf_insn *insn) = {
kernel/bpf/core.c
2465
int bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth)
kernel/bpf/core.c
2486
const struct bpf_insn *insn)
kernel/bpf/core.c
2741
const struct bpf_insn *insn)
kernel/bpf/core.c
304
struct bpf_insn *dst;
kernel/bpf/core.c
3312
bool __weak bpf_jit_supports_insn(struct bpf_insn *insn, bool in_arena)
kernel/bpf/core.c
339
static int bpf_adj_delta_to_imm(struct bpf_insn *insn, u32 pos, s32 end_old,
kernel/bpf/core.c
357
static int bpf_adj_delta_to_off(struct bpf_insn *insn, u32 pos, s32 end_old,
kernel/bpf/core.c
392
struct bpf_insn *insn = prog->insnsi;
kernel/bpf/core.c
456
const struct bpf_insn *patch, u32 len)
kernel/bpf/core.c
524
sizeof(struct bpf_insn) * (prog->len - off - cnt));
kernel/bpf/disasm.c
140
const struct bpf_insn *insn)
kernel/bpf/disasm.c
150
const struct bpf_insn *insn)
kernel/bpf/disasm.c
157
static bool is_sdiv_smod(const struct bpf_insn *insn)
kernel/bpf/disasm.c
163
static bool is_movsx(const struct bpf_insn *insn)
kernel/bpf/disasm.c
169
static bool is_addr_space_cast(const struct bpf_insn *insn)
kernel/bpf/disasm.c
17
const struct bpf_insn *insn,
kernel/bpf/disasm.c
181
static inline bool is_mov_percpu_addr(const struct bpf_insn *insn)
kernel/bpf/disasm.c
187
const struct bpf_insn *insn,
kernel/bpf/disasm.c
44
const struct bpf_insn *insn,
kernel/bpf/disasm.h
25
const struct bpf_insn *insn);
kernel/bpf/disasm.h
27
const struct bpf_insn *insn,
kernel/bpf/disasm.h
38
const struct bpf_insn *insn,
kernel/bpf/fixups.c
1033
struct bpf_insn *insn;
kernel/bpf/fixups.c
1097
len * sizeof(struct bpf_insn));
kernel/bpf/fixups.c
128
struct bpf_insn *insn, int cnt)
kernel/bpf/fixups.c
1300
struct bpf_insn *insn;
kernel/bpf/fixups.c
1380
struct bpf_insn *insn = prog->insnsi;
kernel/bpf/fixups.c
144
const struct bpf_insn *insn, int idx)
kernel/bpf/fixups.c
1452
static int add_hidden_subprog(struct bpf_verifier_env *env, struct bpf_insn *patch, int len)
kernel/bpf/fixups.c
1486
struct bpf_insn *insn = prog->insnsi;
kernel/bpf/fixups.c
1491
struct bpf_insn *insn_buf = env->insn_buf;
kernel/bpf/fixups.c
1500
struct bpf_insn *patch = insn_buf;
kernel/bpf/fixups.c
1541
struct bpf_insn *patch = insn_buf;
kernel/bpf/fixups.c
1571
struct bpf_insn *patch = insn_buf;
kernel/bpf/fixups.c
16
static bool is_cmpxchg_insn(const struct bpf_insn *insn)
kernel/bpf/fixups.c
163
struct bpf_insn *insn = new_prog->insnsi;
kernel/bpf/fixups.c
1657
struct bpf_insn *patch = insn_buf;
kernel/bpf/fixups.c
1708
struct bpf_insn *patch = insn_buf;
kernel/bpf/fixups.c
1942
struct bpf_insn ld_addrs[2] = {
kernel/bpf/fixups.c
2082
struct bpf_insn ld_jiffies_addr[2] = {
kernel/bpf/fixups.c
24
static int insn_def_regno(const struct bpf_insn *insn)
kernel/bpf/fixups.c
2439
struct bpf_insn *insn_buf = env->insn_buf;
kernel/bpf/fixups.c
248
const struct bpf_insn *patch, u32 len)
kernel/bpf/fixups.c
2502
static bool is_bpf_loop_call(struct bpf_insn *insn)
kernel/bpf/fixups.c
2522
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/fixups.c
2570
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/fixups.c
285
struct bpf_insn *insn = prog->insnsi;
kernel/bpf/fixups.c
443
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/fixups.c
48
static bool insn_has_def32(struct bpf_insn *insn)
kernel/bpf/fixups.c
490
static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0);
kernel/bpf/fixups.c
491
static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0);
kernel/bpf/fixups.c
510
struct bpf_insn ja = BPF_JMP_IMM(BPF_JA, 0, 0, 0);
kernel/bpf/fixups.c
511
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/fixups.c
559
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/fixups.c
585
struct bpf_insn *patch;
kernel/bpf/fixups.c
587
struct bpf_insn *zext_patch = env->insn_buf;
kernel/bpf/fixups.c
588
struct bpf_insn *rnd_hi32_patch = &env->insn_buf[2];
kernel/bpf/fixups.c
591
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/fixups.c
602
struct bpf_insn insn;
kernel/bpf/fixups.c
694
struct bpf_insn *epilogue_buf = env->epilogue_buf;
kernel/bpf/fixups.c
695
struct bpf_insn *insn_buf = env->insn_buf;
kernel/bpf/fixups.c
696
struct bpf_insn *insn;
kernel/bpf/fixups.c
72
const struct bpf_insn *insn)
kernel/bpf/fixups.c
766
struct bpf_insn *patch = insn_buf;
kernel/bpf/fixups.c
839
struct bpf_insn *patch = insn_buf;
kernel/bpf/hashtab.c
2415
static int htab_percpu_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
kernel/bpf/hashtab.c
2417
struct bpf_insn *insn = insn_buf;
kernel/bpf/hashtab.c
2706
struct bpf_insn *insn_buf)
kernel/bpf/hashtab.c
2708
struct bpf_insn *insn = insn_buf;
kernel/bpf/hashtab.c
3094
static int rhtab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
kernel/bpf/hashtab.c
3096
struct bpf_insn *insn = insn_buf;
kernel/bpf/hashtab.c
776
static int htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
kernel/bpf/hashtab.c
778
struct bpf_insn *insn = insn_buf;
kernel/bpf/hashtab.c
816
struct bpf_insn *insn_buf)
kernel/bpf/hashtab.c
818
struct bpf_insn *insn = insn_buf;
kernel/bpf/liveness.c
1005
static void clear_stack_for_all_offs(struct bpf_insn *insn,
kernel/bpf/liveness.c
1031
static void arg_track_log(struct bpf_verifier_env *env, struct bpf_insn *insn, int idx,
kernel/bpf/liveness.c
1094
static void arg_track_xfer(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/liveness.c
1338
struct bpf_insn *insn = &env->prog->insnsi[insn_idx];
kernel/bpf/liveness.c
1403
struct bpf_insn *insn,
kernel/bpf/liveness.c
1443
struct bpf_insn *insn = &env->prog->insnsi[insn_idx];
kernel/bpf/liveness.c
1473
struct bpf_insn *insn, int insn_idx,
kernel/bpf/liveness.c
1530
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/liveness.c
1621
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/liveness.c
1686
struct bpf_insn *insn = &insns[idx];
kernel/bpf/liveness.c
1726
struct bpf_insn *insn = &insns[idx];
kernel/bpf/liveness.c
1855
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/liveness.c
1899
struct bpf_insn *insn = &insns[idx];
kernel/bpf/liveness.c
201
int bpf_jmp_offset(struct bpf_insn *insn)
kernel/bpf/liveness.c
2064
struct bpf_insn *insn,
kernel/bpf/liveness.c
2209
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/liveness.c
246
struct bpf_insn *insn = &prog->insnsi[idx];
kernel/bpf/liveness.c
481
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/liveness.c
899
static struct arg_track fill_from_stack(struct bpf_insn *insn,
kernel/bpf/liveness.c
939
static void spill_to_stack(struct bpf_insn *insn, struct arg_track *at_out,
kernel/bpf/offload.c
339
struct bpf_insn *insn)
kernel/bpf/offload.c
408
const struct bpf_insn *insn)
kernel/bpf/syscall.c
2936
prog->len * sizeof(struct bpf_insn));
kernel/bpf/syscall.c
5039
static void prepare_dump_pseudo_call(struct bpf_insn *insn)
kernel/bpf/syscall.c
5062
static struct bpf_insn *bpf_insn_prepare_dump(const struct bpf_prog *prog,
kernel/bpf/syscall.c
5066
struct bpf_insn *insns;
kernel/bpf/syscall.c
5232
struct bpf_insn *insns_sanitized;
kernel/bpf/verifier.c
10171
static int check_helper_call(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
11678
bool bpf_is_throw_kfunc(struct bpf_insn *insn)
kernel/bpf/verifier.c
12559
s64 bpf_helper_stack_access_bytes(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
12677
s64 bpf_kfunc_stack_access_bytes(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
12913
static int check_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
13386
const struct bpf_insn *insn)
kernel/bpf/verifier.c
13411
struct bpf_insn *insn)
kernel/bpf/verifier.c
13432
const struct bpf_insn *insn,
kernel/bpf/verifier.c
13452
struct bpf_insn *insn,
kernel/bpf/verifier.c
13561
const struct bpf_insn *insn, int reason,
kernel/bpf/verifier.c
13630
const struct bpf_insn *insn,
kernel/bpf/verifier.c
13667
struct bpf_insn *insn,
kernel/bpf/verifier.c
14460
static void scalar_byte_swap(struct bpf_reg_state *dst_reg, struct bpf_insn *insn)
kernel/bpf/verifier.c
14509
static bool is_safe_to_compute_dst_reg_range(struct bpf_insn *insn,
kernel/bpf/verifier.c
14559
static int maybe_fork_scalars(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
14593
struct bpf_insn *insn,
kernel/bpf/verifier.c
14751
struct bpf_insn *insn)
kernel/bpf/verifier.c
14918
static int check_alu_op(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
15726
static bool try_match_pkt_pointers(const struct bpf_insn *insn,
kernel/bpf/verifier.c
15947
struct bpf_insn *insn, int *insn_idx)
kernel/bpf/verifier.c
16185
static int check_ld_imm(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
16307
static int check_ld_abs(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
16673
bool bpf_get_call_summary(struct bpf_verifier_env *env, struct bpf_insn *call,
kernel/bpf/verifier.c
16792
struct bpf_insn *insns = env->prog->insnsi, *stx, *ldx;
kernel/bpf/verifier.c
16793
struct bpf_insn *call = &env->prog->insnsi[insn_idx];
kernel/bpf/verifier.c
16878
struct bpf_insn *insn;
kernel/bpf/verifier.c
17177
static int check_indirect_jump(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
17238
struct bpf_insn *insn = &env->prog->insnsi[env->insn_idx];
kernel/bpf/verifier.c
17345
struct bpf_insn *insns = env->prog->insnsi;
kernel/bpf/verifier.c
17351
struct bpf_insn *insn;
kernel/bpf/verifier.c
17601
struct bpf_insn *insn,
kernel/bpf/verifier.c
17684
struct bpf_insn *insn,
kernel/bpf/verifier.c
17904
static int check_alu_fields(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
17978
static int check_jmp_fields(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
18036
static int check_insn_fields(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
18098
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/verifier.c
18260
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/verifier.c
18297
struct bpf_insn trap = BPF_JMP_IMM(BPF_JA, 0, 0, -1);
kernel/bpf/verifier.c
18298
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/verifier.c
19614
struct bpf_insn *insn,
kernel/bpf/verifier.c
19615
struct bpf_insn *insn_buf,
kernel/bpf/verifier.c
19619
struct bpf_insn addr[2] = { BPF_LD_IMM64(struct_meta_reg, (long)kptr_struct_meta) };
kernel/bpf/verifier.c
19628
int bpf_fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
19629
struct bpf_insn *insn_buf, int insn_idx, int *cnt)
kernel/bpf/verifier.c
19661
struct bpf_insn addr[2] = { BPF_LD_IMM64(BPF_REG_2, (long)kptr_struct_meta) };
kernel/bpf/verifier.c
19679
struct bpf_insn addr[2] = { BPF_LD_IMM64(BPF_REG_2, (long)kptr_struct_meta) };
kernel/bpf/verifier.c
19761
struct bpf_insn ld_addrs[2] = { BPF_LD_IMM64(regno, (long)env->prog->aux) };
kernel/bpf/verifier.c
2781
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/verifier.c
2844
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/verifier.c
2907
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/verifier.c
2997
bool bpf_is_reg64(struct bpf_insn *insn,
kernel/bpf/verifier.c
3099
struct bpf_insn *insn = env->prog->insnsi + env->insn_idx;
kernel/bpf/verifier.c
3231
static const char *disasm_kfunc_name(void *data, const struct bpf_insn *insn)
kernel/bpf/verifier.c
3247
void bpf_verbose_insn(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
3402
static bool is_bpf_st_mem(struct bpf_insn *insn)
kernel/bpf/verifier.c
3460
struct bpf_insn *insn = &env->prog->insnsi[insn_idx];
kernel/bpf/verifier.c
3593
struct bpf_insn *insn = &env->prog->insnsi[insn_idx];
kernel/bpf/verifier.c
4470
struct bpf_insn *insn = &env->prog->insnsi[insn_idx];
kernel/bpf/verifier.c
4851
struct bpf_insn *insn)
kernel/bpf/verifier.c
5081
struct bpf_insn *insn = env->prog->insnsi;
kernel/bpf/verifier.c
518
bool bpf_is_sync_callback_calling_insn(struct bpf_insn *insn)
kernel/bpf/verifier.c
524
bool bpf_is_async_callback_calling_insn(struct bpf_insn *insn)
kernel/bpf/verifier.c
530
static bool is_async_cb_sleepable(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
545
bool bpf_is_may_goto_insn(struct bpf_insn *insn)
kernel/bpf/verifier.c
6341
static int check_load_mem(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
6384
static int check_store_reg(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
6423
struct bpf_insn *insn)
kernel/bpf/verifier.c
6515
struct bpf_insn *insn)
kernel/bpf/verifier.c
6534
struct bpf_insn *insn)
kernel/bpf/verifier.c
6552
static int check_atomic(struct bpf_verifier_env *env, struct bpf_insn *insn)
kernel/bpf/verifier.c
9276
static int push_callback_call(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
9348
static int check_func_call(struct bpf_verifier_env *env, struct bpf_insn *insn,
kernel/bpf/verifier.c
9693
struct bpf_insn *insn = env->prog->insnsi;
kernel/trace/bpf_trace.c
1903
const struct bpf_insn *si,
kernel/trace/bpf_trace.c
1904
struct bpf_insn *insn_buf,
kernel/trace/bpf_trace.c
1907
struct bpf_insn *insn = insn_buf;
lib/test_bpf.c
1016
struct bpf_insn *insns, s64 dst, s64 src)
lib/test_bpf.c
1038
struct bpf_insn *insns, s64 dst, s64 src)
lib/test_bpf.c
1305
struct bpf_insn *insns;
lib/test_bpf.c
15048
memcpy(fp->insnsi, fptr, fp->len * sizeof(struct bpf_insn));
lib/test_bpf.c
1520
struct bpf_insn *insns;
lib/test_bpf.c
15411
struct bpf_insn insns[MAX_INSNS];
lib/test_bpf.c
15639
struct bpf_insn *insn = &test->insns[len];
lib/test_bpf.c
15657
memcpy(fp->insnsi, test->insns, len * sizeof(struct bpf_insn));
lib/test_bpf.c
15661
struct bpf_insn *insn = &fp->insnsi[i];
lib/test_bpf.c
1710
struct bpf_insn *insns, s64 dst, s64 src)
lib/test_bpf.c
1757
struct bpf_insn *insns, s64 dst, s64 src)
lib/test_bpf.c
1804
struct bpf_insn *insns, s64 dst, s64 src)
lib/test_bpf.c
1844
struct bpf_insn *insns, s64 dst, s64 src)
lib/test_bpf.c
2010
struct bpf_insn *insn;
lib/test_bpf.c
2257
struct bpf_insn *insn;
lib/test_bpf.c
2309
struct bpf_insn *insn;
lib/test_bpf.c
2418
struct bpf_insn *insns, s64 dst, s64 imm)
lib/test_bpf.c
2441
struct bpf_insn *insns, s64 dst, s64 imm)
lib/test_bpf.c
2462
struct bpf_insn *insns, s64 dst, s64 src)
lib/test_bpf.c
2484
struct bpf_insn *insns, s64 dst, s64 src)
lib/test_bpf.c
272
struct bpf_insn *insn;
lib/test_bpf.c
2814
const struct bpf_insn *jmp,
lib/test_bpf.c
2819
struct bpf_insn *insns;
lib/test_bpf.c
2834
struct bpf_insn *ins = &insns[4 + 3 * ind];
lib/test_bpf.c
2860
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JA, 0, 0, 0);
lib/test_bpf.c
2868
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JEQ, R1, 1234, 0);
lib/test_bpf.c
2875
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JNE, R1, 1234, 0);
lib/test_bpf.c
2882
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JSET, R1, 0x82, 0);
lib/test_bpf.c
2889
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JGT, R1, 1234, 0);
lib/test_bpf.c
2896
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JGE, R1, 1234, 0);
lib/test_bpf.c
2903
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JLT, R1, 0x80000000, 0);
lib/test_bpf.c
2910
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JLE, R1, 1234, 0);
lib/test_bpf.c
2917
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JSGT, R1, -2, 0);
lib/test_bpf.c
2924
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JSGE, R1, -2, 0);
lib/test_bpf.c
2931
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JSLT, R1, -1, 0);
lib/test_bpf.c
2938
struct bpf_insn jmp = BPF_JMP_IMM(BPF_JSLE, R1, -1, 0);
lib/test_bpf.c
2946
struct bpf_insn jmp = BPF_JMP_REG(BPF_JEQ, R1, R2, 0);
lib/test_bpf.c
2953
struct bpf_insn jmp = BPF_JMP_REG(BPF_JNE, R1, R2, 0);
lib/test_bpf.c
2960
struct bpf_insn jmp = BPF_JMP_REG(BPF_JSET, R1, R2, 0);
lib/test_bpf.c
2967
struct bpf_insn jmp = BPF_JMP_REG(BPF_JGT, R1, R2, 0);
lib/test_bpf.c
2974
struct bpf_insn jmp = BPF_JMP_REG(BPF_JGE, R1, R2, 0);
lib/test_bpf.c
298
struct bpf_insn *insn;
lib/test_bpf.c
2981
struct bpf_insn jmp = BPF_JMP_REG(BPF_JLT, R1, R2, 0);
lib/test_bpf.c
2988
struct bpf_insn jmp = BPF_JMP_REG(BPF_JLE, R1, R2, 0);
lib/test_bpf.c
2995
struct bpf_insn jmp = BPF_JMP_REG(BPF_JSGT, R1, R2, 0);
lib/test_bpf.c
3002
struct bpf_insn jmp = BPF_JMP_REG(BPF_JSGE, R1, R2, 0);
lib/test_bpf.c
3009
struct bpf_insn jmp = BPF_JMP_REG(BPF_JSLT, R1, R2, 0);
lib/test_bpf.c
3016
struct bpf_insn jmp = BPF_JMP_REG(BPF_JSLE, R1, R2, 0);
lib/test_bpf.c
3024
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JEQ, R1, 1234, 0);
lib/test_bpf.c
3031
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JNE, R1, 1234, 0);
lib/test_bpf.c
3038
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JSET, R1, 0x82, 0);
lib/test_bpf.c
3045
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JGT, R1, 1234, 0);
lib/test_bpf.c
3052
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JGE, R1, 1234, 0);
lib/test_bpf.c
3059
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JLT, R1, 0x80000000, 0);
lib/test_bpf.c
3066
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JLE, R1, 1234, 0);
lib/test_bpf.c
3073
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JSGT, R1, -2, 0);
lib/test_bpf.c
3080
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JSGE, R1, -2, 0);
lib/test_bpf.c
3087
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JSLT, R1, -1, 0);
lib/test_bpf.c
3094
struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JSLE, R1, -1, 0);
lib/test_bpf.c
3102
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JEQ, R1, R2, 0);
lib/test_bpf.c
3109
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JNE, R1, R2, 0);
lib/test_bpf.c
3116
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JSET, R1, R2, 0);
lib/test_bpf.c
3123
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JGT, R1, R2, 0);
lib/test_bpf.c
3130
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JGE, R1, R2, 0);
lib/test_bpf.c
3137
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JLT, R1, R2, 0);
lib/test_bpf.c
3144
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JLE, R1, R2, 0);
lib/test_bpf.c
3151
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JSGT, R1, R2, 0);
lib/test_bpf.c
3158
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JSGE, R1, R2, 0);
lib/test_bpf.c
3165
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JSLT, R1, R2, 0);
lib/test_bpf.c
3172
struct bpf_insn jmp = BPF_JMP32_REG(BPF_JSLE, R1, R2, 0);
lib/test_bpf.c
434
struct bpf_insn *insn;
lib/test_bpf.c
467
static int __bpf_ld_imm64(struct bpf_insn insns[2], u8 reg, s64 imm64)
lib/test_bpf.c
469
struct bpf_insn tmp[] = {BPF_LD_IMM64(reg, imm64)};
lib/test_bpf.c
483
struct bpf_insn *insns;
lib/test_bpf.c
656
struct bpf_insn *insn;
lib/test_bpf.c
69
struct bpf_insn insns_int[MAX_INSNS];
lib/test_bpf.c
789
struct bpf_insn *insn;
lib/test_bpf.c
875
struct bpf_insn*, s64, s64))
lib/test_bpf.c
878
struct bpf_insn *insns;
lib/test_bpf.c
968
struct bpf_insn *insns, s64 dst, s64 imm)
lib/test_bpf.c
992
struct bpf_insn *insns, s64 dst, s64 imm)
net/core/filter.c
10246
const struct bpf_insn *si,
net/core/filter.c
10247
struct bpf_insn *insn_buf,
net/core/filter.c
10250
struct bpf_insn *insn = insn_buf;
net/core/filter.c
10421
const struct bpf_insn *si,
net/core/filter.c
10422
struct bpf_insn *insn_buf,
net/core/filter.c
10425
struct bpf_insn *insn = insn_buf;
net/core/filter.c
10445
const struct bpf_insn *si,
net/core/filter.c
10446
struct bpf_insn *insn_buf,
net/core/filter.c
10449
struct bpf_insn *insn = insn_buf;
net/core/filter.c
10569
const struct bpf_insn *si,
net/core/filter.c
10570
struct bpf_insn *insn_buf,
net/core/filter.c
10574
struct bpf_insn *insn = insn_buf;
net/core/filter.c
10658
const struct bpf_insn *si,
net/core/filter.c
10659
struct bpf_insn *insn_buf,
net/core/filter.c
10663
struct bpf_insn *insn = insn_buf;
net/core/filter.c
11082
struct bpf_insn *jmp_on_null_skb;
net/core/filter.c
11105
static struct bpf_insn *bpf_convert_data_end_access(const struct bpf_insn *si,
net/core/filter.c
11106
struct bpf_insn *insn)
net/core/filter.c
11153
const struct bpf_insn *si,
net/core/filter.c
11154
struct bpf_insn *insn_buf,
net/core/filter.c
11157
struct bpf_insn *insn = insn_buf;
net/core/filter.c
11193
const struct bpf_insn *si,
net/core/filter.c
11194
struct bpf_insn *insn_buf,
net/core/filter.c
11197
struct bpf_insn *insn = insn_buf;
net/core/filter.c
11759
const struct bpf_insn *si,
net/core/filter.c
11760
struct bpf_insn *insn_buf,
net/core/filter.c
11764
struct bpf_insn *insn = insn_buf;
net/core/filter.c
11919
const struct bpf_insn *si,
net/core/filter.c
11920
struct bpf_insn *insn_buf,
net/core/filter.c
11924
struct bpf_insn *insn = insn_buf;
net/core/filter.c
1274
sizeof(struct bpf_insn));
net/core/filter.c
315
struct bpf_insn *insn_buf)
net/core/filter.c
317
struct bpf_insn *insn = insn_buf;
net/core/filter.c
362
struct bpf_insn **insnp)
net/core/filter.c
364
struct bpf_insn *insn = *insnp;
net/core/filter.c
491
static bool convert_bpf_ld_abs(struct sock_filter *fp, struct bpf_insn **insnp)
net/core/filter.c
499
struct bpf_insn *insn = *insnp;
net/core/filter.c
585
struct bpf_insn *new_insn, *first_insn = NULL;
net/core/filter.c
640
struct bpf_insn tmp_insns[32] = { };
net/core/filter.c
641
struct bpf_insn *insn = tmp_insns;
net/core/filter.c
7450
const struct bpf_insn *si,
net/core/filter.c
7451
struct bpf_insn *insn_buf,
net/core/filter.c
7454
struct bpf_insn *insn = insn_buf;
net/core/filter.c
7644
const struct bpf_insn *si,
net/core/filter.c
7645
struct bpf_insn *insn_buf,
net/core/filter.c
7648
struct bpf_insn *insn = insn_buf;
net/core/filter.c
9184
static int bpf_noop_prologue(struct bpf_insn *insn_buf, bool direct_write,
net/core/filter.c
9193
static int bpf_unclone_prologue(struct bpf_insn *insn_buf, bool direct_write,
net/core/filter.c
9196
struct bpf_insn *insn = insn_buf;
net/core/filter.c
9232
static int bpf_gen_ld_abs(const struct bpf_insn *orig,
net/core/filter.c
9233
struct bpf_insn *insn_buf)
net/core/filter.c
9236
struct bpf_insn *insn = insn_buf;
net/core/filter.c
9267
static int tc_cls_act_prologue(struct bpf_insn *insn_buf, bool direct_write,
net/core/filter.c
9608
static int sk_skb_prologue(struct bpf_insn *insn_buf, bool direct_write,
net/core/filter.c
9734
const struct bpf_insn *si,
net/core/filter.c
9735
struct bpf_insn *insn_buf,
net/core/filter.c
9740
struct bpf_insn *insn = insn_buf;
net/core/filter.c
9765
static struct bpf_insn *bpf_convert_tstamp_type_read(const struct bpf_insn *si,
net/core/filter.c
9766
struct bpf_insn *insn)
net/core/filter.c
9785
static struct bpf_insn *bpf_convert_shinfo_access(__u8 dst_reg, __u8 skb_reg,
net/core/filter.c
9786
struct bpf_insn *insn)
net/core/filter.c
9806
static struct bpf_insn *bpf_convert_tstamp_read(const struct bpf_prog *prog,
net/core/filter.c
9807
const struct bpf_insn *si,
net/core/filter.c
9808
struct bpf_insn *insn)
net/core/filter.c
9841
static struct bpf_insn *bpf_convert_tstamp_write(const struct bpf_prog *prog,
net/core/filter.c
9842
const struct bpf_insn *si,
net/core/filter.c
9843
struct bpf_insn *insn)
net/core/filter.c
9880
const struct bpf_insn *si,
net/core/filter.c
9881
struct bpf_insn *insn_buf,
net/core/filter.c
9884
struct bpf_insn *insn = insn_buf;
net/sched/bpf_qdisc.c
135
static int bpf_qdisc_gen_prologue(struct bpf_insn *insn_buf, bool direct_write,
net/sched/bpf_qdisc.c
138
struct bpf_insn *insn = insn_buf;
net/sched/bpf_qdisc.c
165
static int bpf_qdisc_gen_epilogue(struct bpf_insn *insn_buf, const struct bpf_prog *prog,
net/sched/bpf_qdisc.c
168
struct bpf_insn *insn = insn_buf;
net/xdp/xskmap.c
121
static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf)
net/xdp/xskmap.c
124
struct bpf_insn *insn = insn_buf;
samples/bpf/bpf_insn.h
11
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
110
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
120
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
130
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
153
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
166
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
176
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
186
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
19
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
196
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
206
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
216
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
226
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
29
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
37
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
47
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
55
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
6
struct bpf_insn;
samples/bpf/bpf_insn.h
65
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
73
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
85
((struct bpf_insn) { \
samples/bpf/bpf_insn.h
91
((struct bpf_insn) { \
samples/bpf/cookie_uid_helper_example.c
80
struct bpf_insn prog[] = {
samples/bpf/fds_example.c
52
static struct bpf_insn insns[] = {
samples/bpf/sock_example.c
48
struct bpf_insn prog[] = {
tools/bpf/bpftool/cfg.c
131
static bool cfg_partition_funcs(struct cfg *cfg, struct bpf_insn *cur,
tools/bpf/bpftool/cfg.c
132
struct bpf_insn *end)
tools/bpf/bpftool/cfg.c
167
struct bpf_insn *cur, *end;
tools/bpf/bpftool/cfg.c
20
struct bpf_insn *start;
tools/bpf/bpftool/cfg.c
21
struct bpf_insn *end;
tools/bpf/bpftool/cfg.c
244
struct bpf_insn *insn)
tools/bpf/bpftool/cfg.c
279
struct bpf_insn *insn;
tools/bpf/bpftool/cfg.c
30
struct bpf_insn *head;
tools/bpf/bpftool/cfg.c
31
struct bpf_insn *tail;
tools/bpf/bpftool/cfg.c
334
static bool cfg_build(struct cfg *cfg, struct bpf_insn *insn, unsigned int len)
tools/bpf/bpftool/cfg.c
479
struct bpf_insn *insn = buf;
tools/bpf/bpftool/cfg.c
63
static struct func_node *cfg_append_func(struct cfg *cfg, struct bpf_insn *insn)
tools/bpf/bpftool/cfg.c
89
struct bpf_insn *insn)
tools/bpf/bpftool/common.c
104
struct bpf_insn insns[] = {
tools/bpf/bpftool/feature.c
436
const struct bpf_insn *insns, size_t insns_cnt,
tools/bpf/bpftool/feature.c
459
struct bpf_insn insns[2] = {
tools/bpf/bpftool/feature.c
580
struct bpf_insn insns[2] = {
tools/bpf/bpftool/feature.c
703
probe_misc_feature(struct bpf_insn *insns, size_t len,
tools/bpf/bpftool/feature.c
733
struct bpf_insn insns[BPF_MAXINSNS + 1];
tools/bpf/bpftool/feature.c
754
struct bpf_insn insns[4] = {
tools/bpf/bpftool/feature.c
775
struct bpf_insn insns[4] = {
tools/bpf/bpftool/feature.c
796
struct bpf_insn insns[4] = {
tools/bpf/bpftool/feature.c
817
struct bpf_insn insns[5] = {
tools/bpf/bpftool/xlated_dumper.c
148
const struct bpf_insn *insn)
tools/bpf/bpftool/xlated_dumper.c
177
const struct bpf_insn *insn)
tools/bpf/bpftool/xlated_dumper.c
195
const struct bpf_insn *insn,
tools/bpf/bpftool/xlated_dumper.c
229
struct bpf_insn *insn = buf;
tools/bpf/bpftool/xlated_dumper.c
314
struct bpf_insn *insn = buf;
tools/bpf/bpftool/xlated_dumper.c
380
struct bpf_insn *insn_start = buf_start;
tools/bpf/bpftool/xlated_dumper.c
381
struct bpf_insn *insn_end = buf_end;
tools/bpf/bpftool/xlated_dumper.c
382
struct bpf_insn *cur = insn_start;
tools/include/linux/filter.h
107
((struct bpf_insn) { \
tools/include/linux/filter.h
117
((struct bpf_insn) { \
tools/include/linux/filter.h
125
((struct bpf_insn) { \
tools/include/linux/filter.h
135
((struct bpf_insn) { \
tools/include/linux/filter.h
143
((struct bpf_insn) { \
tools/include/linux/filter.h
153
((struct bpf_insn) { \
tools/include/linux/filter.h
163
((struct bpf_insn) { \
tools/include/linux/filter.h
173
((struct bpf_insn) { \
tools/include/linux/filter.h
183
((struct bpf_insn) { \
tools/include/linux/filter.h
206
((struct bpf_insn) { \
tools/include/linux/filter.h
219
((struct bpf_insn) { \
tools/include/linux/filter.h
229
((struct bpf_insn) { \
tools/include/linux/filter.h
239
((struct bpf_insn) { \
tools/include/linux/filter.h
249
((struct bpf_insn) { \
tools/include/linux/filter.h
259
((struct bpf_insn) { \
tools/include/linux/filter.h
269
((struct bpf_insn) { \
tools/include/linux/filter.h
279
((struct bpf_insn) { \
tools/include/linux/filter.h
289
((struct bpf_insn) { \
tools/include/linux/filter.h
299
((struct bpf_insn) { \
tools/include/linux/filter.h
312
((struct bpf_insn) { \
tools/include/linux/filter.h
318
((struct bpf_insn) { \
tools/include/linux/filter.h
326
((struct bpf_insn) { \
tools/include/linux/filter.h
332
((struct bpf_insn) { \
tools/include/linux/filter.h
35
((struct bpf_insn) { \
tools/include/linux/filter.h
352
((struct bpf_insn) { \
tools/include/linux/filter.h
362
((struct bpf_insn) { \
tools/include/linux/filter.h
43
((struct bpf_insn) { \
tools/include/linux/filter.h
53
((struct bpf_insn) { \
tools/include/linux/filter.h
61
((struct bpf_insn) { \
tools/include/linux/filter.h
71
((struct bpf_insn) { \
tools/include/linux/filter.h
81
((struct bpf_insn) { \
tools/include/linux/filter.h
89
((struct bpf_insn) { \
tools/include/linux/filter.h
99
((struct bpf_insn) { \
tools/lib/bpf/bpf.c
147
struct bpf_insn insns[] = {
tools/lib/bpf/bpf.c
295
const struct bpf_insn *insns, size_t insn_cnt,
tools/lib/bpf/bpf.h
137
const struct bpf_insn *insns, size_t insn_cnt,
tools/lib/bpf/bpf_gen_internal.h
67
const char *license, struct bpf_insn *insns, size_t insn_cnt,
tools/lib/bpf/features.c
230
struct bpf_insn insns[] = {
tools/lib/bpf/features.c
25
struct bpf_insn insns[] = {
tools/lib/bpf/features.c
251
struct bpf_insn insns[] = {
tools/lib/bpf/features.c
267
struct bpf_insn insns[] = {
tools/lib/bpf/features.c
334
struct bpf_insn insns[] = {
tools/lib/bpf/features.c
370
struct bpf_insn insns[] = {
tools/lib/bpf/features.c
429
struct bpf_insn insns[] = {
tools/lib/bpf/features.c
475
const struct bpf_insn insns[] = {
tools/lib/bpf/features.c
49
struct bpf_insn insns[] = {
tools/lib/bpf/features.c
524
struct bpf_insn insns[] = {
tools/lib/bpf/gen_loader.c
1025
insn += sizeof(struct bpf_insn) + offsetof(struct bpf_insn, imm);
tools/lib/bpf/gen_loader.c
106
static void emit2(struct bpf_gen *gen, struct bpf_insn insn1, struct bpf_insn insn2)
tools/lib/bpf/gen_loader.c
1067
const char *license, struct bpf_insn *insns, size_t insn_cnt,
tools/lib/bpf/gen_loader.c
1084
insns_off = add_data(gen, insns, insn_cnt * sizeof(struct bpf_insn));
tools/lib/bpf/gen_loader.c
1090
struct bpf_insn *insn = gen->data_start + insns_off;
tools/lib/bpf/gen_loader.c
421
struct bpf_insn *insn = (struct bpf_insn *)opts->insns;
tools/lib/bpf/gen_loader.c
422
int insn_cnt = opts->insns_sz / sizeof(struct bpf_insn);
tools/lib/bpf/gen_loader.c
471
struct bpf_insn *insn =
tools/lib/bpf/gen_loader.c
472
(struct bpf_insn *)(gen->insn_start + gen->hash_insn_offset[i]);
tools/lib/bpf/gen_loader.c
786
move_blob2blob(gen, insn + offsetof(struct bpf_insn, imm), 4,
tools/lib/bpf/gen_loader.c
787
kdesc->insn + offsetof(struct bpf_insn, imm));
tools/lib/bpf/gen_loader.c
788
move_blob2blob(gen, insn + offsetof(struct bpf_insn, off), 2,
tools/lib/bpf/gen_loader.c
789
kdesc->insn + offsetof(struct bpf_insn, off));
tools/lib/bpf/gen_loader.c
809
emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0));
tools/lib/bpf/gen_loader.c
810
emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0));
tools/lib/bpf/gen_loader.c
814
emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_7, offsetof(struct bpf_insn, imm)));
tools/lib/bpf/gen_loader.c
826
emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0));
tools/lib/bpf/gen_loader.c
830
emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), btf_fd_idx));
tools/lib/bpf/gen_loader.c
835
offsetof(struct bpf_insn, imm)));
tools/lib/bpf/gen_loader.c
837
offsetof(struct bpf_insn, off)));
tools/lib/bpf/gen_loader.c
853
offsetof(struct bpf_insn, imm)));
tools/lib/bpf/gen_loader.c
854
emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, sizeof(struct bpf_insn) +
tools/lib/bpf/gen_loader.c
855
offsetof(struct bpf_insn, imm)));
tools/lib/bpf/gen_loader.c
858
emit(gen, BPF_LDX_MEM(BPF_B, BPF_REG_9, BPF_REG_8, offsetofend(struct bpf_insn, code)));
tools/lib/bpf/gen_loader.c
876
move_blob2blob(gen, insn + offsetof(struct bpf_insn, imm), 4,
tools/lib/bpf/gen_loader.c
877
kdesc->insn + offsetof(struct bpf_insn, imm));
tools/lib/bpf/gen_loader.c
878
move_blob2blob(gen, insn + sizeof(struct bpf_insn) + offsetof(struct bpf_insn, imm), 4,
tools/lib/bpf/gen_loader.c
879
kdesc->insn + sizeof(struct bpf_insn) + offsetof(struct bpf_insn, imm));
tools/lib/bpf/gen_loader.c
890
emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_9, offsetof(struct bpf_insn, imm)));
tools/lib/bpf/gen_loader.c
894
sizeof(struct bpf_insn) + offsetof(struct bpf_insn, imm)));
tools/lib/bpf/gen_loader.c
923
move_blob2blob(gen, insn + sizeof(struct bpf_insn) + offsetof(struct bpf_insn, imm), 4,
tools/lib/bpf/gen_loader.c
924
kdesc->insn + sizeof(struct bpf_insn) + offsetof(struct bpf_insn, imm));
tools/lib/bpf/gen_loader.c
925
move_blob2blob(gen, insn + offsetof(struct bpf_insn, imm), 4,
tools/lib/bpf/gen_loader.c
926
kdesc->insn + offsetof(struct bpf_insn, imm));
tools/lib/bpf/gen_loader.c
941
emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0));
tools/lib/bpf/gen_loader.c
942
emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, sizeof(struct bpf_insn) + offsetof(struct bpf_insn, imm), 0));
tools/lib/bpf/gen_loader.c
946
emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_7, offsetof(struct bpf_insn, imm)));
tools/lib/bpf/gen_loader.c
950
sizeof(struct bpf_insn) + offsetof(struct bpf_insn, imm)));
tools/lib/bpf/gen_loader.c
956
emit(gen, BPF_LDX_MEM(BPF_B, BPF_REG_9, BPF_REG_8, offsetofend(struct bpf_insn, code)));
tools/lib/bpf/gen_loader.c
958
emit(gen, BPF_STX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, offsetofend(struct bpf_insn, code)));
tools/lib/bpf/gen_loader.c
98
static void emit(struct bpf_gen *gen, struct bpf_insn insn)
tools/lib/bpf/gen_loader.c
985
insn = insns + sizeof(struct bpf_insn) * relo->insn_idx;
tools/lib/bpf/libbpf.c
4579
struct bpf_insn *purged;
tools/lib/bpf/libbpf.c
4608
libbpf_sha256(purged, prog->insns_cnt * sizeof(struct bpf_insn),
tools/lib/bpf/libbpf.c
4620
struct bpf_insn *insn = &prog->insns[insn_idx];
tools/lib/bpf/libbpf.c
479
struct bpf_insn *insns;
tools/lib/bpf/libbpf.c
5170
struct bpf_insn insns[] = {
tools/lib/bpf/libbpf.c
6096
struct bpf_insn *insn;
tools/lib/bpf/libbpf.c
6210
int insn_idx, struct bpf_insn *insn,
tools/lib/bpf/libbpf.c
6240
int insn_idx, struct bpf_insn *insn,
tools/lib/bpf/libbpf.c
6370
insn_off = jt[i]/sizeof(struct bpf_insn);
tools/lib/bpf/libbpf.c
6422
struct bpf_insn *insn = &prog->insns[relo->insn_idx];
tools/lib/bpf/libbpf.c
66
#define BPF_INSN_SZ (sizeof(struct bpf_insn))
tools/lib/bpf/libbpf.c
6738
struct bpf_insn *insns;
tools/lib/bpf/libbpf.c
6781
struct bpf_insn *insn;
tools/lib/bpf/libbpf.c
7467
struct bpf_insn *insn = &prog->insns[relo->insn_idx];
tools/lib/bpf/libbpf.c
7724
static bool insn_is_helper_call(struct bpf_insn *insn, enum bpf_func_id *func_id)
tools/lib/bpf/libbpf.c
7739
struct bpf_insn *insn = prog->insns;
tools/lib/bpf/libbpf.c
7919
struct bpf_insn *insns, int insns_cnt,
tools/lib/bpf/libbpf.c
823
static bool insn_is_subprog_call(const struct bpf_insn *insn)
tools/lib/bpf/libbpf.c
833
static bool is_call_insn(const struct bpf_insn *insn)
tools/lib/bpf/libbpf.c
838
static bool insn_is_pseudo_func(struct bpf_insn *insn)
tools/lib/bpf/libbpf.c
9780
const struct bpf_insn *bpf_program__insns(const struct bpf_program *prog)
tools/lib/bpf/libbpf.c
9791
struct bpf_insn *new_insns, size_t new_insn_cnt)
tools/lib/bpf/libbpf.c
9793
struct bpf_insn *insns;
tools/lib/bpf/libbpf.c
994
struct bpf_insn *insn;
tools/lib/bpf/libbpf.h
383
struct bpf_insn;
tools/lib/bpf/libbpf.h
405
LIBBPF_API const struct bpf_insn *bpf_program__insns(const struct bpf_program *prog);
tools/lib/bpf/libbpf.h
422
struct bpf_insn *new_insns, size_t new_insn_cnt);
tools/lib/bpf/libbpf_internal.h
642
static inline bool is_ldimm64_insn(struct bpf_insn *insn)
tools/lib/bpf/libbpf_internal.h
647
static inline void bpf_insn_bswap(struct bpf_insn *insn)
tools/lib/bpf/libbpf_probes.c
104
const struct bpf_insn *insns, size_t insns_cnt,
tools/lib/bpf/libbpf_probes.c
207
struct bpf_insn insns[] = {
tools/lib/bpf/libbpf_probes.c
436
struct bpf_insn insns[] = {
tools/lib/bpf/linker.c
1052
if (relo->r_offset % sizeof(struct bpf_insn) != 0) {
tools/lib/bpf/linker.c
1251
const int insn_cnt = size / sizeof(struct bpf_insn);
tools/lib/bpf/linker.c
1252
struct bpf_insn *insn = raw_data;
tools/lib/bpf/linker.c
2260
struct bpf_insn *insn;
tools/lib/bpf/linker.c
2274
insn->imm += sec->dst_off / sizeof(struct bpf_insn);
tools/lib/bpf/linker.c
884
if (sec->shdr->sh_size % sizeof(struct bpf_insn) != 0) {
tools/lib/bpf/relo_core.c
1002
static int insn_bpf_size_to_bytes(struct bpf_insn *insn)
tools/lib/bpf/relo_core.c
1041
int bpf_core_patch_insn(const char *prog_name, struct bpf_insn *insn,
tools/lib/bpf/relo_core.c
16
static bool is_ldimm64_insn(struct bpf_insn *insn)
tools/lib/bpf/relo_core.c
987
int insn_idx, struct bpf_insn *insn)
tools/lib/bpf/relo_core.h
89
int bpf_core_patch_insn(const char *prog_name, struct bpf_insn *insn,
tools/lib/bpf/skel_internal.h
398
attr.insn_cnt = opts->insns_sz / sizeof(struct bpf_insn);
tools/testing/selftests/bpf/disasm.c
140
const struct bpf_insn *insn)
tools/testing/selftests/bpf/disasm.c
150
const struct bpf_insn *insn)
tools/testing/selftests/bpf/disasm.c
157
static bool is_sdiv_smod(const struct bpf_insn *insn)
tools/testing/selftests/bpf/disasm.c
163
static bool is_movsx(const struct bpf_insn *insn)
tools/testing/selftests/bpf/disasm.c
169
static bool is_addr_space_cast(const struct bpf_insn *insn)
tools/testing/selftests/bpf/disasm.c
17
const struct bpf_insn *insn,
tools/testing/selftests/bpf/disasm.c
181
static inline bool is_mov_percpu_addr(const struct bpf_insn *insn)
tools/testing/selftests/bpf/disasm.c
187
const struct bpf_insn *insn,
tools/testing/selftests/bpf/disasm.c
44
const struct bpf_insn *insn,
tools/testing/selftests/bpf/disasm.h
25
const struct bpf_insn *insn);
tools/testing/selftests/bpf/disasm.h
27
const struct bpf_insn *insn,
tools/testing/selftests/bpf/disasm.h
38
const struct bpf_insn *insn,
tools/testing/selftests/bpf/disasm_helpers.c
22
static const char *print_call_cb(void *private_data, const struct bpf_insn *insn)
tools/testing/selftests/bpf/disasm_helpers.c
38
struct bpf_insn *disasm_insn(struct bpf_insn *insn, char *buf, size_t buf_sz)
tools/testing/selftests/bpf/disasm_helpers.h
10
struct bpf_insn *disasm_insn(struct bpf_insn *insn, char *buf, size_t buf_sz);
tools/testing/selftests/bpf/disasm_helpers.h
8
struct bpf_insn;
tools/testing/selftests/bpf/prog_tests/arena_direct_value.c
17
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_attr_size.c
91
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_gotox.c
258
static int prog_load(struct bpf_insn *insns, __u32 insn_cnt)
tools/testing/selftests/bpf/prog_tests/bpf_gotox.c
265
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_gotox.c
318
static int __check_ldimm64_gotox_prog_load(struct bpf_insn *insns,
tools/testing/selftests/bpf/prog_tests/bpf_gotox.c
361
allow_offsets(struct bpf_insn *insns, __u32 insn_cnt, int off1, int off2, int off3)
tools/testing/selftests/bpf/prog_tests/bpf_gotox.c
387
reject_offsets(struct bpf_insn *insns, __u32 insn_cnt, int off1, int off2, int off3)
tools/testing/selftests/bpf/prog_tests/bpf_gotox.c
402
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
112
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
131
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
155
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
16
static int prog_load(struct bpf_insn *insns, __u32 insn_cnt, int *fd_array, __u32 fd_array_cnt)
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
194
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
26
static void __check_success(struct bpf_insn *insns, __u32 insn_cnt, __u32 *map_in, __u32 *map_out)
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
268
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
325
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
371
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
420
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
70
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
91
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/btf.c
5713
struct bpf_insn insns[MAX_INSNS];
tools/testing/selftests/bpf/prog_tests/btf.c
6517
static size_t probe_prog_length(const struct bpf_insn *fp)
tools/testing/selftests/bpf/prog_tests/btf_dump.c
793
TEST_BTF_DUMP_DATA_C(btf, d, "struct", str, struct bpf_insn, BTF_F_COMPACT,
tools/testing/selftests/bpf/prog_tests/btf_dump.c
795
TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_insn,
tools/testing/selftests/bpf/prog_tests/btf_dump.c
800
TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_insn, 0,
tools/testing/selftests/bpf/prog_tests/btf_dump.c
811
TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_insn, BTF_F_COMPACT,
tools/testing/selftests/bpf/prog_tests/cgroup_attach_autodetach.c
13
struct bpf_insn prog[] = {
tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c
39
struct bpf_insn prog[] = {
tools/testing/selftests/bpf/prog_tests/cgroup_attach_override.c
15
struct bpf_insn prog[] = {
tools/testing/selftests/bpf/prog_tests/core_reloc_raw.c
52
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
637
struct bpf_insn *prog;
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
647
struct bpf_insn *buf = NULL, *insn, *insn_end;
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
736
struct bpf_insn ldx_prog[] = {
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
754
struct bpf_insn stx_prog[] = {
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
765
struct bpf_insn st_prog[] = {
tools/testing/selftests/bpf/prog_tests/fd_array.c
101
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c
486
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/fexit_stress.c
20
const struct bpf_insn trace_program[] = {
tools/testing/selftests/bpf/prog_tests/flow_dissector_load_bytes.c
8
struct bpf_insn prog[] = {
tools/testing/selftests/bpf/prog_tests/flow_dissector_reattach.c
44
struct bpf_insn prog[] = {
tools/testing/selftests/bpf/prog_tests/kptr_xchg_inline.c
11
struct bpf_insn *insn = NULL;
tools/testing/selftests/bpf/prog_tests/kptr_xchg_inline.c
12
struct bpf_insn exp;
tools/testing/selftests/bpf/prog_tests/log_buf.c
147
const struct bpf_insn good_prog_insns[] = {
tools/testing/selftests/bpf/prog_tests/log_buf.c
152
const struct bpf_insn bad_prog_insns[] = {
tools/testing/selftests/bpf/prog_tests/module_fentry_shadow.c
74
const struct bpf_insn trace_program[] = {
tools/testing/selftests/bpf/prog_tests/obj_name.c
16
struct bpf_insn prog[] = {
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_bad_access.c
32
const struct bpf_insn program[] = {
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_bad_access.c
41
const struct bpf_insn negative_var_off_program[] = {
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_bad_access.c
7
static void check_attach_reject(const struct bpf_insn *program, size_t prog_len)
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c
13
const struct bpf_insn trace_program[] = {
tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c
34
const struct bpf_insn skb_program[] = {
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
965
struct bpf_insn __insns[] = { insn }; \
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
973
struct bpf_insn insns[64];
tools/testing/selftests/bpf/prog_tests/signal_pending.c
12
struct bpf_insn prog[4096];
tools/testing/selftests/bpf/prog_tests/signed_loader.c
103
attr.insn_cnt = insns_sz / sizeof(struct bpf_insn);
tools/testing/selftests/bpf/prog_tests/signed_loader.c
239
static void check_sig_match_shape(const struct bpf_insn *in, int n)
tools/testing/selftests/bpf/prog_tests/signed_loader.c
380
check_sig_match_shape((const struct bpf_insn *)f.gopts.insns,
tools/testing/selftests/bpf/prog_tests/signed_loader.c
381
f.gopts.insns_sz / sizeof(struct bpf_insn));
tools/testing/selftests/bpf/prog_tests/signed_loader.c
46
attr.insn_cnt = insns_sz / sizeof(struct bpf_insn);
tools/testing/selftests/bpf/prog_tests/sock_create.c
16
const struct bpf_insn insns[64];
tools/testing/selftests/bpf/prog_tests/sock_create.c
255
static int load_prog(const struct bpf_insn *insns,
tools/testing/selftests/bpf/prog_tests/sock_post_bind.c
13
const struct bpf_insn insns[64];
tools/testing/selftests/bpf/prog_tests/sock_post_bind.c
280
static int load_prog(const struct bpf_insn *insns,
tools/testing/selftests/bpf/prog_tests/sockopt.c
26
const struct bpf_insn insns[64];
tools/testing/selftests/bpf/prog_tests/sockopt.c
964
static int load_prog(const struct bpf_insn *insns,
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2381
const struct bpf_insn prog_insns[] = {
tools/testing/selftests/bpf/prog_tests/test_sysctl.c
1387
static size_t probe_prog_length(const struct bpf_insn *fp)
tools/testing/selftests/bpf/prog_tests/test_sysctl.c
1398
struct bpf_insn *prog, size_t insn_num)
tools/testing/selftests/bpf/prog_tests/test_sysctl.c
1424
struct bpf_insn *prog = test->insns;
tools/testing/selftests/bpf/prog_tests/test_sysctl.c
16
struct bpf_insn insns[MAX_INSNS];
tools/testing/selftests/bpf/prog_tests/token.c
647
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c
127
const struct bpf_insn prog_insns[] = {
tools/testing/selftests/bpf/prog_tests/verifier_log.c
33
static const struct bpf_insn *insns;
tools/testing/selftests/bpf/prog_tests/wq.c
47
const struct bpf_insn *insns;
tools/testing/selftests/bpf/prog_tests/xdp_dev_bound_only.c
10
struct bpf_insn insns[] = { BPF_MOV64_IMM(BPF_REG_0, 0), BPF_EXIT_INSN() };
tools/testing/selftests/bpf/progs/netif_receive_skb.c
240
TEST_BTF_C(str, struct bpf_insn, 0,
tools/testing/selftests/bpf/progs/netif_receive_skb.c
242
TEST_BTF(str, struct bpf_insn, BTF_F_NONAME, "{1,0x2,0x3,4,5,}",
tools/testing/selftests/bpf/progs/syscall.c
102
static struct bpf_insn insns[] = {
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1636
static int st_ops_gen_prologue_with_kfunc(struct bpf_insn *insn_buf, bool direct_write,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1639
struct bpf_insn *insn = insn_buf;
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1671
static int st_ops_gen_epilogue_with_kfunc(struct bpf_insn *insn_buf, const struct bpf_prog *prog,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1674
struct bpf_insn *insn = insn_buf;
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1712
static int st_ops_gen_prologue(struct bpf_insn *insn_buf, bool direct_write,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1715
struct bpf_insn *insn = insn_buf;
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1738
static int st_ops_gen_epilogue(struct bpf_insn *insn_buf, const struct bpf_prog *prog,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1741
struct bpf_insn *insn = insn_buf;
tools/testing/selftests/bpf/test_loader.c
1145
struct bpf_insn *insn_start = NULL, *insn, *insn_end;
tools/testing/selftests/bpf/test_lru_map.c
45
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/test_tag.c
133
insns *= sizeof(struct bpf_insn);
tools/testing/selftests/bpf/test_tag.c
25
static struct bpf_insn prog[BPF_MAXINSNS];
tools/testing/selftests/bpf/test_tag.c
42
struct bpf_insn tmp[] = {
tools/testing/selftests/bpf/test_verifier.c
1008
struct bpf_insn *prog, int *map_fds, int *fd_array)
tools/testing/selftests/bpf/test_verifier.c
1035
test->fill_insns = calloc(MAX_TEST_INSNS, sizeof(struct bpf_insn));
tools/testing/selftests/bpf/test_verifier.c
104
struct bpf_insn unexpected_insns[MAX_UNEXPECTED_INSNS];
tools/testing/selftests/bpf/test_verifier.c
1337
static bool is_null_insn(struct bpf_insn *insn)
tools/testing/selftests/bpf/test_verifier.c
1339
struct bpf_insn null_insn = {};
tools/testing/selftests/bpf/test_verifier.c
1344
static bool is_skip_insn(struct bpf_insn *insn)
tools/testing/selftests/bpf/test_verifier.c
1346
struct bpf_insn skip_insn = SKIP_INSNS();
tools/testing/selftests/bpf/test_verifier.c
1351
static int null_terminated_insn_len(struct bpf_insn *seq, int max_len)
tools/testing/selftests/bpf/test_verifier.c
1362
static bool compare_masked_insn(struct bpf_insn *orig, struct bpf_insn *masked)
tools/testing/selftests/bpf/test_verifier.c
1364
struct bpf_insn orig_masked;
tools/testing/selftests/bpf/test_verifier.c
1375
static int find_insn_subseq(struct bpf_insn *seq, struct bpf_insn *subseq,
tools/testing/selftests/bpf/test_verifier.c
1399
static int find_skip_insn_marker(struct bpf_insn *seq, int len)
tools/testing/selftests/bpf/test_verifier.c
1414
static bool find_all_insn_subseqs(struct bpf_insn *seq, struct bpf_insn *subseqs,
tools/testing/selftests/bpf/test_verifier.c
1436
static void print_insn(struct bpf_insn *buf, int cnt)
tools/testing/selftests/bpf/test_verifier.c
1442
struct bpf_insn *insn = &buf[i];
tools/testing/selftests/bpf/test_verifier.c
1458
struct bpf_insn *buf;
tools/testing/selftests/bpf/test_verifier.c
1509
struct bpf_insn *prog = test->insns;
tools/testing/selftests/bpf/test_verifier.c
192
struct bpf_insn *insn = self->fill_insns;
tools/testing/selftests/bpf/test_verifier.c
235
struct bpf_insn *insn = self->fill_insns;
tools/testing/selftests/bpf/test_verifier.c
257
struct bpf_insn *insn = self->fill_insns;
tools/testing/selftests/bpf/test_verifier.c
264
struct bpf_insn tmp[2] = { BPF_LD_IMM64(BPF_REG_1, val) };
tools/testing/selftests/bpf/test_verifier.c
285
struct bpf_insn *insn = self->fill_insns;
tools/testing/selftests/bpf/test_verifier.c
311
struct bpf_insn *insn = self->fill_insns;
tools/testing/selftests/bpf/test_verifier.c
350
static int bpf_fill_torturous_jumps_insn_1(struct bpf_insn *insn)
tools/testing/selftests/bpf/test_verifier.c
366
static int bpf_fill_torturous_jumps_insn_2(struct bpf_insn *insn)
tools/testing/selftests/bpf/test_verifier.c
390
struct bpf_insn *insn = self->fill_insns;
tools/testing/selftests/bpf/test_verifier.c
424
struct bpf_insn *insn = self->fill_insns;
tools/testing/selftests/bpf/test_verifier.c
521
static int probe_filter_length(const struct bpf_insn *fp)
tools/testing/selftests/bpf/test_verifier.c
577
struct bpf_insn prog[] = {
tools/testing/selftests/bpf/test_verifier.c
588
struct bpf_insn prog[] = {
tools/testing/selftests/bpf/test_verifier.c
86
struct bpf_insn insns[MAX_INSNS];
tools/testing/selftests/bpf/test_verifier.c
87
struct bpf_insn *fill_insns;
tools/testing/selftests/bpf/test_verifier.c
968
static void fixup_prog_kfuncs(struct bpf_insn *prog, int *fd_array,
tools/testing/selftests/bpf/test_verifier.c
99
struct bpf_insn expected_insns[MAX_EXPECTED_INSNS];
tools/testing/selftests/bpf/testing_helpers.c
263
static struct bpf_insn insns[] = {
tools/testing/selftests/bpf/testing_helpers.c
327
int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns,
tools/testing/selftests/bpf/testing_helpers.c
462
int get_xlated_program(int fd_prog, struct bpf_insn **buf, __u32 *cnt)
tools/testing/selftests/bpf/testing_helpers.c
464
__u32 buf_element_size = sizeof(struct bpf_insn);
tools/testing/selftests/bpf/testing_helpers.h
19
int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns,
tools/testing/selftests/bpf/testing_helpers.h
55
struct bpf_insn;
tools/testing/selftests/bpf/testing_helpers.h
59
int get_xlated_program(int fd_prog, struct bpf_insn **buf, __u32 *cnt);
tools/testing/selftests/bpf/veristat.c
1335
struct bpf_insn insns[] = {
tools/testing/selftests/bpf/xskxceiver.c
300
struct bpf_insn insns[2] = {
tools/testing/selftests/net/psock_fanout.c
177
struct bpf_insn prog[] = {
tools/testing/selftests/net/reuseport_bpf.c
343
struct bpf_insn ecode[] = {
tools/testing/selftests/net/reuseport_bpf.c
99
const struct bpf_insn prog[] = {
tools/testing/selftests/net/reuseport_bpf_numa.c
79
const struct bpf_insn prog[] = {