Lines Matching refs:mytime
30 struct mytime { struct
39 static struct mytime tnn = {0, UTIME_NOW, 0, UTIME_NOW, 1, 1}; argument
40 static struct mytime too = {0, UTIME_OMIT, 0, UTIME_OMIT, 0, 0};
41 static struct mytime tno = {0, UTIME_NOW, 0, UTIME_OMIT, 1, 0};
42 static struct mytime ton = {0, UTIME_OMIT, 0, UTIME_NOW, 0, 1};
43 static struct mytime t11 = {1, 1, 1, 1, 1, 1};
48 struct mytime *mytime; member
130 static void tst_multi_set_time(enum tst_ts_type type, struct mytime *mytime) in tst_multi_set_time() argument
134 ts.libc_ts[0].tv_sec = mytime->access_tv_sec; in tst_multi_set_time()
135 ts.libc_ts[0].tv_nsec = mytime->access_tv_nsec; in tst_multi_set_time()
136 ts.libc_ts[1].tv_sec = mytime->mod_tv_sec; in tst_multi_set_time()
137 ts.libc_ts[1].tv_nsec = mytime->mod_tv_nsec; in tst_multi_set_time()
140 ts.kern_old_ts[0].tv_sec = mytime->access_tv_sec; in tst_multi_set_time()
141 ts.kern_old_ts[0].tv_nsec = mytime->access_tv_nsec; in tst_multi_set_time()
142 ts.kern_old_ts[1].tv_sec = mytime->mod_tv_sec; in tst_multi_set_time()
143 ts.kern_old_ts[1].tv_nsec = mytime->mod_tv_nsec; in tst_multi_set_time()
146 ts.kern_ts[0].tv_sec = mytime->access_tv_sec; in tst_multi_set_time()
147 ts.kern_ts[0].tv_nsec = mytime->access_tv_nsec; in tst_multi_set_time()
148 ts.kern_ts[1].tv_sec = mytime->mod_tv_sec; in tst_multi_set_time()
149 ts.kern_ts[1].tv_nsec = mytime->mod_tv_nsec; in tst_multi_set_time()
227 struct mytime *mytime = tc->mytime; in run() local
245 if (mytime) { in run()
246 tst_multi_set_time(tv->ts_type, mytime); in run()
268 atime_change = mytime ? mytime->atime_change : 1; in run()
269 mtime_change = mytime ? mytime->mtime_change : 1; in run()