Lines Matching refs:outarg
173 struct fuse_entry_out *outarg) in fuse_lookup_init() argument
175 memset(outarg, 0, sizeof(struct fuse_entry_out)); in fuse_lookup_init()
183 args->out_args[0].value = outarg; in fuse_lookup_init()
208 struct fuse_entry_out outarg; in fuse_dentry_revalidate() local
232 &entry->d_name, &outarg); in fuse_dentry_revalidate()
236 if (!ret && !outarg.nodeid) in fuse_dentry_revalidate()
240 if (outarg.nodeid != get_node_id(inode) || in fuse_dentry_revalidate()
241 (bool) IS_AUTOMOUNT(inode) != (bool) (outarg.attr.flags & FUSE_ATTR_SUBMOUNT)) { in fuse_dentry_revalidate()
243 outarg.nodeid, 1); in fuse_dentry_revalidate()
253 if (ret || fuse_invalid_attr(&outarg.attr) || in fuse_dentry_revalidate()
254 fuse_stale_inode(inode, outarg.generation, &outarg.attr)) in fuse_dentry_revalidate()
258 fuse_change_attributes(inode, &outarg.attr, NULL, in fuse_dentry_revalidate()
259 ATTR_TIMEOUT(&outarg), in fuse_dentry_revalidate()
261 fuse_change_entry_timeout(entry, &outarg); in fuse_dentry_revalidate()
364 struct fuse_entry_out *outarg, struct inode **inode) in fuse_lookup_name() argument
385 fuse_lookup_init(fm->fc, &args, nodeid, name, outarg); in fuse_lookup_name()
388 if (err || !outarg->nodeid) in fuse_lookup_name()
392 if (fuse_invalid_attr(&outarg->attr)) in fuse_lookup_name()
394 if (outarg->nodeid == FUSE_ROOT_ID && outarg->generation != 0) { in fuse_lookup_name()
396 outarg->generation = 0; in fuse_lookup_name()
399 *inode = fuse_iget(sb, outarg->nodeid, outarg->generation, in fuse_lookup_name()
400 &outarg->attr, ATTR_TIMEOUT(outarg), in fuse_lookup_name()
404 fuse_queue_forget(fm->fc, forget, outarg->nodeid, 1); in fuse_lookup_name()
419 struct fuse_entry_out outarg; in fuse_lookup() local
430 &outarg, &inode); in fuse_lookup()
450 fuse_change_entry_timeout(entry, &outarg); in fuse_lookup()
787 struct fuse_entry_out outarg; in create_new_entry() local
800 memset(&outarg, 0, sizeof(outarg)); in create_new_entry()
803 args->out_args[0].size = sizeof(outarg); in create_new_entry()
804 args->out_args[0].value = &outarg; in create_new_entry()
818 if (invalid_nodeid(outarg.nodeid) || fuse_invalid_attr(&outarg.attr)) in create_new_entry()
821 if ((outarg.attr.mode ^ mode) & S_IFMT) in create_new_entry()
824 inode = fuse_iget(dir->i_sb, outarg.nodeid, outarg.generation, in create_new_entry()
825 &outarg.attr, ATTR_TIMEOUT(&outarg), 0); in create_new_entry()
827 fuse_queue_forget(fm->fc, forget, outarg.nodeid, 1); in create_new_entry()
838 fuse_change_entry_timeout(d, &outarg); in create_new_entry()
841 fuse_change_entry_timeout(entry, &outarg); in create_new_entry()
1200 struct fuse_statx_out outarg; in fuse_do_statx() local
1206 memset(&outarg, 0, sizeof(outarg)); in fuse_do_statx()
1223 args.out_args[0].size = sizeof(outarg); in fuse_do_statx()
1224 args.out_args[0].value = &outarg; in fuse_do_statx()
1229 sx = &outarg.stat; in fuse_do_statx()
1237 fuse_statx_to_attr(&outarg.stat, &attr); in fuse_do_statx()
1239 fuse_change_attributes(inode, &attr, &outarg.stat, in fuse_do_statx()
1240 ATTR_TIMEOUT(&outarg), attr_version); in fuse_do_statx()
1259 struct fuse_attr_out outarg; in fuse_do_getattr() local
1267 memset(&outarg, 0, sizeof(outarg)); in fuse_do_getattr()
1281 args.out_args[0].size = sizeof(outarg); in fuse_do_getattr()
1282 args.out_args[0].value = &outarg; in fuse_do_getattr()
1285 if (fuse_invalid_attr(&outarg.attr) || in fuse_do_getattr()
1286 inode_wrong_type(inode, outarg.attr.mode)) { in fuse_do_getattr()
1290 fuse_change_attributes(inode, &outarg.attr, NULL, in fuse_do_getattr()
1291 ATTR_TIMEOUT(&outarg), in fuse_do_getattr()
1294 fuse_fillattr(idmap, inode, &outarg.attr, stat); in fuse_do_getattr()
1873 struct fuse_attr_out outarg; in fuse_flush_times() local
1876 memset(&outarg, 0, sizeof(outarg)); in fuse_flush_times()
1890 fuse_setattr_fill(fm->fc, &args, inode, &inarg, &outarg); in fuse_flush_times()
1913 struct fuse_attr_out outarg; in fuse_do_setattr() local
1982 memset(&outarg, 0, sizeof(outarg)); in fuse_do_setattr()
2004 fuse_setattr_fill(fc, &args, inode, &inarg, &outarg); in fuse_do_setattr()
2012 if (fuse_invalid_attr(&outarg.attr) || in fuse_do_setattr()
2013 inode_wrong_type(inode, outarg.attr.mode)) { in fuse_do_setattr()
2029 fuse_change_attributes_common(inode, &outarg.attr, NULL, in fuse_do_setattr()
2030 ATTR_TIMEOUT(&outarg), in fuse_do_setattr()
2035 i_size_write(inode, outarg.attr.size); in fuse_do_setattr()
2048 S_ISREG(inode->i_mode) && oldsize != outarg.attr.size) { in fuse_do_setattr()
2049 truncate_pagecache(inode, outarg.attr.size); in fuse_do_setattr()