Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/preload/iterators/
H A 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()
/openbmc/linux/include/linux/
H A 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);
1403 struct bpf_prog_aux { struct
1518 struct bpf_prog_aux *aux; /* Auxiliary fields */
2771 void __bpf_free_used_btfs(struct bpf_prog_aux *aux,
2780 void __bpf_free_used_maps(struct bpf_prog_aux *aux,
2815 struct bpf_prog_aux *prog_aux);
2821 static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound()
2826 static inline bool bpf_prog_is_offloaded(const struct bpf_prog_aux *aux) in bpf_prog_is_offloaded()
[all …]
H A Dbpf-cgroup.h172 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *map);
458 static inline int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, in bpf_cgroup_storage_assign()
H A Dsecurity.h2033 struct bpf_prog_aux;
2040 extern int security_bpf_prog_alloc(struct bpf_prog_aux *aux);
2041 extern void security_bpf_prog_free(struct bpf_prog_aux *aux);
2067 static inline int security_bpf_prog_alloc(struct bpf_prog_aux *aux) in security_bpf_prog_alloc()
2072 static inline void security_bpf_prog_free(struct bpf_prog_aux *aux) in security_bpf_prog_free()
H A 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)
H A Dfilter.h35 struct bpf_prog_aux;
/openbmc/linux/kernel/bpf/
H A Dcore.c94 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats()
753 container_of(ksym, struct bpf_prog_aux, ksym)->prog : in bpf_prog_ksym_find()
2266 struct bpf_prog_aux *aux = fp->aux; in bpf_prog_map_compatible()
2314 struct bpf_prog_aux *aux = fp->aux; in bpf_check_tail_call()
2693 void __bpf_free_used_maps(struct bpf_prog_aux *aux, in __bpf_free_used_maps()
2711 static void bpf_free_used_maps(struct bpf_prog_aux *aux) in bpf_free_used_maps()
2717 void __bpf_free_used_btfs(struct bpf_prog_aux *aux, in __bpf_free_used_btfs()
2733 static void bpf_free_used_btfs(struct bpf_prog_aux *aux) in bpf_free_used_btfs()
2741 struct bpf_prog_aux *aux; in bpf_prog_free_deferred()
2744 aux = container_of(work, struct bpf_prog_aux, work); in bpf_prog_free_deferred()
[all …]
H A 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()
H A Darraymap.c970 struct bpf_prog_aux *aux;
974 struct bpf_prog_aux *prog_aux) in prog_array_map_poke_track()
1007 struct bpf_prog_aux *prog_aux) in prog_array_map_poke_untrack()
H A Dlocal_storage.c470 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *_map) in bpf_cgroup_storage_assign()
H A Dsyscall.c2139 struct bpf_prog_aux *aux = container_of(rcu, struct bpf_prog_aux, rcu); in __bpf_prog_put_rcu()
2171 struct bpf_prog_aux *aux; in bpf_prog_put_deferred()
2174 aux = container_of(work, struct bpf_prog_aux, work); in bpf_prog_put_deferred()
2184 struct bpf_prog_aux *aux = prog->aux; in __bpf_prog_put()
H A Dhelpers.c1271 struct bpf_prog_aux *, aux) in BPF_CALL_3() argument
H A Dverifier.c2847 struct bpf_prog_aux *prog_aux; in add_kfunc_call()
14785 struct bpf_prog_aux *aux = env->prog->aux; in check_ld_imm()
15577 struct bpf_prog_aux *aux = env->prog->aux; in adjust_btf_func()
17923 struct bpf_prog_aux *aux = env->prog->aux; in adjust_subprog_starts_after_remove()
19678 struct bpf_prog_aux *aux = env->prog->aux; in do_check_subprogs()
19858 struct bpf_prog_aux *aux = tgt_prog->aux; in bpf_check_attach_target()
/openbmc/linux/Documentation/bpf/
H A Ddrgn.rst99 For example, to print ``struct bpf_prog_aux`` for BPF program id 53077:
124 *(struct bpf_prog_aux *)0xffff8893fad4b400 = {
/openbmc/linux/arch/x86/net/
H A 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()
/openbmc/linux/security/
H A Dsecurity.c5245 int security_bpf_prog_alloc(struct bpf_prog_aux *aux) in security_bpf_prog_alloc()
5267 void security_bpf_prog_free(struct bpf_prog_aux *aux) in security_bpf_prog_free()
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp64.c599 struct bpf_prog_aux *aux = ctx->prog->aux; in bpf_jit_emit_insn()
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c1075 struct bpf_prog_aux *aux = ctx->prog->aux; in bpf_jit_emit_insn()
/openbmc/linux/security/selinux/
H A Dhooks.c6846 static int selinux_bpf_prog_alloc(struct bpf_prog_aux *aux) in selinux_bpf_prog_alloc()
6860 static void selinux_bpf_prog_free(struct bpf_prog_aux *aux) in selinux_bpf_prog_free()