Lines Matching refs:inode
26 struct inode *inode = owner; in inode_storage_ptr() local
29 bsb = bpf_inode(inode); in inode_storage_ptr()
35 static struct bpf_local_storage_data *inode_storage_lookup(struct inode *inode, in inode_storage_lookup() argument
43 bsb = bpf_inode(inode); in inode_storage_lookup()
55 void bpf_inode_storage_free(struct inode *inode) in bpf_inode_storage_free() argument
63 bsb = bpf_inode(inode); in bpf_inode_storage_free()
142 static int inode_storage_delete(struct inode *inode, struct bpf_map *map) in inode_storage_delete() argument
146 sdata = inode_storage_lookup(inode, map, false); in inode_storage_delete()
170 BPF_CALL_4(bpf_inode_storage_get, struct bpf_map *, map, struct inode *, inode, in BPF_CALL_4() argument
183 if (!inode || !inode_storage_ptr(inode)) in BPF_CALL_4()
186 sdata = inode_storage_lookup(inode, map, true); in BPF_CALL_4()
195 inode, (struct bpf_local_storage_map *)map, value, in BPF_CALL_4()
205 struct bpf_map *, map, struct inode *, inode) in BPF_CALL_2() argument
207 if (!inode) in BPF_CALL_2()
213 return inode_storage_delete(inode, map); in BPF_CALL_2()
259 BTF_ID_LIST_SINGLE(bpf_inode_storage_btf_ids, struct, inode)