Home
last modified time | relevance | path

Searched refs:bpf_prog_aux (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/kernel/bpf/preload/iterators/
Diterators.bpf.c40 struct bpf_prog_aux { struct
50 struct bpf_prog_aux *aux; argument
104 struct bpf_prog_aux *aux; in dump_bpf_prog()
/Linux-v6.6/include/linux/
Dbpf.h37 struct bpf_prog_aux;
120 int (*map_poke_track)(struct bpf_map *map, struct bpf_prog_aux *aux);
121 void (*map_poke_untrack)(struct bpf_map *map, struct bpf_prog_aux *aux);
1371 struct bpf_prog_aux { struct
1486 struct bpf_prog_aux *aux; /* Auxiliary fields */
2728 void __bpf_free_used_btfs(struct bpf_prog_aux *aux,
2737 void __bpf_free_used_maps(struct bpf_prog_aux *aux,
2772 struct bpf_prog_aux *prog_aux);
2778 static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound()
2783 static inline bool bpf_prog_is_offloaded(const struct bpf_prog_aux *aux) in bpf_prog_is_offloaded()
[all …]
Dbpf-cgroup.h170 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *map);
464 static inline int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, in bpf_cgroup_storage_assign()
Dsecurity.h2023 struct bpf_prog_aux;
2030 extern int security_bpf_prog_alloc(struct bpf_prog_aux *aux);
2031 extern void security_bpf_prog_free(struct bpf_prog_aux *aux);
2057 static inline int security_bpf_prog_alloc(struct bpf_prog_aux *aux) in security_bpf_prog_alloc()
2062 static inline void security_bpf_prog_free(struct bpf_prog_aux *aux) in security_bpf_prog_free()
Dlsm_hook_defs.h403 LSM_HOOK(int, 0, bpf_prog_alloc_security, struct bpf_prog_aux *aux)
404 LSM_HOOK(void, LSM_RET_VOID, bpf_prog_free_security, struct bpf_prog_aux *aux)
Dfilter.h35 struct bpf_prog_aux;
/Linux-v6.6/Documentation/bpf/
Ddrgn.rst99 For example, to print ``struct bpf_prog_aux`` for BPF program id 53077:
124 *(struct bpf_prog_aux *)0xffff8893fad4b400 = {
/Linux-v6.6/kernel/bpf/
Dcore.c94 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats()
741 container_of(ksym, struct bpf_prog_aux, ksym)->prog : in bpf_prog_ksym_find()
2280 struct bpf_prog_aux *aux = fp->aux; in bpf_check_tail_call()
2659 void __bpf_free_used_maps(struct bpf_prog_aux *aux, in __bpf_free_used_maps()
2673 static void bpf_free_used_maps(struct bpf_prog_aux *aux) in bpf_free_used_maps()
2679 void __bpf_free_used_btfs(struct bpf_prog_aux *aux, in __bpf_free_used_btfs()
2695 static void bpf_free_used_btfs(struct bpf_prog_aux *aux) in bpf_free_used_btfs()
2703 struct bpf_prog_aux *aux; in bpf_prog_free_deferred()
2706 aux = container_of(work, struct bpf_prog_aux, work); in bpf_prog_free_deferred()
2742 struct bpf_prog_aux *aux = fp->aux; in bpf_prog_free()
Doffload.c431 struct bpf_prog_aux *aux = args->prog->aux; in bpf_prog_offload_info_fill_ns()
461 struct bpf_prog_aux *aux = prog->aux; in bpf_prog_offload_info_fill()
817 struct bpf_prog_aux *prog_aux) in bpf_dev_bound_kfunc_check()
Darraymap.c961 struct bpf_prog_aux *aux;
965 struct bpf_prog_aux *prog_aux) in prog_array_map_poke_track()
998 struct bpf_prog_aux *prog_aux) in prog_array_map_poke_untrack()
Dlocal_storage.c470 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *_map) in bpf_cgroup_storage_assign()
Dsyscall.c2103 struct bpf_prog_aux *aux = container_of(rcu, struct bpf_prog_aux, rcu); in __bpf_prog_put_rcu()
2135 struct bpf_prog_aux *aux; in bpf_prog_put_deferred()
2138 aux = container_of(work, struct bpf_prog_aux, work); in bpf_prog_put_deferred()
2148 struct bpf_prog_aux *aux = prog->aux; in __bpf_prog_put()
Dhelpers.c1214 struct bpf_prog_aux *, aux) in BPF_CALL_3() argument
Dverifier.c2624 struct bpf_prog_aux *prog_aux; in add_kfunc_call()
14330 struct bpf_prog_aux *aux = env->prog->aux; in check_ld_imm()
15107 struct bpf_prog_aux *aux = env->prog->aux; in adjust_btf_func()
17363 struct bpf_prog_aux *aux = env->prog->aux; in adjust_subprog_starts_after_remove()
19118 struct bpf_prog_aux *aux = env->prog->aux; in do_check_subprogs()
19298 struct bpf_prog_aux *aux = tgt_prog->aux; in bpf_check_attach_target()
/Linux-v6.6/arch/x86/net/
Dbpf_jit_comp32.c258 const struct bpf_prog_aux *aux) in emit_ia32_mov_r64()
319 const struct bpf_prog_aux *aux) in emit_ia32_to_le_r64()
367 const struct bpf_prog_aux *aux) in emit_ia32_to_be_r64()
580 u8 **pprog, const struct bpf_prog_aux *aux) in emit_ia32_alu_r64()
680 const struct bpf_prog_aux *aux) in emit_ia32_alu_i64()
/Linux-v6.6/security/
Dsecurity.c5190 int security_bpf_prog_alloc(struct bpf_prog_aux *aux) in security_bpf_prog_alloc()
5212 void security_bpf_prog_free(struct bpf_prog_aux *aux) in security_bpf_prog_free()
/Linux-v6.6/arch/parisc/net/
Dbpf_jit_comp64.c599 struct bpf_prog_aux *aux = ctx->prog->aux; in bpf_jit_emit_insn()
/Linux-v6.6/arch/riscv/net/
Dbpf_jit_comp64.c1075 struct bpf_prog_aux *aux = ctx->prog->aux; in bpf_jit_emit_insn()
/Linux-v6.6/security/selinux/
Dhooks.c6808 static int selinux_bpf_prog_alloc(struct bpf_prog_aux *aux) in selinux_bpf_prog_alloc()
6822 static void selinux_bpf_prog_free(struct bpf_prog_aux *aux) in selinux_bpf_prog_free()