Lines Matching defs:bpf_map
249 struct bpf_map { struct
253 const struct bpf_map_ops *ops ____cacheline_aligned; argument
254 struct bpf_map *inner_map_meta; argument
258 enum bpf_map_type map_type; argument
259 u32 key_size;
260 u32 value_size;
261 u32 max_entries;
262 u64 map_extra; /* any per-map-type extra fields */
263 u32 map_flags;
264 u32 id;
265 struct btf_record *record;
266 int numa_node;
267 u32 btf_key_type_id;
268 u32 btf_value_type_id;
269 u32 btf_vmlinux_value_type_id;
270 struct btf *btf;
272 struct obj_cgroup *objcg;
274 char name[BPF_OBJ_NAME_LEN];
278 atomic64_t refcnt ____cacheline_aligned;
279 atomic64_t usercnt;
281 union {
285 struct mutex freeze_mutex;
286 atomic64_t writecnt;
292 struct {
297 } owner;
298 bool bypass_spec_v1;
299 bool frozen; /* write-once; write-protected by freeze_mutex */
300 bool free_after_mult_rcu_gp;
301 bool free_after_rcu_gp;
302 atomic64_t sleepable_refcnt;
303 s64 __percpu *elem_count;