Lines Matching refs:stat
830 struct inode *inode, struct kstat *stat) in sdcardfs_fillattr() argument
838 stat->dev = inode->i_sb->s_dev; in sdcardfs_fillattr()
839 stat->ino = inode->i_ino; in sdcardfs_fillattr()
840 stat->mode = (inode->i_mode & S_IFMT) | get_mode(mnt, info, top); in sdcardfs_fillattr()
841 stat->nlink = inode->i_nlink; in sdcardfs_fillattr()
842 stat->uid = make_kuid(&init_user_ns, top->d_uid); in sdcardfs_fillattr()
843 stat->gid = make_kgid(&init_user_ns, get_gid(mnt, top)); in sdcardfs_fillattr()
844 stat->rdev = inode->i_rdev; in sdcardfs_fillattr()
845 stat->size = i_size_read(inode); in sdcardfs_fillattr()
846 stat->atime = inode->i_atime; in sdcardfs_fillattr()
847 stat->mtime = inode->i_mtime; in sdcardfs_fillattr()
848 stat->ctime = inode->i_ctime; in sdcardfs_fillattr()
849 stat->blksize = (1 << inode->i_blkbits); in sdcardfs_fillattr()
850 stat->blocks = inode->i_blocks; in sdcardfs_fillattr()
856 struct kstat *stat) in sdcardfs_getattr() argument
876 err = sdcardfs_fillattr(mnt, dentry->d_inode, stat); in sdcardfs_getattr()
877 stat->blocks = lower_stat.blocks; in sdcardfs_getattr()