Lines Matching refs:am
99 struct timeval am[2]; in tvtouch() local
102 struct utimbuf am; in tvtouch() local
104 time_t am[2]; in tvtouch() local
207 am[0].tv_sec = st.st_atime; in tvtouch()
208 am[0].tv_usec = ST_ATIME_NSEC_GET(&st) / 1000; in tvtouch()
212 am[0].tv_sec = av->tv_sec; in tvtouch()
213 am[0].tv_usec = NS(av->tv_nsec) / 1000; in tvtouch()
217 am[1].tv_sec = st.st_mtime; in tvtouch()
218 am[1].tv_usec = ST_MTIME_NSEC_GET(&st) / 1000; in tvtouch()
222 am[1].tv_sec = mv->tv_sec; in tvtouch()
223 am[1].tv_usec = NS(mv->tv_nsec) / 1000; in tvtouch()
225 if (!utimes(path, am)) in tvtouch()
234 am.actime = (av == TV_TOUCH_RETAIN) ? st.st_atime : av->tv_sec; in tvtouch()
235 am.modtime = (mv == TV_TOUCH_RETAIN) ? st.st_mtime : mv->tv_sec; in tvtouch()
236 if (!utime(path, &am)) in tvtouch()
281 return utimets(path, am); in tvtouch()
284 return utimes(path, am); in tvtouch()
287 return utime(path, &am); in tvtouch()