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()
777 struct fuse_entry_out outarg; in create_new_entry() local
790 memset(&outarg, 0, sizeof(outarg)); in create_new_entry()
793 args->out_args[0].size = sizeof(outarg); in create_new_entry()
794 args->out_args[0].value = &outarg; in create_new_entry()
808 if (invalid_nodeid(outarg.nodeid) || fuse_invalid_attr(&outarg.attr)) in create_new_entry()
811 if ((outarg.attr.mode ^ mode) & S_IFMT) in create_new_entry()
814 inode = fuse_iget(dir->i_sb, outarg.nodeid, outarg.generation, in create_new_entry()
815 &outarg.attr, ATTR_TIMEOUT(&outarg), 0); in create_new_entry()
817 fuse_queue_forget(fm->fc, forget, outarg.nodeid, 1); in create_new_entry()
828 fuse_change_entry_timeout(d, &outarg); in create_new_entry()
831 fuse_change_entry_timeout(entry, &outarg); in create_new_entry()
1184 struct fuse_statx_out outarg; in fuse_do_statx() local
1190 memset(&outarg, 0, sizeof(outarg)); in fuse_do_statx()
1207 args.out_args[0].size = sizeof(outarg); in fuse_do_statx()
1208 args.out_args[0].value = &outarg; in fuse_do_statx()
1213 sx = &outarg.stat; in fuse_do_statx()
1221 fuse_statx_to_attr(&outarg.stat, &attr); in fuse_do_statx()
1223 fuse_change_attributes(inode, &attr, &outarg.stat, in fuse_do_statx()
1224 ATTR_TIMEOUT(&outarg), attr_version); in fuse_do_statx()
1243 struct fuse_attr_out outarg; in fuse_do_getattr() local
1251 memset(&outarg, 0, sizeof(outarg)); in fuse_do_getattr()
1265 args.out_args[0].size = sizeof(outarg); in fuse_do_getattr()
1266 args.out_args[0].value = &outarg; in fuse_do_getattr()
1269 if (fuse_invalid_attr(&outarg.attr) || in fuse_do_getattr()
1270 inode_wrong_type(inode, outarg.attr.mode)) { in fuse_do_getattr()
1274 fuse_change_attributes(inode, &outarg.attr, NULL, in fuse_do_getattr()
1275 ATTR_TIMEOUT(&outarg), in fuse_do_getattr()
1278 fuse_fillattr(inode, &outarg.attr, stat); in fuse_do_getattr()
1814 struct fuse_attr_out outarg; in fuse_flush_times() local
1817 memset(&outarg, 0, sizeof(outarg)); in fuse_flush_times()
1831 fuse_setattr_fill(fm->fc, &args, inode, &inarg, &outarg); in fuse_flush_times()
1854 struct fuse_attr_out outarg; in fuse_do_setattr() local
1923 memset(&outarg, 0, sizeof(outarg)); in fuse_do_setattr()
1945 fuse_setattr_fill(fc, &args, inode, &inarg, &outarg); in fuse_do_setattr()
1953 if (fuse_invalid_attr(&outarg.attr) || in fuse_do_setattr()
1954 inode_wrong_type(inode, outarg.attr.mode)) { in fuse_do_setattr()
1970 fuse_change_attributes_common(inode, &outarg.attr, NULL, in fuse_do_setattr()
1971 ATTR_TIMEOUT(&outarg), in fuse_do_setattr()
1976 i_size_write(inode, outarg.attr.size); in fuse_do_setattr()
1989 S_ISREG(inode->i_mode) && oldsize != outarg.attr.size) { in fuse_do_setattr()
1990 truncate_pagecache(inode, outarg.attr.size); in fuse_do_setattr()