Lines Matching refs:stat
622 struct kstat stat; in fh_fill_pre_attrs() local
629 err = fh_getattr(fhp, &stat); in fh_fill_pre_attrs()
634 fhp->fh_pre_change = nfsd4_change_attribute(&stat, inode); in fh_fill_pre_attrs()
636 fhp->fh_pre_mtime = stat.mtime; in fh_fill_pre_attrs()
637 fhp->fh_pre_ctime = stat.ctime; in fh_fill_pre_attrs()
638 fhp->fh_pre_size = stat.size; in fh_fill_pre_attrs()
775 u64 nfsd4_change_attribute(struct kstat *stat, struct inode *inode) in nfsd4_change_attribute() argument
779 if (stat->result_mask & STATX_CHANGE_COOKIE) { in nfsd4_change_attribute()
780 chattr = stat->change_cookie; in nfsd4_change_attribute()
782 !(stat->attributes & STATX_ATTR_CHANGE_MONOTONIC)) { in nfsd4_change_attribute()
783 chattr += (u64)stat->ctime.tv_sec << 30; in nfsd4_change_attribute()
784 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute()
787 chattr = time_to_chattr(&stat->ctime); in nfsd4_change_attribute()