Lines Matching refs:fud
1211 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
1861 struct fuse_conn *fc = fud->fc; in fuse_dev_do_write()
1862 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_do_write()
1978 struct fuse_dev *fud = fuse_get_dev(iocb->ki_filp); in fuse_dev_write() local
1980 if (!fud) in fuse_dev_write()
1988 return fuse_dev_do_write(fud, &cs, iov_iter_count(from)); in fuse_dev_write()
2000 struct fuse_dev *fud; in fuse_dev_splice_write() local
2004 fud = fuse_get_dev(out); in fuse_dev_splice_write()
2005 if (!fud) in fuse_dev_splice_write()
2069 ret = fuse_dev_do_write(fud, &cs, len); in fuse_dev_splice_write()
2089 struct fuse_dev *fud = fuse_get_dev(file); in fuse_dev_poll() local
2091 if (!fud) in fuse_dev_poll()
2094 fiq = &fud->fc->iq; in fuse_dev_poll()
2159 struct fuse_dev *fud; in fuse_abort_conn() local
2170 list_for_each_entry(fud, &fc->devices, entry) { in fuse_abort_conn()
2171 struct fuse_pqueue *fpq = &fud->pq; in fuse_abort_conn()
2227 struct fuse_dev *fud = fuse_get_dev(file); in fuse_dev_release() local
2229 if (fud) { in fuse_dev_release()
2230 struct fuse_conn *fc = fud->fc; in fuse_dev_release()
2231 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_release()
2248 fuse_dev_free(fud); in fuse_dev_release()
2256 struct fuse_dev *fud = fuse_get_dev(file); in fuse_dev_fasync() local
2258 if (!fud) in fuse_dev_fasync()
2262 return fasync_helper(fd, file, on, &fud->fc->iq.fasync); in fuse_dev_fasync()
2267 struct fuse_dev *fud; in fuse_device_clone() local
2272 fud = fuse_dev_alloc_install(fc); in fuse_device_clone()
2273 if (!fud) in fuse_device_clone()
2276 new->private_data = fud; in fuse_device_clone()
2287 struct fuse_dev *fud = NULL; in fuse_dev_ioctl() local
2304 fud = fuse_get_dev(old); in fuse_dev_ioctl()
2306 if (fud) { in fuse_dev_ioctl()
2308 res = fuse_device_clone(fud->fc, file); in fuse_dev_ioctl()
2319 fud = fuse_get_dev(file); in fuse_dev_ioctl()
2320 if (fud) in fuse_dev_ioctl()
2321 res = fuse_passthrough_open(fud, oldfd); in fuse_dev_ioctl()