Lines Matching refs:outarg
150 struct fuse_entry_out *outarg) in fuse_lookup_init() argument
152 memset(outarg, 0, sizeof(struct fuse_entry_out)); in fuse_lookup_init()
160 args->out.args[0].value = outarg; in fuse_lookup_init()
200 struct fuse_entry_out outarg; in fuse_dentry_revalidate() local
224 &entry->d_name, &outarg); in fuse_dentry_revalidate()
228 if (!ret && !outarg.nodeid) in fuse_dentry_revalidate()
232 if (outarg.nodeid != get_node_id(inode)) { in fuse_dentry_revalidate()
233 fuse_queue_forget(fc, forget, outarg.nodeid, 1); in fuse_dentry_revalidate()
243 if (ret || fuse_invalid_attr(&outarg.attr) || in fuse_dentry_revalidate()
244 (outarg.attr.mode ^ inode->i_mode) & S_IFMT) in fuse_dentry_revalidate()
247 fuse_change_attributes(inode, &outarg.attr, in fuse_dentry_revalidate()
248 entry_attr_timeout(&outarg), in fuse_dentry_revalidate()
250 fuse_change_entry_timeout(entry, &outarg); in fuse_dentry_revalidate()
338 struct fuse_entry_out *outarg, struct inode **inode) in fuse_lookup_name() argument
359 fuse_lookup_init(fc, &args, nodeid, name, outarg); in fuse_lookup_name()
362 if (err || !outarg->nodeid) in fuse_lookup_name()
366 if (!outarg->nodeid) in fuse_lookup_name()
368 if (fuse_invalid_attr(&outarg->attr)) in fuse_lookup_name()
371 *inode = fuse_iget(sb, outarg->nodeid, outarg->generation, in fuse_lookup_name()
372 &outarg->attr, entry_attr_timeout(outarg), in fuse_lookup_name()
376 fuse_queue_forget(fc, forget, outarg->nodeid, 1); in fuse_lookup_name()
391 struct fuse_entry_out outarg; in fuse_lookup() local
397 &outarg, &inode); in fuse_lookup()
416 fuse_change_entry_timeout(entry, &outarg); in fuse_lookup()
576 struct fuse_entry_out outarg; in create_new_entry() local
585 memset(&outarg, 0, sizeof(outarg)); in create_new_entry()
588 args->out.args[0].size = sizeof(outarg); in create_new_entry()
589 args->out.args[0].value = &outarg; in create_new_entry()
595 if (invalid_nodeid(outarg.nodeid) || fuse_invalid_attr(&outarg.attr)) in create_new_entry()
598 if ((outarg.attr.mode ^ mode) & S_IFMT) in create_new_entry()
601 inode = fuse_iget(dir->i_sb, outarg.nodeid, outarg.generation, in create_new_entry()
602 &outarg.attr, entry_attr_timeout(&outarg), 0); in create_new_entry()
604 fuse_queue_forget(fc, forget, outarg.nodeid, 1); in create_new_entry()
613 fuse_change_entry_timeout(entry, &outarg); in create_new_entry()
923 struct fuse_attr_out outarg; in fuse_do_getattr() local
931 memset(&outarg, 0, sizeof(outarg)); in fuse_do_getattr()
945 args.out.args[0].size = sizeof(outarg); in fuse_do_getattr()
946 args.out.args[0].value = &outarg; in fuse_do_getattr()
949 if (fuse_invalid_attr(&outarg.attr) || in fuse_do_getattr()
950 (inode->i_mode ^ outarg.attr.mode) & S_IFMT) { in fuse_do_getattr()
954 fuse_change_attributes(inode, &outarg.attr, in fuse_do_getattr()
955 attr_timeout(&outarg), in fuse_do_getattr()
958 fuse_fillattr(inode, &outarg.attr, stat); in fuse_do_getattr()
1615 struct fuse_attr_out outarg; in fuse_flush_times() local
1618 memset(&outarg, 0, sizeof(outarg)); in fuse_flush_times()
1632 fuse_setattr_fill(fc, &args, inode, &inarg, &outarg); in fuse_flush_times()
1652 struct fuse_attr_out outarg; in fuse_do_setattr() local
1707 memset(&outarg, 0, sizeof(outarg)); in fuse_do_setattr()
1719 fuse_setattr_fill(fc, &args, inode, &inarg, &outarg); in fuse_do_setattr()
1727 if (fuse_invalid_attr(&outarg.attr) || in fuse_do_setattr()
1728 (inode->i_mode ^ outarg.attr.mode) & S_IFMT) { in fuse_do_setattr()
1744 fuse_change_attributes_common(inode, &outarg.attr, in fuse_do_setattr()
1745 attr_timeout(&outarg)); in fuse_do_setattr()
1749 i_size_write(inode, outarg.attr.size); in fuse_do_setattr()
1762 S_ISREG(inode->i_mode) && oldsize != outarg.attr.size) { in fuse_do_setattr()
1763 truncate_pagecache(inode, outarg.attr.size); in fuse_do_setattr()
1878 struct fuse_getxattr_out outarg; in fuse_getxattr() local
1900 args.out.args[0].size = sizeof(outarg); in fuse_getxattr()
1901 args.out.args[0].value = &outarg; in fuse_getxattr()
1905 ret = outarg.size; in fuse_getxattr()
1936 struct fuse_getxattr_out outarg; in fuse_listxattr() local
1959 args.out.args[0].size = sizeof(outarg); in fuse_listxattr()
1960 args.out.args[0].value = &outarg; in fuse_listxattr()
1964 ret = outarg.size; in fuse_listxattr()