Lines Matching refs:stat
738 struct kstat *lower_stat, struct kstat *stat) in sdcardfs_fillattr() argument
747 stat->dev = inode->i_sb->s_dev; in sdcardfs_fillattr()
748 stat->ino = inode->i_ino; in sdcardfs_fillattr()
749 stat->mode = (inode->i_mode & S_IFMT) | get_mode(mnt, info, top); in sdcardfs_fillattr()
750 stat->nlink = inode->i_nlink; in sdcardfs_fillattr()
751 stat->uid = make_kuid(&init_user_ns, top->d_uid); in sdcardfs_fillattr()
752 stat->gid = make_kgid(&init_user_ns, get_gid(mnt, sb, top)); in sdcardfs_fillattr()
753 stat->rdev = inode->i_rdev; in sdcardfs_fillattr()
754 stat->size = lower_stat->size; in sdcardfs_fillattr()
755 stat->atime = lower_stat->atime; in sdcardfs_fillattr()
756 stat->mtime = lower_stat->mtime; in sdcardfs_fillattr()
757 stat->ctime = lower_stat->ctime; in sdcardfs_fillattr()
758 stat->blksize = lower_stat->blksize; in sdcardfs_fillattr()
759 stat->blocks = lower_stat->blocks; in sdcardfs_fillattr()
763 static int sdcardfs_getattr(const struct path *path, struct kstat *stat, in sdcardfs_getattr() argument
786 err = sdcardfs_fillattr(mnt, d_inode(dentry), &lower_stat, stat); in sdcardfs_getattr()