Home
last modified time | relevance | path

Searched refs:times (Results 1 – 5 of 5) sorted by relevance

/fs/
Dutimes.c19 static int utimes_common(const struct path *path, struct timespec64 *times) in utimes_common() argument
30 if (times && times[0].tv_nsec == UTIME_NOW && in utimes_common()
31 times[1].tv_nsec == UTIME_NOW) in utimes_common()
32 times = NULL; in utimes_common()
35 if (times) { in utimes_common()
36 if (times[0].tv_nsec == UTIME_OMIT) in utimes_common()
38 else if (times[0].tv_nsec != UTIME_NOW) { in utimes_common()
39 newattrs.ia_atime = timestamp_truncate(times[0], inode); in utimes_common()
43 if (times[1].tv_nsec == UTIME_OMIT) in utimes_common()
45 else if (times[1].tv_nsec != UTIME_NOW) { in utimes_common()
[all …]
/fs/hostfs/
Dhostfs_user.c197 struct timeval times[2]; in set_attr() local
244 times[0].tv_sec = st.atime.tv_sec; in set_attr()
245 times[0].tv_usec = st.atime.tv_nsec / 1000; in set_attr()
246 times[1].tv_sec = st.mtime.tv_sec; in set_attr()
247 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr()
250 times[0].tv_sec = attrs->ia_atime.tv_sec; in set_attr()
251 times[0].tv_usec = attrs->ia_atime.tv_nsec / 1000; in set_attr()
254 times[1].tv_sec = attrs->ia_mtime.tv_sec; in set_attr()
255 times[1].tv_usec = attrs->ia_mtime.tv_nsec / 1000; in set_attr()
259 if (futimes(fd, times) != 0) in set_attr()
[all …]
/fs/isofs/
Drock.c425 iso_date(rr->u.TF.times[cnt++].time, in parse_rock_ridge_inode_internal()
431 iso_date(rr->u.TF.times[cnt++].time, in parse_rock_ridge_inode_internal()
437 iso_date(rr->u.TF.times[cnt++].time, in parse_rock_ridge_inode_internal()
443 iso_date(rr->u.TF.times[cnt++].time, in parse_rock_ridge_inode_internal()
Drock.h74 struct stamp times[0]; /* Variable number of these beasts */ member
/fs/befs/
DChangeLog164 can be called multiple times for each inode struct. [WD]