• Home
  • Raw
  • Download

Lines Matching refs:st

92 	struct p9_stat_dotl *st = (struct p9_stat_dotl *)data;  in v9fs_test_inode_dotl()  local
95 if ((inode->i_mode & S_IFMT) != (st->st_mode & S_IFMT)) in v9fs_test_inode_dotl()
98 if (inode->i_generation != st->st_gen) in v9fs_test_inode_dotl()
103 &st->qid.version, sizeof(v9inode->qid.version))) in v9fs_test_inode_dotl()
106 if (v9inode->qid.type != st->qid.type) in v9fs_test_inode_dotl()
120 struct p9_stat_dotl *st = (struct p9_stat_dotl *)data; in v9fs_set_inode_dotl() local
122 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode_dotl()
123 inode->i_generation = st->st_gen; in v9fs_set_inode_dotl()
130 struct p9_stat_dotl *st, in v9fs_qid_iget_dotl() argument
145 inode = iget5_locked(sb, i_ino, test, v9fs_set_inode_dotl, st); in v9fs_qid_iget_dotl()
157 st->st_mode, new_decode_dev(st->st_rdev)); in v9fs_qid_iget_dotl()
161 v9fs_stat2inode_dotl(st, inode); in v9fs_qid_iget_dotl()
182 struct p9_stat_dotl *st; in v9fs_inode_from_fid_dotl() local
185 st = p9_client_getattr_dotl(fid, P9_STATS_BASIC | P9_STATS_GEN); in v9fs_inode_from_fid_dotl()
186 if (IS_ERR(st)) in v9fs_inode_from_fid_dotl()
187 return ERR_CAST(st); in v9fs_inode_from_fid_dotl()
189 inode = v9fs_qid_iget_dotl(sb, &st->qid, fid, st, new); in v9fs_inode_from_fid_dotl()
190 kfree(st); in v9fs_inode_from_fid_dotl()
495 struct p9_stat_dotl *st; in v9fs_vfs_getattr_dotl() local
512 st = p9_client_getattr_dotl(fid, P9_STATS_ALL); in v9fs_vfs_getattr_dotl()
513 if (IS_ERR(st)) in v9fs_vfs_getattr_dotl()
514 return PTR_ERR(st); in v9fs_vfs_getattr_dotl()
516 v9fs_stat2inode_dotl(st, dentry->d_inode); in v9fs_vfs_getattr_dotl()
519 stat->blksize = st->st_blksize; in v9fs_vfs_getattr_dotl()
521 kfree(st); in v9fs_vfs_getattr_dotl()
973 struct p9_stat_dotl *st; in v9fs_refresh_inode_dotl() local
977 st = p9_client_getattr_dotl(fid, P9_STATS_ALL); in v9fs_refresh_inode_dotl()
978 if (IS_ERR(st)) in v9fs_refresh_inode_dotl()
979 return PTR_ERR(st); in v9fs_refresh_inode_dotl()
983 if ((inode->i_mode & S_IFMT) != (st->st_mode & S_IFMT)) in v9fs_refresh_inode_dotl()
992 v9fs_stat2inode_dotl(st, inode); in v9fs_refresh_inode_dotl()
997 kfree(st); in v9fs_refresh_inode_dotl()