Searched refs:nsec (Results 1 – 6 of 6) sorted by relevance
43 static bool nsec_valid(long nsec) in nsec_valid() argument45 if (nsec == UTIME_OMIT || nsec == UTIME_NOW) in nsec_valid()48 return nsec >= 0 && nsec <= 999999999; in nsec_valid()
251 int poll_select_set_timeout(struct timespec *to, long sec, long nsec) in poll_select_set_timeout() argument253 struct timespec ts = {.tv_sec = sec, .tv_nsec = nsec}; in poll_select_set_timeout()259 if (!sec && !nsec) { in poll_select_set_timeout()
53 static u64 time_to_jiffies(unsigned long sec, unsigned long nsec) in time_to_jiffies() argument55 if (sec || nsec) { in time_to_jiffies()56 struct timespec ts = {sec, nsec}; in time_to_jiffies()
450 __le32 nsec; member1226 BTRFS_SETGET_FUNCS(timespec_nsec, struct btrfs_timespec, nsec, 32);
1853 u32 nsec = spec->tv_nsec; in ocfs2_pack_timespec() local1855 res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK); in ocfs2_pack_timespec()
2761 uint32_t nsec; in decode_attr_time() local2765 READ32(nsec); in decode_attr_time()2767 time->tv_nsec = (long)nsec; in decode_attr_time()