Home
last modified time | relevance | path

Searched refs:bpf (Results 1 – 4 of 4) sorted by relevance

/fs/fuse/
Dbacking.c266 if (get_fuse_inode(inode)->bpf) in fuse_create_open_backing()
267 bpf_prog_put(get_fuse_inode(inode)->bpf); in fuse_create_open_backing()
268 get_fuse_inode(inode)->bpf = fuse_entry->bpf; in fuse_create_open_backing()
269 fuse_entry->bpf = NULL; in fuse_create_open_backing()
1231 struct bpf_prog **bpf) in fuse_handle_bpf_prog() argument
1243 new_bpf = get_fuse_inode(parent)->bpf; in fuse_handle_bpf_prog()
1271 if (*bpf) { in fuse_handle_bpf_prog()
1274 return new_bpf == *bpf ? 0 : -EINVAL; in fuse_handle_bpf_prog()
1277 *bpf = new_bpf; in fuse_handle_bpf_prog()
1317 fuse_handle_bpf_prog(feb, dir, &get_fuse_inode(inode)->bpf) : in fuse_lookup_finalize()
[all …]
Ddir.c186 struct bpf_prog *bpf = NULL; in backing_data_changed() local
204 err = fuse_handle_bpf_prog(bpf_arg, entry->d_parent->d_inode, &bpf); in backing_data_changed()
208 ret = (bpf != fi->bpf || fi->backing_inode != new_backing_inode || in backing_data_changed()
211 if (bpf) in backing_data_changed()
212 bpf_prog_put(bpf); in backing_data_changed()
366 if (fd && fd->bpf) in fuse_dentry_release()
367 bpf_prog_put(fd->bpf); in fuse_dentry_release()
551 &get_fuse_inode(*inode)->bpf); in fuse_lookup_name()
Dfuse_i.h98 struct bpf_prog *bpf; member
140 struct bpf_prog *bpf; member
1744 struct bpf_prog **bpf);
2036 ext_flags = fuse_inode->bpf ? \
2037 fuse_bpf_run(fuse_inode->bpf, &fa) : \
2092 ext_flags = fuse_bpf_run(fuse_inode->bpf, &fa); \
Dinode.c102 fi->bpf = NULL; in fuse_alloc_inode()
139 if (fi->bpf) in fuse_free_inode()
140 bpf_prog_put(fi->bpf); in fuse_free_inode()
1162 get_fuse_inode(inode)->bpf = root_bpf; in fuse_get_root_inode()