Lines Matching refs:fid

98 					struct p9_fid *fid,  in v9fs_qid_iget_dotl()  argument
131 retval = v9fs_get_acl(inode, fid); in v9fs_qid_iget_dotl()
144 v9fs_inode_from_fid_dotl(struct v9fs_session_info *v9ses, struct p9_fid *fid, in v9fs_inode_from_fid_dotl() argument
150 st = p9_client_getattr_dotl(fid, P9_STATS_BASIC | P9_STATS_GEN); in v9fs_inode_from_fid_dotl()
154 inode = v9fs_qid_iget_dotl(sb, &st->qid, fid, st, new); in v9fs_inode_from_fid_dotl()
237 struct p9_fid *fid = NULL; in v9fs_vfs_atomic_open_dotl() local
302 fid = p9_client_walk(dfid, 1, &name, 1); in v9fs_vfs_atomic_open_dotl()
303 if (IS_ERR(fid)) { in v9fs_vfs_atomic_open_dotl()
304 err = PTR_ERR(fid); in v9fs_vfs_atomic_open_dotl()
308 inode = v9fs_get_new_inode_from_fid(v9ses, fid, dir->i_sb); in v9fs_vfs_atomic_open_dotl()
315 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_atomic_open_dotl()
317 v9fs_fid_add(dentry, &fid); in v9fs_vfs_atomic_open_dotl()
338 p9_fid_put(fid); in v9fs_vfs_atomic_open_dotl()
359 struct p9_fid *fid = NULL, *dfid = NULL; in v9fs_vfs_mkdir_dotl() local
394 fid = p9_client_walk(dfid, 1, &name, 1); in v9fs_vfs_mkdir_dotl()
395 if (IS_ERR(fid)) { in v9fs_vfs_mkdir_dotl()
396 err = PTR_ERR(fid); in v9fs_vfs_mkdir_dotl()
403 inode = v9fs_get_new_inode_from_fid(v9ses, fid, dir->i_sb); in v9fs_vfs_mkdir_dotl()
410 v9fs_fid_add(dentry, &fid); in v9fs_vfs_mkdir_dotl()
411 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mkdir_dotl()
417 p9_fid_put(fid); in v9fs_vfs_mkdir_dotl()
430 struct p9_fid *fid; in v9fs_vfs_getattr_dotl() local
448 fid = v9fs_fid_lookup(dentry); in v9fs_vfs_getattr_dotl()
449 if (IS_ERR(fid)) in v9fs_vfs_getattr_dotl()
450 return PTR_ERR(fid); in v9fs_vfs_getattr_dotl()
456 st = p9_client_getattr_dotl(fid, P9_STATS_ALL); in v9fs_vfs_getattr_dotl()
457 p9_fid_put(fid); in v9fs_vfs_getattr_dotl()
524 struct p9_fid *fid = NULL; in v9fs_vfs_setattr_dotl() local
557 fid = iattr->ia_file->private_data; in v9fs_vfs_setattr_dotl()
558 WARN_ON(!fid); in v9fs_vfs_setattr_dotl()
560 if (!fid) { in v9fs_vfs_setattr_dotl()
561 fid = v9fs_fid_lookup(dentry); in v9fs_vfs_setattr_dotl()
564 if (IS_ERR(fid)) in v9fs_vfs_setattr_dotl()
565 return PTR_ERR(fid); in v9fs_vfs_setattr_dotl()
575 retval = p9_client_setattr(fid, &p9attr); in v9fs_vfs_setattr_dotl()
578 p9_fid_put(fid); in v9fs_vfs_setattr_dotl()
599 retval = v9fs_acl_chmod(inode, fid); in v9fs_vfs_setattr_dotl()
602 p9_fid_put(fid); in v9fs_vfs_setattr_dotl()
607 p9_fid_put(fid); in v9fs_vfs_setattr_dotl()
696 struct p9_fid *fid = NULL; in v9fs_vfs_symlink_dotl() local
721 p9_fid_put(fid); in v9fs_vfs_symlink_dotl()
768 struct p9_fid *fid; in v9fs_vfs_link_dotl() local
770 fid = v9fs_fid_lookup(old_dentry); in v9fs_vfs_link_dotl()
771 if (IS_ERR(fid)) in v9fs_vfs_link_dotl()
772 return PTR_ERR(fid); in v9fs_vfs_link_dotl()
774 v9fs_refresh_inode_dotl(fid, d_inode(old_dentry)); in v9fs_vfs_link_dotl()
775 p9_fid_put(fid); in v9fs_vfs_link_dotl()
801 struct p9_fid *fid = NULL, *dfid = NULL; in v9fs_vfs_mknod_dotl() local
834 fid = p9_client_walk(dfid, 1, &name, 1); in v9fs_vfs_mknod_dotl()
835 if (IS_ERR(fid)) { in v9fs_vfs_mknod_dotl()
836 err = PTR_ERR(fid); in v9fs_vfs_mknod_dotl()
841 inode = v9fs_get_new_inode_from_fid(v9ses, fid, dir->i_sb); in v9fs_vfs_mknod_dotl()
848 v9fs_set_create_acl(inode, fid, dacl, pacl); in v9fs_vfs_mknod_dotl()
849 v9fs_fid_add(dentry, &fid); in v9fs_vfs_mknod_dotl()
853 p9_fid_put(fid); in v9fs_vfs_mknod_dotl()
872 struct p9_fid *fid; in v9fs_vfs_get_link_dotl() local
881 fid = v9fs_fid_lookup(dentry); in v9fs_vfs_get_link_dotl()
882 if (IS_ERR(fid)) in v9fs_vfs_get_link_dotl()
883 return ERR_CAST(fid); in v9fs_vfs_get_link_dotl()
884 retval = p9_client_readlink(fid, &target); in v9fs_vfs_get_link_dotl()
885 p9_fid_put(fid); in v9fs_vfs_get_link_dotl()
892 int v9fs_refresh_inode_dotl(struct p9_fid *fid, struct inode *inode) in v9fs_refresh_inode_dotl() argument
899 st = p9_client_getattr_dotl(fid, P9_STATS_ALL); in v9fs_refresh_inode_dotl()