Lines Matching refs:st
337 struct p9_wstat *st; in v9fs_inode_from_fid() local
340 st = p9_client_stat(fid); in v9fs_inode_from_fid()
341 if (IS_ERR(st)) { in v9fs_inode_from_fid()
342 err = PTR_ERR(st); in v9fs_inode_from_fid()
343 st = NULL; in v9fs_inode_from_fid()
347 umode = p9mode2unixmode(v9ses, st->mode); in v9fs_inode_from_fid()
355 v9fs_stat2inode(st, ret, sb); in v9fs_inode_from_fid()
356 ret->i_ino = v9fs_qid2ino(&st->qid); in v9fs_inode_from_fid()
357 kfree(st); in v9fs_inode_from_fid()
361 kfree(st); in v9fs_inode_from_fid()
745 struct p9_wstat *st; in v9fs_vfs_getattr() local
757 st = p9_client_stat(fid); in v9fs_vfs_getattr()
758 if (IS_ERR(st)) in v9fs_vfs_getattr()
759 return PTR_ERR(st); in v9fs_vfs_getattr()
761 v9fs_stat2inode(st, dentry->d_inode, dentry->d_inode->i_sb); in v9fs_vfs_getattr()
764 kfree(st); in v9fs_vfs_getattr()
911 struct p9_wstat *st; in v9fs_readlink() local
923 st = p9_client_stat(fid); in v9fs_readlink()
924 if (IS_ERR(st)) in v9fs_readlink()
925 return PTR_ERR(st); in v9fs_readlink()
927 if (!(st->mode & P9_DMSYMLINK)) { in v9fs_readlink()
933 strncpy(buffer, st->extension, buflen); in v9fs_readlink()
936 "%s -> %s (%s)\n", dentry->d_name.name, st->extension, buffer); in v9fs_readlink()
941 kfree(st); in v9fs_readlink()