Lines Matching defs:bpf_prog_aux
841 struct bpf_prog_aux { struct
842 atomic64_t refcnt;
843 u32 used_map_cnt;
844 u32 used_btf_cnt;
845 u32 max_ctx_offset;
846 u32 max_pkt_offset;
847 u32 max_tp_access;
848 u32 stack_depth;
849 u32 id;
850 u32 func_cnt; /* used by non-func prog as the number of func progs */
851 u32 func_idx; /* 0 for non-func prog, the index in func array for func prog */
852 u32 attach_btf_id; /* in-kernel BTF type id to attach to */
853 u32 ctx_arg_info_size;
854 u32 max_rdonly_access;
855 u32 max_rdwr_access;
856 struct btf *attach_btf;
857 const struct bpf_ctx_arg_aux *ctx_arg_info;
858 struct mutex dst_mutex; /* protects dst_* pointers below, *after* prog becomes visible */
859 struct bpf_prog *dst_prog;
860 struct bpf_trampoline *dst_trampoline;
861 enum bpf_prog_type saved_dst_prog_type;
862 enum bpf_attach_type saved_dst_attach_type;
863 bool verifier_zext; /* Zero extensions has been inserted by verifier. */
864 bool offload_requested;
865 bool attach_btf_trace; /* true if attaching to BTF-enabled raw tp */
866 bool func_proto_unreliable;
867 bool sleepable;
868 bool tail_call_reachable;
869 struct hlist_node tramp_hlist;
871 const struct btf_type *attach_func_proto;
873 const char *attach_func_name;
874 struct bpf_prog **func;
875 void *jit_data; /* JIT specific data. arch dependent */
876 struct bpf_jit_poke_descriptor *poke_tab;
877 struct bpf_kfunc_desc_tab *kfunc_tab;
878 u32 size_poke_tab;
879 struct bpf_ksym ksym;
880 const struct bpf_prog_ops *ops;
881 struct bpf_map **used_maps;
882 struct mutex used_maps_mutex; /* mutex for used_maps and used_map_cnt */
883 struct btf_mod_pair *used_btfs;
884 struct bpf_prog *prog;
885 struct user_struct *user;
886 u64 load_time; /* ns since boottime */
887 struct bpf_map *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE];
888 char name[BPF_OBJ_NAME_LEN];
890 void *security;
892 struct bpf_prog_offload *offload;
893 struct btf *btf;
894 struct bpf_func_info *func_info;
895 struct bpf_func_info_aux *func_info_aux;
902 struct bpf_line_info *linfo;
910 void **jited_linfo;
911 u32 func_info_cnt;
912 u32 nr_linfo;
917 u32 linfo_idx;
918 u32 num_exentries;
919 struct exception_table_entry *extable;
920 union {