Lines Matching refs:map_flags

60 	    attr->map_flags & ~ARRAY_CREATE_FLAG_MASK ||  in array_map_alloc_check()
61 !bpf_map_flags_access_ok(attr->map_flags) || in array_map_alloc_check()
66 attr->map_flags & (BPF_F_MMAPABLE | BPF_F_INNER_MAP)) in array_map_alloc_check()
70 attr->map_flags & BPF_F_PRESERVE_ELEMS) in array_map_alloc_check()
119 if (attr->map_flags & BPF_F_MMAPABLE) { in array_map_alloc()
128 if (attr->map_flags & BPF_F_MMAPABLE) { in array_map_alloc()
214 if (map->map_flags & BPF_F_INNER_MAP) in array_map_gen_lookup()
319 u64 map_flags) in array_map_update_elem() argument
325 if (unlikely((map_flags & ~BPF_F_LOCK) > BPF_EXIST)) in array_map_update_elem()
333 if (unlikely(map_flags & BPF_NOEXIST)) in array_map_update_elem()
337 if (unlikely((map_flags & BPF_F_LOCK) && in array_map_update_elem()
348 if (map_flags & BPF_F_LOCK) in array_map_update_elem()
358 u64 map_flags) in bpf_percpu_array_update() argument
366 if (unlikely(map_flags > BPF_EXIST)) in bpf_percpu_array_update()
374 if (unlikely(map_flags == BPF_NOEXIST)) in bpf_percpu_array_update()
447 if (array->map.map_flags & BPF_F_MMAPABLE) in array_map_free()
534 if (!(map->map_flags & BPF_F_MMAPABLE)) in array_map_mmap()
550 return meta0->map_flags & BPF_F_INNER_MAP ? true : in array_map_meta_equal()
784 if (attr->map_flags & (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG)) in fd_array_map_alloc_check()
828 void *key, void *value, u64 map_flags) in bpf_fd_array_map_update_elem() argument
834 if (map_flags != BPF_ANY) in bpf_fd_array_map_update_elem()
1238 if (map->map_flags & BPF_F_PRESERVE_ELEMS) in perf_event_fd_array_release()
1252 if (map->map_flags & BPF_F_PRESERVE_ELEMS) in perf_event_fd_array_map_free()