Home
last modified time | relevance | path

Searched refs:ff (Results 1 – 12 of 12) sorted by relevance

/fs/fuse/
A Diomode.c35 if (!ff->args) in fuse_file_cached_io_open()
61 if (ff->iomode == IOM_NONE) { in fuse_file_cached_io_open()
62 ff->iomode = IOM_CACHED; in fuse_file_cached_io_open()
76 WARN_ON(ff->iomode != IOM_CACHED); in fuse_file_cached_io_release()
77 ff->iomode = IOM_NONE; in fuse_file_cached_io_release()
117 struct fuse_file *ff, in fuse_file_uncached_io_open() argument
127 WARN_ON(ff->iomode != IOM_NONE); in fuse_file_uncached_io_open()
128 ff->iomode = IOM_UNCACHED; in fuse_file_uncached_io_open()
153 ff->iomode = IOM_NONE; in fuse_file_uncached_io_release()
247 ff->open_flags, err); in fuse_file_io_open()
[all …]
A Dfile.c63 ff->fm = fm; in fuse_file_alloc()
67 kfree(ff); in fuse_file_alloc()
79 return ff; in fuse_file_alloc()
85 kfree(ff); in fuse_file_free()
91 return ff; in fuse_file_get()
136 if (!ff) in fuse_file_open()
170 return ff; in fuse_file_open()
318 memset(ff->args, 0, sizeof(*ff->args)); in fuse_prepare_release()
360 fuse_file_put(ff, ff->fm->fc->destroy); in fuse_file_release()
919 ia->ff = fuse_file_get(ff); in fuse_send_readpages()
[all …]
A Dpassthrough.c36 .cred = ff->cred, in fuse_passthrough_read_iter()
63 .cred = ff->cred, in fuse_passthrough_write_iter()
88 .cred = ff->cred, in fuse_passthrough_splice_read()
114 .cred = ff->cred, in fuse_passthrough_splice_write()
137 .cred = ff->cred, in fuse_passthrough_mmap()
338 ff->cred = get_cred(fb->cred); in fuse_passthrough_open()
349 fb, ff->passthrough); in fuse_passthrough_release()
351 fput(ff->passthrough); in fuse_passthrough_release()
352 ff->passthrough = NULL; in fuse_passthrough_release()
353 put_cred(ff->cred); in fuse_passthrough_release()
[all …]
A Dreaddir.c119 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_emit()
417 if (ff->readdir.pos == ctx->pos) { in fuse_parse_cache()
424 ff->readdir.pos = dirent->off; in fuse_parse_cache()
425 ff->readdir.cache_off += reclen; in fuse_parse_cache()
458 if (ff->readdir.pos != ctx->pos) { in fuse_readdir_cached()
459 ff->readdir.pos = 0; in fuse_readdir_cached()
460 ff->readdir.cache_off = 0; in fuse_readdir_cached()
506 ff->readdir.pos = 0; in fuse_readdir_cached()
507 ff->readdir.cache_off = 0; in fuse_readdir_cached()
513 if (ff->readdir.pos == 0) in fuse_readdir_cached()
[all …]
A Dioctl.c221 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl()
223 .fh = ff->fh, in fuse_do_ioctl()
318 ap.args.nodeid = ff->nodeid; in fuse_do_ioctl()
448 inarg.fh = ff->fh; in fuse_priv_ioctl()
463 args.nodeid = ff->nodeid; in fuse_priv_ioctl()
508 struct fuse_file *ff; in fuse_fileattr_get() local
514 if (IS_ERR(ff)) in fuse_fileattr_get()
515 return PTR_ERR(ff); in fuse_fileattr_get()
548 struct fuse_file *ff; in fuse_fileattr_set() local
554 if (IS_ERR(ff)) in fuse_fileattr_set()
[all …]
A Dcuse.c146 struct fuse_file *ff = file->private_data; in cuse_release() local
147 struct fuse_mount *fm = ff->fm; in cuse_release()
149 fuse_sync_release(NULL, ff, file->f_flags); in cuse_release()
158 struct fuse_file *ff = file->private_data; in cuse_file_ioctl() local
159 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); in cuse_file_ioctl()
171 struct fuse_file *ff = file->private_data; in cuse_file_compat_ioctl() local
172 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); in cuse_file_compat_ioctl()
A Dfuse_i.h1143 struct fuse_file *ff; member
1151 void fuse_file_free(struct fuse_file *ff);
1154 void fuse_sync_release(struct fuse_inode *fi, struct fuse_file *ff,
1420 int fuse_flush_times(struct inode *inode, struct fuse_file *ff);
1487 int fuse_file_cached_io_open(struct inode *inode, struct fuse_file *ff);
1493 void fuse_file_io_release(struct fuse_file *ff, struct inode *inode);
1498 void fuse_file_release(struct inode *inode, struct fuse_file *ff,
1544 void fuse_passthrough_release(struct fuse_file *ff, struct fuse_backing *fb);
1546 static inline struct file *fuse_file_passthrough(struct fuse_file *ff) in fuse_file_passthrough() argument
1549 return ff->passthrough; in fuse_file_passthrough()
A Ddir.c630 struct fuse_file *ff; in fuse_create_open() local
645 if (!ff) in fuse_create_open()
692 ff->fh = outopenp->fh; in fuse_create_open()
693 ff->nodeid = outentry.nodeid; in fuse_create_open()
711 file->private_data = ff; in fuse_create_open()
726 fuse_file_free(ff); in fuse_create_open()
1246 inarg.fh = ff->fh; in fuse_do_statx()
1307 inarg.fh = ff->fh; in fuse_do_getattr()
1922 if (ff) { in fuse_flush_times()
1924 inarg.fh = ff->fh; in fuse_flush_times()
[all …]
A Ddev.c2380 struct fuse_file *ff; in end_polls() local
2381 ff = rb_entry(p, struct fuse_file, polled_node); in end_polls()
2382 wake_up_interruptible_all(&ff->poll_wait); in end_polls()
/fs/
A Dfile_table.c295 struct backing_file *ff; in alloc_empty_backing_file() local
298 ff = kmem_cache_alloc(bfilp_cachep, GFP_KERNEL); in alloc_empty_backing_file()
299 if (unlikely(!ff)) in alloc_empty_backing_file()
302 error = init_file(&ff->file, flags, cred); in alloc_empty_backing_file()
304 kmem_cache_free(bfilp_cachep, ff); in alloc_empty_backing_file()
308 ff->file.f_mode |= FMODE_BACKING | FMODE_NOACCOUNT; in alloc_empty_backing_file()
309 return &ff->file; in alloc_empty_backing_file()
/fs/hpfs/
A Danode.c455 …o_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= secs) goto ff; in hpfs_truncate_btree()
458 ff: in hpfs_truncate_btree()
/fs/ntfs3/
A Dfslog.c735 u32 ff = le32_to_cpu(rt->first_free); in check_rstbl() local
742 le16_to_cpu(rt->total) > ne || ff > ts - sizeof(__le32) || in check_rstbl()
744 (ff && ff < sizeof(struct RESTART_TABLE)) || in check_rstbl()
768 for (off = ff; off;) { in check_rstbl()

Completed in 50 milliseconds