Lines Matching refs:outarg

117 			     struct fuse_entry_out *outarg)  in fuse_lookup_init()  argument
119 memset(outarg, 0, sizeof(struct fuse_entry_out)); in fuse_lookup_init()
130 req->out.args[0].value = outarg; in fuse_lookup_init()
166 struct fuse_entry_out outarg; in fuse_dentry_revalidate() local
195 &entry->d_name, &outarg); in fuse_dentry_revalidate()
201 if (!err && !outarg.nodeid) in fuse_dentry_revalidate()
205 if (outarg.nodeid != get_node_id(inode)) { in fuse_dentry_revalidate()
206 fuse_queue_forget(fc, forget, outarg.nodeid, 1); in fuse_dentry_revalidate()
214 if (err || (outarg.attr.mode ^ inode->i_mode) & S_IFMT) in fuse_dentry_revalidate()
217 fuse_change_attributes(inode, &outarg.attr, in fuse_dentry_revalidate()
218 entry_attr_timeout(&outarg), in fuse_dentry_revalidate()
220 fuse_change_entry_timeout(entry, &outarg); in fuse_dentry_revalidate()
261 struct fuse_entry_out *outarg, struct inode **inode) in fuse_lookup_name() argument
288 fuse_lookup_init(fc, req, nodeid, name, outarg); in fuse_lookup_name()
293 if (err || !outarg->nodeid) in fuse_lookup_name()
297 if (!outarg->nodeid) in fuse_lookup_name()
299 if (!fuse_valid_type(outarg->attr.mode)) in fuse_lookup_name()
302 *inode = fuse_iget(sb, outarg->nodeid, outarg->generation, in fuse_lookup_name()
303 &outarg->attr, entry_attr_timeout(outarg), in fuse_lookup_name()
307 fuse_queue_forget(fc, forget, outarg->nodeid, 1); in fuse_lookup_name()
322 struct fuse_entry_out outarg; in fuse_lookup() local
329 &outarg, &inode); in fuse_lookup()
354 fuse_change_entry_timeout(entry, &outarg); in fuse_lookup()
485 struct fuse_entry_out outarg; in create_new_entry() local
496 memset(&outarg, 0, sizeof(outarg)); in create_new_entry()
502 req->out.args[0].size = sizeof(outarg); in create_new_entry()
503 req->out.args[0].value = &outarg; in create_new_entry()
511 if (invalid_nodeid(outarg.nodeid)) in create_new_entry()
514 if ((outarg.attr.mode ^ mode) & S_IFMT) in create_new_entry()
517 inode = fuse_iget(dir->i_sb, outarg.nodeid, outarg.generation, in create_new_entry()
518 &outarg.attr, entry_attr_timeout(&outarg), 0); in create_new_entry()
520 fuse_queue_forget(fc, forget, outarg.nodeid, 1); in create_new_entry()
541 fuse_change_entry_timeout(entry, &outarg); in create_new_entry()
795 struct fuse_attr_out outarg; in fuse_do_getattr() local
807 memset(&outarg, 0, sizeof(outarg)); in fuse_do_getattr()
824 req->out.args[0].size = sizeof(outarg); in fuse_do_getattr()
825 req->out.args[0].value = &outarg; in fuse_do_getattr()
830 if ((inode->i_mode ^ outarg.attr.mode) & S_IFMT) { in fuse_do_getattr()
834 fuse_change_attributes(inode, &outarg.attr, in fuse_do_getattr()
835 attr_timeout(&outarg), in fuse_do_getattr()
838 fuse_fillattr(inode, &outarg.attr, stat); in fuse_do_getattr()
1285 struct fuse_attr_out outarg; in fuse_do_setattr() local
1317 memset(&outarg, 0, sizeof(outarg)); in fuse_do_setattr()
1338 req->out.args[0].size = sizeof(outarg); in fuse_do_setattr()
1339 req->out.args[0].value = &outarg; in fuse_do_setattr()
1349 if ((inode->i_mode ^ outarg.attr.mode) & S_IFMT) { in fuse_do_setattr()
1356 fuse_change_attributes_common(inode, &outarg.attr, in fuse_do_setattr()
1357 attr_timeout(&outarg)); in fuse_do_setattr()
1359 i_size_write(inode, outarg.attr.size); in fuse_do_setattr()
1371 if (S_ISREG(inode->i_mode) && oldsize != outarg.attr.size) { in fuse_do_setattr()
1372 truncate_pagecache(inode, oldsize, outarg.attr.size); in fuse_do_setattr()
1450 struct fuse_getxattr_out outarg; in fuse_getxattr() local
1476 req->out.args[0].size = sizeof(outarg); in fuse_getxattr()
1477 req->out.args[0].value = &outarg; in fuse_getxattr()
1482 ret = size ? req->out.args[0].size : outarg.size; in fuse_getxattr()
1499 struct fuse_getxattr_out outarg; in fuse_listxattr() local
1526 req->out.args[0].size = sizeof(outarg); in fuse_listxattr()
1527 req->out.args[0].value = &outarg; in fuse_listxattr()
1532 ret = size ? req->out.args[0].size : outarg.size; in fuse_listxattr()