Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/bpf/preload/iterators/
Diterators.bpf.c40 struct bpf_prog_aux { struct
50 struct bpf_prog_aux *aux; argument
99 struct bpf_prog_aux *aux; in dump_bpf_prog()
/Linux-v5.15/include/linux/
Dbpf.h31 struct bpf_prog_aux;
105 int (*map_poke_track)(struct bpf_map *map, struct bpf_prog_aux *aux);
106 void (*map_poke_untrack)(struct bpf_map *map, struct bpf_prog_aux *aux);
841 struct bpf_prog_aux { struct
1900 void __bpf_free_used_btfs(struct bpf_prog_aux *aux,
1909 void __bpf_free_used_maps(struct bpf_prog_aux *aux,
1943 static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound()
1971 static inline bool bpf_prog_is_dev_bound(struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound()
Dbpf-cgroup.h236 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *map);
503 static inline int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, in bpf_cgroup_storage_assign()
Dsecurity.h1959 struct bpf_prog_aux;
1966 extern int security_bpf_prog_alloc(struct bpf_prog_aux *aux);
1967 extern void security_bpf_prog_free(struct bpf_prog_aux *aux);
1993 static inline int security_bpf_prog_alloc(struct bpf_prog_aux *aux) in security_bpf_prog_alloc()
1998 static inline void security_bpf_prog_free(struct bpf_prog_aux *aux) in security_bpf_prog_free()
Dlsm_hook_defs.h392 LSM_HOOK(int, 0, bpf_prog_alloc_security, struct bpf_prog_aux *aux)
393 LSM_HOOK(void, LSM_RET_VOID, bpf_prog_free_security, struct bpf_prog_aux *aux)
Dfilter.h34 struct bpf_prog_aux;
586 struct bpf_prog_aux *aux; /* Auxiliary fields */
/Linux-v5.15/kernel/bpf/
Dcore.c83 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats()
719 container_of(ksym, struct bpf_prog_aux, ksym)->prog : in bpf_prog_ksym_find()
1850 struct bpf_prog_aux *aux = fp->aux; in bpf_check_tail_call()
2218 void __bpf_free_used_maps(struct bpf_prog_aux *aux, in __bpf_free_used_maps()
2232 static void bpf_free_used_maps(struct bpf_prog_aux *aux) in bpf_free_used_maps()
2238 void __bpf_free_used_btfs(struct bpf_prog_aux *aux, in __bpf_free_used_btfs()
2254 static void bpf_free_used_btfs(struct bpf_prog_aux *aux) in bpf_free_used_btfs()
2262 struct bpf_prog_aux *aux; in bpf_prog_free_deferred()
2265 aux = container_of(work, struct bpf_prog_aux, work); in bpf_prog_free_deferred()
2295 struct bpf_prog_aux *aux = fp->aux; in bpf_prog_free()
Doffload.c271 struct bpf_prog_aux *aux = args->prog->aux; in bpf_prog_offload_info_fill_ns()
301 struct bpf_prog_aux *aux = prog->aux; in bpf_prog_offload_info_fill()
Darraymap.c900 struct bpf_prog_aux *aux;
904 struct bpf_prog_aux *prog_aux) in prog_array_map_poke_track()
937 struct bpf_prog_aux *prog_aux) in prog_array_map_poke_untrack()
Dtrampoline.c177 const struct bpf_prog_aux *aux; in bpf_trampoline_get_progs()
Dlocal_storage.c464 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *_map) in bpf_cgroup_storage_assign()
Dsyscall.c1738 struct bpf_prog_aux *aux = container_of(rcu, struct bpf_prog_aux, rcu); in __bpf_prog_put_rcu()
1769 struct bpf_prog_aux *aux; in bpf_prog_put_deferred()
1772 aux = container_of(work, struct bpf_prog_aux, work); in bpf_prog_put_deferred()
1781 struct bpf_prog_aux *aux = prog->aux; in __bpf_prog_put()
Dhelpers.c1156 struct bpf_prog_aux *, aux) in BPF_CALL_3() argument
Dverifier.c1667 struct bpf_prog_aux *prog_aux; in add_kfunc_call()
9183 struct bpf_prog_aux *aux = env->prog->aux; in check_ld_imm()
9886 struct bpf_prog_aux *aux = env->prog->aux; in adjust_btf_func()
11814 struct bpf_prog_aux *aux = env->prog->aux; in adjust_subprog_starts_after_remove()
13189 struct bpf_prog_aux *aux = env->prog->aux; in do_check_subprogs()
13368 struct bpf_prog_aux *aux = tgt_prog->aux; in bpf_check_attach_target()
/Linux-v5.15/Documentation/bpf/
Ddrgn.rst99 For example, to print ``struct bpf_prog_aux`` for BPF program id 53077:
124 *(struct bpf_prog_aux *)0xffff8893fad4b400 = {
/Linux-v5.15/arch/x86/net/
Dbpf_jit_comp32.c257 const struct bpf_prog_aux *aux) in emit_ia32_mov_r64()
318 const struct bpf_prog_aux *aux) in emit_ia32_to_le_r64()
366 const struct bpf_prog_aux *aux) in emit_ia32_to_be_r64()
579 u8 **pprog, const struct bpf_prog_aux *aux) in emit_ia32_alu_r64()
679 const struct bpf_prog_aux *aux) in emit_ia32_alu_i64()
/Linux-v5.15/security/
Dsecurity.c2582 int security_bpf_prog_alloc(struct bpf_prog_aux *aux) in security_bpf_prog_alloc()
2590 void security_bpf_prog_free(struct bpf_prog_aux *aux) in security_bpf_prog_free()
/Linux-v5.15/arch/riscv/net/
Dbpf_jit_comp64.c449 struct bpf_prog_aux *aux = ctx->prog->aux; in bpf_jit_emit_insn()
/Linux-v5.15/security/selinux/
Dhooks.c6993 static int selinux_bpf_prog_alloc(struct bpf_prog_aux *aux) in selinux_bpf_prog_alloc()
7007 static void selinux_bpf_prog_free(struct bpf_prog_aux *aux) in selinux_bpf_prog_free()