Home
last modified time | relevance | path

Searched refs:fud (Results 1 – 7 of 7) sorted by relevance

/linux/fs/fuse/
H A Ddev.c79 struct fuse_dev *fud; in fuse_check_timeout() local
103 list_for_each_entry(fud, &fc->devices, entry) { in fuse_check_timeout()
104 fpq = &fud->pq; in fuse_check_timeout()
1402 static ssize_t fuse_dev_do_read(struct fuse_dev *fud, struct file *file, in fuse_dev_do_read() argument
1406 struct fuse_conn *fc = fud->fc; in fuse_dev_do_read()
1408 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_do_read()
1553 struct fuse_dev *fud = __fuse_get_dev(file); in fuse_get_dev() local
1556 if (likely(fud)) in fuse_get_dev()
1557 return fud; in fuse_get_dev()
1564 fud = __fuse_get_dev(file); in fuse_get_dev()
[all …]
H A Dfuse_dev_i.h51 struct fuse_dev *fud = READ_ONCE(file->private_data); in __fuse_get_dev() local
53 return (typeof(fud)) ((unsigned long) fud & FUSE_DEV_PTR_MASK); in __fuse_get_dev()
H A Dinode.c1618 struct fuse_dev *fud; in fuse_dev_alloc() local
1621 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL); in fuse_dev_alloc()
1622 if (!fud) in fuse_dev_alloc()
1627 kfree(fud); in fuse_dev_alloc()
1631 fud->pq.processing = pq; in fuse_dev_alloc()
1632 fuse_pqueue_init(&fud->pq); in fuse_dev_alloc()
1634 return fud; in fuse_dev_alloc()
1638 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc) in fuse_dev_install() argument
1640 fud->fc = fuse_conn_get(fc); in fuse_dev_install()
1642 list_add_tail(&fud->entry, &fc->devices); in fuse_dev_install()
[all …]
H A Dcuse.c503 struct fuse_dev *fud; in cuse_channel_open() local
520 fud = fuse_dev_alloc_install(&cc->fc); in cuse_channel_open()
522 if (!fud) in cuse_channel_open()
530 fuse_dev_free(fud); in cuse_channel_open()
533 file->private_data = fud; in cuse_channel_open()
551 struct fuse_dev *fud = __fuse_get_dev(file); in cuse_channel_release() local
552 struct cuse_conn *cc = fc_to_cc(fud->fc); in cuse_channel_release()
H A Dvirtio_fs.c55 struct fuse_dev *fud; member
486 if (!fsvq->fud) in virtio_fs_free_devs()
489 fuse_dev_free(fsvq->fud); in virtio_fs_free_devs()
490 fsvq->fud = NULL; in virtio_fs_free_devs()
814 struct fuse_pqueue *fpq = &fsvq->fud->pq; in virtio_fs_requests_done_work()
1444 fpq = &fsvq->fud->pq; in virtio_fs_enqueue_req()
1567 fsvq->fud = fuse_dev_alloc(); in virtio_fs_fill_super()
1568 if (!fsvq->fud) in virtio_fs_fill_super()
1590 fuse_dev_install(fsvq->fud, fc); in virtio_fs_fill_super()
H A Ddev_uring.c1132 struct fuse_dev *fud; in fuse_uring_cmd() local
1146 fud = fuse_get_dev(cmd->file); in fuse_uring_cmd()
1147 if (IS_ERR(fud)) { in fuse_uring_cmd()
1149 return PTR_ERR(fud); in fuse_uring_cmd()
1151 fc = fud->fc; in fuse_uring_cmd()
H A Dfuse_i.h1345 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc);
1346 void fuse_dev_free(struct fuse_dev *fud);