Lines Matching refs:st

398 	struct p9_wstat *st = (struct p9_wstat *)data;  in v9fs_test_inode()  local
401 umode = p9mode2unixmode(v9ses, st, &rdev); in v9fs_test_inode()
408 &st->qid.version, sizeof(v9inode->qid.version))) in v9fs_test_inode()
411 if (v9inode->qid.type != st->qid.type) in v9fs_test_inode()
414 if (v9inode->qid.path != st->qid.path) in v9fs_test_inode()
427 struct p9_wstat *st = (struct p9_wstat *)data; in v9fs_set_inode() local
429 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode()
435 struct p9_wstat *st, in v9fs_qid_iget() argument
452 inode = iget5_locked(sb, i_ino, test, v9fs_set_inode, st); in v9fs_qid_iget()
463 umode = p9mode2unixmode(v9ses, st, &rdev); in v9fs_qid_iget()
468 v9fs_stat2inode(st, inode, sb, 0); in v9fs_qid_iget()
483 struct p9_wstat *st; in v9fs_inode_from_fid() local
486 st = p9_client_stat(fid); in v9fs_inode_from_fid()
487 if (IS_ERR(st)) in v9fs_inode_from_fid()
488 return ERR_CAST(st); in v9fs_inode_from_fid()
490 inode = v9fs_qid_iget(sb, &st->qid, st, new); in v9fs_inode_from_fid()
491 p9stat_free(st); in v9fs_inode_from_fid()
492 kfree(st); in v9fs_inode_from_fid()
1012 struct p9_wstat *st; in v9fs_vfs_getattr() local
1032 st = p9_client_stat(fid); in v9fs_vfs_getattr()
1034 if (IS_ERR(st)) in v9fs_vfs_getattr()
1035 return PTR_ERR(st); in v9fs_vfs_getattr()
1037 v9fs_stat2inode(st, d_inode(dentry), dentry->d_sb, 0); in v9fs_vfs_getattr()
1040 p9stat_free(st); in v9fs_vfs_getattr()
1041 kfree(st); in v9fs_vfs_getattr()
1227 struct p9_wstat *st; in v9fs_vfs_get_link() local
1243 st = p9_client_stat(fid); in v9fs_vfs_get_link()
1245 if (IS_ERR(st)) in v9fs_vfs_get_link()
1246 return ERR_CAST(st); in v9fs_vfs_get_link()
1248 if (!(st->mode & P9_DMSYMLINK)) { in v9fs_vfs_get_link()
1249 p9stat_free(st); in v9fs_vfs_get_link()
1250 kfree(st); in v9fs_vfs_get_link()
1253 res = st->extension; in v9fs_vfs_get_link()
1254 st->extension = NULL; in v9fs_vfs_get_link()
1258 p9stat_free(st); in v9fs_vfs_get_link()
1259 kfree(st); in v9fs_vfs_get_link()
1392 struct p9_wstat *st; in v9fs_refresh_inode() local
1397 st = p9_client_stat(fid); in v9fs_refresh_inode()
1398 if (IS_ERR(st)) in v9fs_refresh_inode()
1399 return PTR_ERR(st); in v9fs_refresh_inode()
1403 umode = p9mode2unixmode(v9ses, st, &rdev); in v9fs_refresh_inode()
1413 v9fs_stat2inode(st, inode, inode->i_sb, flags); in v9fs_refresh_inode()
1415 p9stat_free(st); in v9fs_refresh_inode()
1416 kfree(st); in v9fs_refresh_inode()