Lines Matching refs:stat
490 struct kstat *stat, in xfs_vn_getattr() argument
503 stat->size = XFS_ISIZE(ip); in xfs_vn_getattr()
504 stat->dev = inode->i_sb->s_dev; in xfs_vn_getattr()
505 stat->mode = inode->i_mode; in xfs_vn_getattr()
506 stat->nlink = inode->i_nlink; in xfs_vn_getattr()
507 stat->uid = inode->i_uid; in xfs_vn_getattr()
508 stat->gid = inode->i_gid; in xfs_vn_getattr()
509 stat->ino = ip->i_ino; in xfs_vn_getattr()
510 stat->atime = inode->i_atime; in xfs_vn_getattr()
511 stat->mtime = inode->i_mtime; in xfs_vn_getattr()
512 stat->ctime = inode->i_ctime; in xfs_vn_getattr()
513 stat->blocks = in xfs_vn_getattr()
518 stat->result_mask |= STATX_BTIME; in xfs_vn_getattr()
519 stat->btime.tv_sec = ip->i_d.di_crtime.t_sec; in xfs_vn_getattr()
520 stat->btime.tv_nsec = ip->i_d.di_crtime.t_nsec; in xfs_vn_getattr()
529 stat->attributes |= STATX_ATTR_IMMUTABLE; in xfs_vn_getattr()
531 stat->attributes |= STATX_ATTR_APPEND; in xfs_vn_getattr()
533 stat->attributes |= STATX_ATTR_NODUMP; in xfs_vn_getattr()
535 stat->attributes_mask |= (STATX_ATTR_IMMUTABLE | in xfs_vn_getattr()
542 stat->blksize = BLKDEV_IOSIZE; in xfs_vn_getattr()
543 stat->rdev = inode->i_rdev; in xfs_vn_getattr()
552 stat->blksize = in xfs_vn_getattr()
555 stat->blksize = xfs_preferred_iosize(mp); in xfs_vn_getattr()
556 stat->rdev = 0; in xfs_vn_getattr()