Home
last modified time | relevance | path

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

/fs/fuse/
Ddev.c1211 static ssize_t fuse_dev_do_read(struct fuse_dev *fud, struct file *file, in fuse_dev_do_read() argument
1215 struct fuse_conn *fc = fud->fc; in fuse_dev_do_read()
1217 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_do_read()
1364 struct fuse_dev *fud = fuse_get_dev(file); in fuse_dev_read() local
1366 if (!fud) in fuse_dev_read()
1374 return fuse_dev_do_read(fud, file, &cs, iov_iter_count(to)); in fuse_dev_read()
1385 struct fuse_dev *fud = fuse_get_dev(in); in fuse_dev_splice_read() local
1387 if (!fud) in fuse_dev_splice_read()
1398 ret = fuse_dev_do_read(fud, in, &cs, len); in fuse_dev_splice_read()
1857 static ssize_t fuse_dev_do_write(struct fuse_dev *fud, in fuse_dev_do_write() argument
[all …]
Dinode.c1579 struct fuse_dev *fud; in fuse_dev_alloc() local
1582 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL); in fuse_dev_alloc()
1583 if (!fud) in fuse_dev_alloc()
1588 kfree(fud); in fuse_dev_alloc()
1592 fud->pq.processing = pq; in fuse_dev_alloc()
1593 fuse_pqueue_init(&fud->pq); in fuse_dev_alloc()
1595 return fud; in fuse_dev_alloc()
1599 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc) in fuse_dev_install() argument
1601 fud->fc = fuse_conn_get(fc); in fuse_dev_install()
1603 list_add_tail(&fud->entry, &fc->devices); in fuse_dev_install()
[all …]
Dcuse.c498 struct fuse_dev *fud; in cuse_channel_open() local
515 fud = fuse_dev_alloc_install(&cc->fc); in cuse_channel_open()
517 if (!fud) in cuse_channel_open()
525 fuse_dev_free(fud); in cuse_channel_open()
528 file->private_data = fud; in cuse_channel_open()
546 struct fuse_dev *fud = file->private_data; in cuse_channel_release() local
547 struct cuse_conn *cc = fc_to_cc(fud->fc); in cuse_channel_release()
Dvirtio_fs.c49 struct fuse_dev *fud; member
297 if (!fsvq->fud) in virtio_fs_free_devs()
300 fuse_dev_free(fsvq->fud); in virtio_fs_free_devs()
301 fsvq->fud = NULL; in virtio_fs_free_devs()
561 struct fuse_pqueue *fpq = &fsvq->fud->pq; in virtio_fs_request_complete()
613 struct fuse_pqueue *fpq = &fsvq->fud->pq; in virtio_fs_requests_done_work()
1194 fpq = &fsvq->fud->pq; in virtio_fs_enqueue_req()
1322 fsvq->fud = fuse_dev_alloc(); in virtio_fs_fill_super()
1323 if (!fsvq->fud) in virtio_fs_fill_super()
1345 fuse_dev_install(fsvq->fud, fc); in virtio_fs_fill_super()
Dpassthrough.c198 int fuse_passthrough_open(struct fuse_dev *fud, u32 lower_fd) in fuse_passthrough_open() argument
202 struct fuse_conn *fc = fud->fc; in fuse_passthrough_open()
Dfuse_i.h1250 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc);
1251 void fuse_dev_free(struct fuse_dev *fud);
1443 int fuse_passthrough_open(struct fuse_dev *fud, u32 lower_fd);