Lines Matching defs:bpf_prog_aux

1371 struct bpf_prog_aux {  struct
1372 atomic64_t refcnt;
1373 u32 used_map_cnt;
1374 u32 used_btf_cnt;
1375 u32 max_ctx_offset;
1376 u32 max_pkt_offset;
1377 u32 max_tp_access;
1378 u32 stack_depth;
1379 u32 id;
1380 u32 func_cnt; /* used by non-func prog as the number of func progs */
1381 u32 func_idx; /* 0 for non-func prog, the index in func array for func prog */
1382 u32 attach_btf_id; /* in-kernel BTF type id to attach to */
1383 u32 ctx_arg_info_size;
1384 u32 max_rdonly_access;
1385 u32 max_rdwr_access;
1386 struct btf *attach_btf;
1387 const struct bpf_ctx_arg_aux *ctx_arg_info;
1388 struct mutex dst_mutex; /* protects dst_* pointers below, *after* prog becomes visible */
1389 struct bpf_prog *dst_prog;
1390 struct bpf_trampoline *dst_trampoline;
1391 enum bpf_prog_type saved_dst_prog_type;
1392 enum bpf_attach_type saved_dst_attach_type;
1393 bool verifier_zext; /* Zero extensions has been inserted by verifier. */
1394 bool dev_bound; /* Program is bound to the netdev. */
1395 bool offload_requested; /* Program is bound and offloaded to the netdev. */
1396 bool attach_btf_trace; /* true if attaching to BTF-enabled raw tp */
1397 bool func_proto_unreliable;
1398 bool sleepable;
1399 bool tail_call_reachable;
1400 bool xdp_has_frags;
1402 const struct btf_type *attach_func_proto;
1404 const char *attach_func_name;
1405 struct bpf_prog **func;
1406 void *jit_data; /* JIT specific data. arch dependent */
1407 struct bpf_jit_poke_descriptor *poke_tab;
1408 struct bpf_kfunc_desc_tab *kfunc_tab;
1409 struct bpf_kfunc_btf_tab *kfunc_btf_tab;
1410 u32 size_poke_tab;
1411 struct bpf_ksym ksym;
1412 const struct bpf_prog_ops *ops;
1413 struct bpf_map **used_maps;
1414 struct mutex used_maps_mutex; /* mutex for used_maps and used_map_cnt */
1415 struct btf_mod_pair *used_btfs;
1416 struct bpf_prog *prog;
1417 struct user_struct *user;
1418 u64 load_time; /* ns since boottime */
1419 u32 verified_insns;
1420 int cgroup_atype; /* enum cgroup_bpf_attach_type */
1421 struct bpf_map *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE];
1422 char name[BPF_OBJ_NAME_LEN];
1424 void *security;
1426 struct bpf_prog_offload *offload;
1427 struct btf *btf;
1428 struct bpf_func_info *func_info;
1429 struct bpf_func_info_aux *func_info_aux;
1436 struct bpf_line_info *linfo;
1444 void **jited_linfo;
1445 u32 func_info_cnt;
1446 u32 nr_linfo;
1451 u32 linfo_idx;
1452 struct module *mod;
1453 u32 num_exentries;
1454 struct exception_table_entry *extable;
1455 union {