Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/fuse/
Ddev.c1213 static ssize_t fuse_dev_do_read(struct fuse_dev *fud, struct file *file, in fuse_dev_do_read() argument
1217 struct fuse_conn *fc = fud->fc; in fuse_dev_do_read()
1219 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_do_read()
1366 struct fuse_dev *fud = fuse_get_dev(file); in fuse_dev_read() local
1368 if (!fud) in fuse_dev_read()
1376 return fuse_dev_do_read(fud, file, &cs, iov_iter_count(to)); in fuse_dev_read()
1387 struct fuse_dev *fud = fuse_get_dev(in); in fuse_dev_splice_read() local
1389 if (!fud) in fuse_dev_splice_read()
1400 ret = fuse_dev_do_read(fud, in, &cs, len); in fuse_dev_splice_read()
1859 static ssize_t fuse_dev_do_write(struct fuse_dev *fud, in fuse_dev_do_write() argument
[all …]
Dinode.c1187 struct fuse_dev *fud; in fuse_dev_alloc() local
1190 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL); in fuse_dev_alloc()
1191 if (!fud) in fuse_dev_alloc()
1196 kfree(fud); in fuse_dev_alloc()
1200 fud->pq.processing = pq; in fuse_dev_alloc()
1201 fuse_pqueue_init(&fud->pq); in fuse_dev_alloc()
1203 return fud; in fuse_dev_alloc()
1207 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc) in fuse_dev_install() argument
1209 fud->fc = fuse_conn_get(fc); in fuse_dev_install()
1211 list_add_tail(&fud->entry, &fc->devices); in fuse_dev_install()
[all …]
Dcuse.c498 struct fuse_dev *fud; in cuse_channel_open() local
514 fud = fuse_dev_alloc_install(&cc->fc); in cuse_channel_open()
515 if (!fud) { in cuse_channel_open()
526 fuse_dev_free(fud); in cuse_channel_open()
530 file->private_data = fud; in cuse_channel_open()
548 struct fuse_dev *fud = file->private_data; in cuse_channel_release() local
549 struct cuse_conn *cc = fc_to_cc(fud->fc); in cuse_channel_release()
Dvirtio_fs.c48 struct fuse_dev *fud; member
138 return &vq_to_fsvq(vq)->fud->pq; in vq_to_fpq()
289 if (!fsvq->fud) in virtio_fs_free_devs()
292 fuse_dev_free(fsvq->fud); in virtio_fs_free_devs()
293 fsvq->fud = NULL; in virtio_fs_free_devs()
553 struct fuse_pqueue *fpq = &fsvq->fud->pq; in virtio_fs_request_complete()
605 struct fuse_pqueue *fpq = &fsvq->fud->pq; in virtio_fs_requests_done_work()
1200 fpq = &fsvq->fud->pq; in virtio_fs_enqueue_req()
1327 fsvq->fud = fuse_dev_alloc(); in virtio_fs_fill_super()
1328 if (!fsvq->fud) in virtio_fs_fill_super()
[all …]
Dfuse_i.h1064 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc);
1065 void fuse_dev_free(struct fuse_dev *fud);