Lines Matching refs:tv
142 struct timespec64 tv; in xfs_inode_decode_bigtime() local
145 tv.tv_sec = xfs_bigtime_to_unix(div_u64_rem(ts, NSEC_PER_SEC, &n)); in xfs_inode_decode_bigtime()
146 tv.tv_nsec = n; in xfs_inode_decode_bigtime()
148 return tv; in xfs_inode_decode_bigtime()
157 struct timespec64 tv; in xfs_inode_from_disk_ts() local
164 tv.tv_sec = (int)be32_to_cpu(lts->t_sec); in xfs_inode_from_disk_ts()
165 tv.tv_nsec = (int)be32_to_cpu(lts->t_nsec); in xfs_inode_from_disk_ts()
167 return tv; in xfs_inode_from_disk_ts()
267 const struct timespec64 tv) in xfs_inode_to_disk_ts() argument
273 return cpu_to_be64(xfs_inode_encode_bigtime(tv)); in xfs_inode_to_disk_ts()
276 lts->t_sec = cpu_to_be32(tv.tv_sec); in xfs_inode_to_disk_ts()
277 lts->t_nsec = cpu_to_be32(tv.tv_nsec); in xfs_inode_to_disk_ts()