Lines Matching refs:fud
1266 static ssize_t fuse_dev_do_read(struct fuse_dev *fud, struct file *file, in fuse_dev_do_read() argument
1270 struct fuse_conn *fc = fud->fc; in fuse_dev_do_read()
1272 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_do_read()
1399 struct fuse_dev *fud = fuse_get_dev(file); in fuse_dev_read() local
1401 if (!fud) in fuse_dev_read()
1409 return fuse_dev_do_read(fud, file, &cs, iov_iter_count(to)); in fuse_dev_read()
1420 struct fuse_dev *fud = fuse_get_dev(in); in fuse_dev_splice_read() local
1422 if (!fud) in fuse_dev_splice_read()
1433 ret = fuse_dev_do_read(fud, in, &cs, len); in fuse_dev_splice_read()
1885 static ssize_t fuse_dev_do_write(struct fuse_dev *fud, in fuse_dev_do_write() argument
1889 struct fuse_conn *fc = fud->fc; in fuse_dev_do_write()
1890 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_do_write()
1984 struct fuse_dev *fud = fuse_get_dev(iocb->ki_filp); in fuse_dev_write() local
1986 if (!fud) in fuse_dev_write()
1994 return fuse_dev_do_write(fud, &cs, iov_iter_count(from)); in fuse_dev_write()
2005 struct fuse_dev *fud; in fuse_dev_splice_write() local
2009 fud = fuse_get_dev(out); in fuse_dev_splice_write()
2010 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()
2163 struct fuse_dev *fud; in fuse_abort_conn() local
2171 list_for_each_entry(fud, &fc->devices, entry) { in fuse_abort_conn()
2172 struct fuse_pqueue *fpq = &fud->pq; in fuse_abort_conn()
2223 struct fuse_dev *fud = fuse_get_dev(file); in fuse_dev_release() local
2225 if (fud) { in fuse_dev_release()
2226 struct fuse_conn *fc = fud->fc; in fuse_dev_release()
2227 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_release()
2242 fuse_dev_free(fud); in fuse_dev_release()
2250 struct fuse_dev *fud = fuse_get_dev(file); in fuse_dev_fasync() local
2252 if (!fud) in fuse_dev_fasync()
2256 return fasync_helper(fd, file, on, &fud->fc->iq.fasync); in fuse_dev_fasync()
2261 struct fuse_dev *fud; in fuse_device_clone() local
2266 fud = fuse_dev_alloc(fc); in fuse_device_clone()
2267 if (!fud) in fuse_device_clone()
2270 new->private_data = fud; in fuse_device_clone()
2290 struct fuse_dev *fud = NULL; in fuse_dev_ioctl() local
2298 fud = fuse_get_dev(old); in fuse_dev_ioctl()
2300 if (fud) { in fuse_dev_ioctl()
2302 err = fuse_device_clone(fud->fc, file); in fuse_dev_ioctl()