Lines Matching defs:bpf_prog_aux
1461 struct bpf_prog_aux { struct
1462 atomic64_t refcnt;
1463 u32 used_map_cnt;
1464 u32 used_btf_cnt;
1465 u32 max_ctx_offset;
1466 u32 max_pkt_offset;
1467 u32 max_tp_access;
1468 u32 stack_depth;
1469 u32 id;
1470 u32 func_cnt; /* used by non-func prog as the number of func progs */
1471 u32 real_func_cnt; /* includes hidden progs, only used for JIT and freeing progs */
1472 u32 func_idx; /* 0 for non-func prog, the index in func array for func prog */
1473 u32 attach_btf_id; /* in-kernel BTF type id to attach to */
1474 u32 ctx_arg_info_size;
1475 u32 max_rdonly_access;
1476 u32 max_rdwr_access;
1477 struct btf *attach_btf;
1478 const struct bpf_ctx_arg_aux *ctx_arg_info;
1479 struct mutex dst_mutex; /* protects dst_* pointers below, *after* prog becomes visible */
1480 struct bpf_prog *dst_prog;
1481 struct bpf_trampoline *dst_trampoline;
1482 enum bpf_prog_type saved_dst_prog_type;
1483 enum bpf_attach_type saved_dst_attach_type;
1484 bool verifier_zext; /* Zero extensions has been inserted by verifier. */
1485 bool dev_bound; /* Program is bound to the netdev. */
1486 bool offload_requested; /* Program is bound and offloaded to the netdev. */
1487 bool attach_btf_trace; /* true if attaching to BTF-enabled raw tp */
1488 bool attach_tracing_prog; /* true if tracing another tracing program */
1489 bool func_proto_unreliable;
1490 bool tail_call_reachable;
1491 bool xdp_has_frags;
1492 bool exception_cb;
1493 bool exception_boundary;
1494 struct bpf_arena *arena;
1496 const struct btf_type *attach_func_proto;
1498 const char *attach_func_name;
1499 struct bpf_prog **func;
1500 void *jit_data; /* JIT specific data. arch dependent */
1501 struct bpf_jit_poke_descriptor *poke_tab;
1502 struct bpf_kfunc_desc_tab *kfunc_tab;
1503 struct bpf_kfunc_btf_tab *kfunc_btf_tab;
1504 u32 size_poke_tab;
1506 struct bpf_ksym ksym_prefix;
1508 struct bpf_ksym ksym;
1509 const struct bpf_prog_ops *ops;
1510 struct bpf_map **used_maps;
1511 struct mutex used_maps_mutex; /* mutex for used_maps and used_map_cnt */
1512 struct btf_mod_pair *used_btfs;
1513 struct bpf_prog *prog;
1514 struct user_struct *user;
1515 u64 load_time; /* ns since boottime */
1516 u32 verified_insns;
1517 int cgroup_atype; /* enum cgroup_bpf_attach_type */
1518 struct bpf_map *cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE];
1519 char name[BPF_OBJ_NAME_LEN];
1520 u64 (*bpf_exception_cb)(u64 cookie, u64 sp, u64 bp, u64, u64);
1522 void *security;
1524 struct bpf_token *token;
1525 struct bpf_prog_offload *offload;
1526 struct btf *btf;
1527 struct bpf_func_info *func_info;
1528 struct bpf_func_info_aux *func_info_aux;
1535 struct bpf_line_info *linfo;
1543 void **jited_linfo;
1544 u32 func_info_cnt;
1545 u32 nr_linfo;
1550 u32 linfo_idx;
1551 struct module *mod;
1552 u32 num_exentries;
1553 struct exception_table_entry *extable;
1554 union {