Lines Matching refs:st
370 struct p9_wstat *st = (struct p9_wstat *)data; in v9fs_test_inode() local
373 umode = p9mode2unixmode(v9ses, st, &rdev); in v9fs_test_inode()
380 &st->qid.version, sizeof(v9inode->qid.version))) in v9fs_test_inode()
383 if (v9inode->qid.type != st->qid.type) in v9fs_test_inode()
386 if (v9inode->qid.path != st->qid.path) in v9fs_test_inode()
399 struct p9_wstat *st = (struct p9_wstat *)data; in v9fs_set_inode() local
401 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode()
407 struct p9_wstat *st, in v9fs_qid_iget() argument
422 inode = iget5_locked(sb, QID2INO(qid), test, v9fs_set_inode, st); in v9fs_qid_iget()
433 umode = p9mode2unixmode(v9ses, st, &rdev); in v9fs_qid_iget()
438 v9fs_stat2inode(st, inode, sb, 0); in v9fs_qid_iget()
453 struct p9_wstat *st; in v9fs_inode_from_fid() local
456 st = p9_client_stat(fid); in v9fs_inode_from_fid()
457 if (IS_ERR(st)) in v9fs_inode_from_fid()
458 return ERR_CAST(st); in v9fs_inode_from_fid()
460 inode = v9fs_qid_iget(sb, &st->qid, st, new); in v9fs_inode_from_fid()
461 p9stat_free(st); in v9fs_inode_from_fid()
462 kfree(st); in v9fs_inode_from_fid()
981 struct p9_wstat *st; in v9fs_vfs_getattr() local
1001 st = p9_client_stat(fid); in v9fs_vfs_getattr()
1003 if (IS_ERR(st)) in v9fs_vfs_getattr()
1004 return PTR_ERR(st); in v9fs_vfs_getattr()
1006 v9fs_stat2inode(st, d_inode(dentry), dentry->d_sb, 0); in v9fs_vfs_getattr()
1009 p9stat_free(st); in v9fs_vfs_getattr()
1010 kfree(st); in v9fs_vfs_getattr()
1175 struct p9_wstat *st; in v9fs_vfs_get_link() local
1191 st = p9_client_stat(fid); in v9fs_vfs_get_link()
1193 if (IS_ERR(st)) in v9fs_vfs_get_link()
1194 return ERR_CAST(st); in v9fs_vfs_get_link()
1196 if (!(st->mode & P9_DMSYMLINK)) { in v9fs_vfs_get_link()
1197 p9stat_free(st); in v9fs_vfs_get_link()
1198 kfree(st); in v9fs_vfs_get_link()
1201 res = st->extension; in v9fs_vfs_get_link()
1202 st->extension = NULL; in v9fs_vfs_get_link()
1206 p9stat_free(st); in v9fs_vfs_get_link()
1207 kfree(st); in v9fs_vfs_get_link()
1340 struct p9_wstat *st; in v9fs_refresh_inode() local
1345 st = p9_client_stat(fid); in v9fs_refresh_inode()
1346 if (IS_ERR(st)) in v9fs_refresh_inode()
1347 return PTR_ERR(st); in v9fs_refresh_inode()
1351 umode = p9mode2unixmode(v9ses, st, &rdev); in v9fs_refresh_inode()
1361 v9fs_stat2inode(st, inode, inode->i_sb, flags); in v9fs_refresh_inode()
1363 p9stat_free(st); in v9fs_refresh_inode()
1364 kfree(st); in v9fs_refresh_inode()