Lines Matching refs:map
37 struct bpf_map *map,
53 smap = (struct bpf_local_storage_map *)map;
78 static void *bpf_fd_inode_storage_lookup_elem(struct bpf_map *map, void *key)
86 sdata = inode_storage_lookup(file_inode(f.file), map, true);
91 static long bpf_fd_inode_storage_update_elem(struct bpf_map *map, void *key,
105 (struct bpf_local_storage_map *)map,
111 static int inode_storage_delete(struct inode *inode, struct bpf_map *map)
115 sdata = inode_storage_lookup(inode, map, false);
124 static long bpf_fd_inode_storage_delete_elem(struct bpf_map *map, void *key)
132 err = inode_storage_delete(file_inode(f.file), map);
138 BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode,
155 sdata = inode_storage_lookup(inode, map, true);
164 inode, (struct bpf_local_storage_map *)map, value,
174 struct bpf_map *, map, struct inode *, inode)
183 return inode_storage_delete(inode, map);
186 static int notsupp_get_next_key(struct bpf_map *map, void *key,
197 static void inode_storage_map_free(struct bpf_map *map)
199 bpf_local_storage_map_free(map, &inode_cache, NULL);