/fs/fuse/ |
D | file.c | 60 struct fuse_file *ff; in fuse_file_alloc() local 62 ff = kzalloc(sizeof(struct fuse_file), GFP_KERNEL_ACCOUNT); in fuse_file_alloc() 63 if (unlikely(!ff)) in fuse_file_alloc() 66 ff->fm = fm; in fuse_file_alloc() 67 ff->release_args = kzalloc(sizeof(*ff->release_args), in fuse_file_alloc() 69 if (!ff->release_args) { in fuse_file_alloc() 70 kfree(ff); in fuse_file_alloc() 74 INIT_LIST_HEAD(&ff->write_entry); in fuse_file_alloc() 75 mutex_init(&ff->readdir.lock); in fuse_file_alloc() 76 refcount_set(&ff->count, 1); in fuse_file_alloc() [all …]
|
D | ioctl.c | 170 struct fuse_file *ff = file->private_data; in fuse_do_ioctl() local 171 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl() 173 .fh = ff->fh, in fuse_do_ioctl() 257 ap.args.nodeid = ff->nodeid; in fuse_do_ioctl() 365 struct fuse_file *ff = file->private_data; in fuse_ioctl_common() local 368 if (ff->backing_file) in fuse_ioctl_common() 386 static int fuse_priv_ioctl(struct inode *inode, struct fuse_file *ff, in fuse_priv_ioctl() argument 389 struct fuse_mount *fm = ff->fm; in fuse_priv_ioctl() 396 inarg.fh = ff->fh; in fuse_priv_ioctl() 411 args.nodeid = ff->nodeid; in fuse_priv_ioctl() [all …]
|
D | readdir.c | 119 struct fuse_file *ff = file->private_data; in fuse_emit() local 121 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_emit() 367 struct fuse_file *ff = file->private_data; in fuse_readdir_uncached() local 369 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir_uncached() 392 static enum fuse_parse_result fuse_parse_cache(struct fuse_file *ff, in fuse_parse_cache() argument 396 unsigned int offset = ff->readdir.cache_off & ~PAGE_MASK; in fuse_parse_cache() 418 if (ff->readdir.pos == ctx->pos) { in fuse_parse_cache() 425 ff->readdir.pos = dirent->off; in fuse_parse_cache() 426 ff->readdir.cache_off += reclen; in fuse_parse_cache() 448 struct fuse_file *ff = file->private_data; in fuse_readdir_cached() local [all …]
|
D | passthrough.c | 81 struct fuse_file *ff = fuse_filp->private_data; in fuse_passthrough_read_iter() local 82 struct file *passthrough_filp = ff->passthrough.filp; in fuse_passthrough_read_iter() 87 old_cred = override_creds(ff->passthrough.cred); in fuse_passthrough_read_iter() 122 struct fuse_file *ff = fuse_filp->private_data; in fuse_passthrough_write_iter() local 124 struct file *passthrough_filp = ff->passthrough.filp; in fuse_passthrough_write_iter() 134 old_cred = override_creds(ff->passthrough.cred); in fuse_passthrough_write_iter() 173 struct fuse_file *ff = file->private_data; in fuse_passthrough_mmap() local 174 struct file *passthrough_filp = ff->passthrough.filp; in fuse_passthrough_mmap() 184 old_cred = override_creds(ff->passthrough.cred); in fuse_passthrough_mmap() 259 int fuse_passthrough_setup(struct fuse_conn *fc, struct fuse_file *ff, in fuse_passthrough_setup() argument [all …]
|
D | backing.c | 81 struct fuse_file *ff; in fuse_open_backing() local 87 ff = fuse_file_alloc(fm); in fuse_open_backing() 88 if (!ff) in fuse_open_backing() 90 file->private_data = ff; in fuse_open_backing() 119 fuse_file_free(ff); in fuse_open_backing() 123 ff->backing_file = backing_file; in fuse_open_backing() 131 struct fuse_file *ff = file->private_data; in fuse_open_finalize() local 134 if (ff) { in fuse_open_finalize() 135 ff->fh = foo->fh; in fuse_open_finalize() 136 ff->nodeid = get_fuse_inode(inode)->nodeid; in fuse_open_finalize() [all …]
|
D | cuse.c | 146 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()
|
D | dir.c | 736 struct fuse_file *ff; in fuse_create_open() local 764 ff = fuse_file_alloc(fm); in fuse_create_open() 765 if (!ff) in fuse_create_open() 817 ff->fh = outopen.fh; in fuse_create_open() 818 ff->nodeid = outentry.nodeid; in fuse_create_open() 819 ff->open_flags = outopen.open_flags; in fuse_create_open() 820 fuse_passthrough_setup(fc, ff, &outopen); in fuse_create_open() 825 fuse_sync_release(NULL, ff, flags); in fuse_create_open() 837 fuse_sync_release(fi, ff, flags); in fuse_create_open() 839 file->private_data = ff; in fuse_create_open() [all …]
|
D | fuse_i.h | 1115 struct fuse_file *ff; member 1127 void fuse_file_free(struct fuse_file *ff); 1130 void fuse_sync_release(struct fuse_inode *fi, struct fuse_file *ff, 1368 int fuse_flush_times(struct inode *inode, struct fuse_file *ff); 1438 void fuse_file_release(struct inode *inode, struct fuse_file *ff, 1444 int fuse_passthrough_setup(struct fuse_conn *fc, struct fuse_file *ff, 1563 struct inode *inode, struct fuse_file *ff); 1565 struct inode *inode, struct fuse_file *ff); 1567 struct inode *inode, struct fuse_file *ff);
|
D | dev.c | 2127 struct fuse_file *ff; in end_polls() local 2128 ff = rb_entry(p, struct fuse_file, polled_node); in end_polls() 2129 wake_up_interruptible_all(&ff->poll_wait); in end_polls()
|
/fs/hpfs/ |
D | anode.c | 455 …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/ |
D | fslog.c | 720 u32 ff = le32_to_cpu(rt->first_free); in check_rstbl() local 727 le16_to_cpu(rt->total) > ne || ff > ts || lf > ts || in check_rstbl() 728 (ff && ff < sizeof(struct RESTART_TABLE)) || in check_rstbl() 752 for (off = ff; off;) { in check_rstbl()
|