Lines Matching refs:map
36 struct bpf_map *map, in inode_storage_lookup() argument
52 smap = (struct bpf_local_storage_map *)map; in inode_storage_lookup()
78 static void *bpf_fd_inode_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_lookup_elem() argument
86 sdata = inode_storage_lookup(file_inode(fd_file(f)), map, true); in bpf_fd_inode_storage_lookup_elem()
90 static long bpf_fd_inode_storage_update_elem(struct bpf_map *map, void *key, in bpf_fd_inode_storage_update_elem() argument
102 (struct bpf_local_storage_map *)map, in bpf_fd_inode_storage_update_elem()
107 static int inode_storage_delete(struct inode *inode, struct bpf_map *map) in inode_storage_delete() argument
111 sdata = inode_storage_lookup(inode, map, false); in inode_storage_delete()
120 static long bpf_fd_inode_storage_delete_elem(struct bpf_map *map, void *key) in bpf_fd_inode_storage_delete_elem() argument
126 return inode_storage_delete(file_inode(fd_file(f)), map); in bpf_fd_inode_storage_delete_elem()
130 BPF_CALL_5(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_5() argument
147 sdata = inode_storage_lookup(inode, map, true); in BPF_CALL_5()
156 inode, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5()
166 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2() argument
175 return inode_storage_delete(inode, map); in BPF_CALL_2()
178 static int notsupp_get_next_key(struct bpf_map *map, void *key, in notsupp_get_next_key() argument
189 static void inode_storage_map_free(struct bpf_map *map) in inode_storage_map_free() argument
191 bpf_local_storage_map_free(map, &inode_cache, NULL); in inode_storage_map_free()