Home
last modified time | relevance | path

Searched refs:nsec (Results 1 – 6 of 6) sorted by relevance

/fs/
Dutimes.c43 static bool nsec_valid(long nsec) in nsec_valid() argument
45 if (nsec == UTIME_OMIT || nsec == UTIME_NOW) in nsec_valid()
48 return nsec >= 0 && nsec <= 999999999; in nsec_valid()
Dselect.c251 int poll_select_set_timeout(struct timespec *to, long sec, long nsec) in poll_select_set_timeout() argument
253 struct timespec ts = {.tv_sec = sec, .tv_nsec = nsec}; in poll_select_set_timeout()
259 if (!sec && !nsec) { in poll_select_set_timeout()
/fs/fuse/
Ddir.c53 static u64 time_to_jiffies(unsigned long sec, unsigned long nsec) in time_to_jiffies() argument
55 if (sec || nsec) { in time_to_jiffies()
56 struct timespec ts = {sec, nsec}; in time_to_jiffies()
/fs/btrfs/
Dctree.h450 __le32 nsec; member
1226 BTRFS_SETGET_FUNCS(timespec_nsec, struct btrfs_timespec, nsec, 32);
/fs/ocfs2/
Ddlmglue.c1853 u32 nsec = spec->tv_nsec; in ocfs2_pack_timespec() local
1855 res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK); in ocfs2_pack_timespec()
/fs/nfs/
Dnfs4xdr.c2761 uint32_t nsec; in decode_attr_time() local
2765 READ32(nsec); in decode_attr_time()
2767 time->tv_nsec = (long)nsec; in decode_attr_time()