Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/fuse/
H A Ddev.c1221 static ssize_t fuse_dev_do_read(struct fuse_dev *fud, struct file *file, in fuse_dev_do_read() argument
1225 struct fuse_conn *fc = fud->fc; in fuse_dev_do_read()
1227 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_do_read()
1374 struct fuse_dev *fud = fuse_get_dev(file); in fuse_dev_read() local
1376 if (!fud) in fuse_dev_read()
1384 return fuse_dev_do_read(fud, file, &cs, iov_iter_count(to)); in fuse_dev_read()
1395 struct fuse_dev *fud = fuse_get_dev(in); in fuse_dev_splice_read() local
1397 if (!fud) in fuse_dev_splice_read()
1408 ret = fuse_dev_do_read(fud, in, &cs, len); in fuse_dev_splice_read()
1867 static ssize_t fuse_dev_do_write(struct fuse_dev *fud, in fuse_dev_do_write() argument
[all …]
H A Dinode.c1208 struct fuse_dev *fud; in fuse_dev_alloc() local
1211 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL); in fuse_dev_alloc()
1212 if (!fud) in fuse_dev_alloc()
1217 kfree(fud); in fuse_dev_alloc()
1221 fud->pq.processing = pq; in fuse_dev_alloc()
1222 fuse_pqueue_init(&fud->pq); in fuse_dev_alloc()
1224 return fud; in fuse_dev_alloc()
1228 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc) in fuse_dev_install() argument
1230 fud->fc = fuse_conn_get(fc); in fuse_dev_install()
1232 list_add_tail(&fud->entry, &fc->devices); in fuse_dev_install()
[all …]
H A 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()
H A Dvirtio_fs.c42 struct fuse_dev *fud; member
132 return &vq_to_fsvq(vq)->fud->pq; in vq_to_fpq()
283 if (!fsvq->fud) in virtio_fs_free_devs()
286 fuse_dev_free(fsvq->fud); in virtio_fs_free_devs()
287 fsvq->fud = NULL; in virtio_fs_free_devs()
547 struct fuse_pqueue *fpq = &fsvq->fud->pq; in virtio_fs_request_complete()
599 struct fuse_pqueue *fpq = &fsvq->fud->pq; in virtio_fs_requests_done_work()
1195 fpq = &fsvq->fud->pq; in virtio_fs_enqueue_req()
1323 fsvq->fud = fuse_dev_alloc(); in virtio_fs_fill_super()
1324 if (!fsvq->fud) in virtio_fs_fill_super()
[all …]
H A Dpassthrough.c197 int fuse_passthrough_open(struct fuse_dev *fud, u32 lower_fd) in fuse_passthrough_open() argument
201 struct fuse_conn *fc = fud->fc; in fuse_passthrough_open()
H A Dfuse_i.h1085 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc);
1086 void fuse_dev_free(struct fuse_dev *fud);
1261 int fuse_passthrough_open(struct fuse_dev *fud, u32 lower_fd);