Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/include/linux/
Dbpf.h37 struct bpf_prog_aux;
124 int (*map_poke_track)(struct bpf_map *map, struct bpf_prog_aux *aux);
125 void (*map_poke_untrack)(struct bpf_map *map, struct bpf_prog_aux *aux);
1389 struct bpf_prog_aux { struct
1504 struct bpf_prog_aux *aux; /* Auxiliary fields */
2746 void __bpf_free_used_btfs(struct bpf_prog_aux *aux,
2755 void __bpf_free_used_maps(struct bpf_prog_aux *aux,
2790 struct bpf_prog_aux *prog_aux);
2796 static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound()
2801 static inline bool bpf_prog_is_offloaded(const struct bpf_prog_aux *aux) in bpf_prog_is_offloaded()
[all …]
Dbpf-cgroup.h171 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *map);
465 static inline int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, in bpf_cgroup_storage_assign()
Dsecurity.h2032 struct bpf_prog_aux;
2039 extern int security_bpf_prog_alloc(struct bpf_prog_aux *aux);
2040 extern void security_bpf_prog_free(struct bpf_prog_aux *aux);
2066 static inline int security_bpf_prog_alloc(struct bpf_prog_aux *aux) in security_bpf_prog_alloc()
2071 static inline void security_bpf_prog_free(struct bpf_prog_aux *aux) in security_bpf_prog_free()
Dlsm_hook_defs.h405 LSM_HOOK(int, 0, bpf_prog_alloc_security, struct bpf_prog_aux *aux)
406 LSM_HOOK(void, LSM_RET_VOID, bpf_prog_free_security, struct bpf_prog_aux *aux)
Dfilter.h35 struct bpf_prog_aux;
/linux-6.6.21/Documentation/bpf/
Ddrgn.rst99 For example, to print ``struct bpf_prog_aux`` for BPF program id 53077:
124 *(struct bpf_prog_aux *)0xffff8893fad4b400 = {
/linux-6.6.21/kernel/bpf/
Dcore.c94 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats()
749 container_of(ksym, struct bpf_prog_aux, ksym)->prog : in bpf_prog_ksym_find()
2288 struct bpf_prog_aux *aux = fp->aux; in bpf_check_tail_call()
2667 void __bpf_free_used_maps(struct bpf_prog_aux *aux, in __bpf_free_used_maps()
2681 static void bpf_free_used_maps(struct bpf_prog_aux *aux) in bpf_free_used_maps()
2687 void __bpf_free_used_btfs(struct bpf_prog_aux *aux, in __bpf_free_used_btfs()
2703 static void bpf_free_used_btfs(struct bpf_prog_aux *aux) in bpf_free_used_btfs()
2711 struct bpf_prog_aux *aux; in bpf_prog_free_deferred()
2714 aux = container_of(work, struct bpf_prog_aux, work); in bpf_prog_free_deferred()
2750 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.c967 struct bpf_prog_aux *aux;
971 struct bpf_prog_aux *prog_aux) in prog_array_map_poke_track()
1004 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.c2135 struct bpf_prog_aux *aux = container_of(rcu, struct bpf_prog_aux, rcu); in __bpf_prog_put_rcu()
2167 struct bpf_prog_aux *aux; in bpf_prog_put_deferred()
2170 aux = container_of(work, struct bpf_prog_aux, work); in bpf_prog_put_deferred()
2180 struct bpf_prog_aux *aux = prog->aux; in __bpf_prog_put()
Dhelpers.c1225 struct bpf_prog_aux *, aux) in BPF_CALL_3() argument
Dverifier.c2839 struct bpf_prog_aux *prog_aux; in add_kfunc_call()
14759 struct bpf_prog_aux *aux = env->prog->aux; in check_ld_imm()
15551 struct bpf_prog_aux *aux = env->prog->aux; in adjust_btf_func()
17889 struct bpf_prog_aux *aux = env->prog->aux; in adjust_subprog_starts_after_remove()
19644 struct bpf_prog_aux *aux = env->prog->aux; in do_check_subprogs()
19824 struct bpf_prog_aux *aux = tgt_prog->aux; in bpf_check_attach_target()
/linux-6.6.21/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-6.6.21/security/
Dsecurity.c5243 int security_bpf_prog_alloc(struct bpf_prog_aux *aux) in security_bpf_prog_alloc()
5265 void security_bpf_prog_free(struct bpf_prog_aux *aux) in security_bpf_prog_free()
/linux-6.6.21/arch/parisc/net/
Dbpf_jit_comp64.c599 struct bpf_prog_aux *aux = ctx->prog->aux; in bpf_jit_emit_insn()
/linux-6.6.21/arch/riscv/net/
Dbpf_jit_comp64.c1075 struct bpf_prog_aux *aux = ctx->prog->aux; in bpf_jit_emit_insn()
/linux-6.6.21/security/selinux/
Dhooks.c6836 static int selinux_bpf_prog_alloc(struct bpf_prog_aux *aux) in selinux_bpf_prog_alloc()
6850 static void selinux_bpf_prog_free(struct bpf_prog_aux *aux) in selinux_bpf_prog_free()