Lines Matching defs:fud
1204 static ssize_t fuse_dev_do_read(struct fuse_dev *fud, struct file *file,
1208 struct fuse_conn *fc = fud->fc;
1210 struct fuse_pqueue *fpq = &fud->pq;
1357 struct fuse_dev *fud = fuse_get_dev(file);
1359 if (!fud)
1367 return fuse_dev_do_read(fud, file, &cs, iov_iter_count(to));
1378 struct fuse_dev *fud = fuse_get_dev(in);
1380 if (!fud)
1391 ret = fuse_dev_do_read(fud, in, &cs, len);
1850 static ssize_t fuse_dev_do_write(struct fuse_dev *fud,
1854 struct fuse_conn *fc = fud->fc;
1855 struct fuse_pqueue *fpq = &fud->pq;
1950 struct fuse_dev *fud = fuse_get_dev(iocb->ki_filp);
1952 if (!fud)
1960 return fuse_dev_do_write(fud, &cs, iov_iter_count(from));
1972 struct fuse_dev *fud;
1976 fud = fuse_get_dev(out);
1977 if (!fud)
2041 ret = fuse_dev_do_write(fud, &cs, len);
2061 struct fuse_dev *fud = fuse_get_dev(file);
2063 if (!fud)
2066 fiq = &fud->fc->iq;
2131 struct fuse_dev *fud;
2142 list_for_each_entry(fud, &fc->devices, entry) {
2143 struct fuse_pqueue *fpq = &fud->pq;
2199 struct fuse_dev *fud = fuse_get_dev(file);
2201 if (fud) {
2202 struct fuse_conn *fc = fud->fc;
2203 struct fuse_pqueue *fpq = &fud->pq;
2220 fuse_dev_free(fud);
2228 struct fuse_dev *fud = fuse_get_dev(file);
2230 if (!fud)
2234 return fasync_helper(fd, file, on, &fud->fc->iq.fasync);
2239 struct fuse_dev *fud;
2244 fud = fuse_dev_alloc_install(fc);
2245 if (!fud)
2248 new->private_data = fud;
2259 struct fuse_dev *fud = NULL;
2276 fud = fuse_get_dev(f.file);
2279 if (fud) {
2281 res = fuse_device_clone(fud->fc, file);