Lines Matching full:storage

66 	struct local_storage *storage;  in BPF_PROG()  local
79 storage = bpf_task_storage_get(&task_storage_map, task, 0, 0); in BPF_PROG()
80 if (!storage) in BPF_PROG()
84 is_self_unlink = storage->exec_inode == victim->d_inode; in BPF_PROG()
86 storage = bpf_task_storage_get(&task_storage_map2, task, 0, in BPF_PROG()
88 if (!storage || storage->value) in BPF_PROG()
94 /* Ensure that the task_storage_map is disconnected from the storage. in BPF_PROG()
95 * The storage memory should not be freed back to the in BPF_PROG()
112 struct local_storage *storage; in BPF_PROG() local
122 storage = bpf_inode_storage_get(&inode_storage_map, old_dentry->d_inode, in BPF_PROG()
124 if (!storage) in BPF_PROG()
127 if (storage->value != DUMMY_STORAGE_VALUE) in BPF_PROG()
142 struct local_storage *storage; in BPF_PROG() local
148 storage = bpf_sk_storage_get(&sk_storage_map, sk, 0, 0); in BPF_PROG()
149 if (!storage) in BPF_PROG()
153 if (storage->value != DUMMY_STORAGE_VALUE) in BPF_PROG()
157 * with the local storage. in BPF_PROG()
159 storage = bpf_sk_storage_get(&sk_storage_map2, sk, 0, in BPF_PROG()
161 if (!storage) in BPF_PROG()
167 storage = bpf_sk_storage_get(&sk_storage_map2, sk, 0, in BPF_PROG()
169 if (!storage) in BPF_PROG()
175 /* Ensure that the sk_storage_map is disconnected from the storage. */ in BPF_PROG()
188 struct local_storage *storage; in BPF_PROG() local
194 storage = bpf_sk_storage_get(&sk_storage_map, sk, 0, in BPF_PROG()
196 if (!storage) in BPF_PROG()
199 storage->value = DUMMY_STORAGE_VALUE; in BPF_PROG()
204 /* This uses the local storage to remember the inode of the binary that a
211 struct local_storage *storage; in BPF_PROG() local
216 storage = bpf_task_storage_get(&task_storage_map, in BPF_PROG()
219 if (storage) in BPF_PROG()
220 storage->exec_inode = bprm->file->f_inode; in BPF_PROG()
222 storage = bpf_inode_storage_get(&inode_storage_map, bprm->file->f_inode, in BPF_PROG()
224 if (!storage) in BPF_PROG()
227 storage->value = DUMMY_STORAGE_VALUE; in BPF_PROG()