Home
last modified time | relevance | path

Searched refs:tsp (Results 1 – 25 of 41) sorted by relevance

12

/f-stack/freebsd/sys/
H A Dtimeffc.h209 void ffclock_nanotime(struct timespec *tsp);
217 void ffclock_nanouptime(struct timespec *tsp);
239 void fbclock_nanotime(struct timespec *tsp);
275 ffclock_nanotime(tsp); in nanotime_fromclock()
277 fbclock_nanotime(tsp); in nanotime_fromclock()
305 ffclock_getnanotime(tsp); in getnanotime_fromclock()
307 fbclock_getnanotime(tsp); in getnanotime_fromclock()
335 ffclock_nanouptime(tsp); in nanouptime_fromclock()
337 fbclock_nanouptime(tsp); in nanouptime_fromclock()
365 ffclock_getnanouptime(tsp); in getnanouptime_fromclock()
[all …]
H A Dtime.h377 #define timespecadd(tsp, usp, vsp) \ argument
379 (vsp)->tv_sec = (tsp)->tv_sec + (usp)->tv_sec; \
380 (vsp)->tv_nsec = (tsp)->tv_nsec + (usp)->tv_nsec; \
386 #define timespecsub(tsp, usp, vsp) \ argument
388 (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \
389 (vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec; \
540 void nanouptime(struct timespec *tsp);
553 void nanotime(struct timespec *tsp);
557 void getnanouptime(struct timespec *tsp);
570 void getnanotime(struct timespec *tsp);
H A Dclock.h174 void timespec2fattime(const struct timespec *tsp, int utc, u_int16_t *ddp,
177 struct timespec *tsp);
H A Dtimepps.h175 void hardpps(struct timespec *tsp, long nsec);
H A Dsyscallsubr.h229 struct timespec *tsp, sigset_t *uset);
324 int kern_thr_suspend(struct thread *td, struct timespec *tsp);
/f-stack/freebsd/kern/
H A Dsubr_fattime.c139 timespec2fattime(const struct timespec *tsp, int utc, uint16_t *ddp, in timespec2fattime() argument
145 t1 = tsp->tv_sec; in timespec2fattime()
150 *dhp = (tsp->tv_sec & 1) * 100 + tsp->tv_nsec / 10000000; in timespec2fattime()
221 struct timespec *tsp) in fattime2timespec() argument
226 tsp->tv_sec = (dt & 0x1f) << 1; in fattime2timespec()
227 tsp->tv_sec += ((dt & 0x7e0) >> 5) * 60; in fattime2timespec()
228 tsp->tv_sec += ((dt & 0xf800) >> 11) * 3600; in fattime2timespec()
229 tsp->tv_sec += dh / 100; in fattime2timespec()
230 tsp->tv_nsec = (dh % 100) * 10000000; in fattime2timespec()
251 tsp->tv_sec += DAY * day; in fattime2timespec()
[all …]
H A Dkern_ffclock.c256 ffclock_nanotime(struct timespec *tsp) in ffclock_nanotime() argument
261 bintime2timespec(&bt, tsp); in ffclock_nanotime()
282 ffclock_getnanotime(struct timespec *tsp) in ffclock_getnanotime() argument
288 bintime2timespec(&bt, tsp); in ffclock_getnanotime()
309 ffclock_nanouptime(struct timespec *tsp) in ffclock_nanouptime() argument
314 bintime2timespec(&bt, tsp); in ffclock_nanouptime()
335 ffclock_getnanouptime(struct timespec *tsp) in ffclock_getnanouptime() argument
341 bintime2timespec(&bt, tsp); in ffclock_getnanouptime()
362 ffclock_nanodifftime(ffcounter ffdelta, struct timespec *tsp) in ffclock_nanodifftime() argument
367 bintime2timespec(&bt, tsp); in ffclock_nanodifftime()
H A Dkern_tc.c280 bintime2timespec(&bt, tsp); in fbclock_nanouptime()
305 bintime2timespec(&bt, tsp); in fbclock_nanotime()
330 bintime2timespec(&bt, tsp); in fbclock_getnanouptime()
377 bintime2timespec(&bt, tsp); in nanouptime()
402 bintime2timespec(&bt, tsp); in nanotime()
427 bintime2timespec(&bt, tsp); in getnanouptime()
1005 bintime2timespec(&bt, tsp); in dtrace_getnanouptime()
1808 *tsp = ts; in pps_event()
1811 timespecadd(tsp, osp, tsp); in pps_event()
1812 if (tsp->tv_nsec < 0) { in pps_event()
[all …]
H A Dkern_thr.c495 struct timespec ts, *tsp; in sys_thr_suspend() local
498 tsp = NULL; in sys_thr_suspend()
503 tsp = &ts; in sys_thr_suspend()
506 return (kern_thr_suspend(td, tsp)); in sys_thr_suspend()
510 kern_thr_suspend(struct thread *td, struct timespec *tsp) in kern_thr_suspend() argument
522 if (tsp != NULL) { in kern_thr_suspend()
523 if (tsp->tv_sec == 0 && tsp->tv_nsec == 0) in kern_thr_suspend()
526 TIMESPEC_TO_TIMEVAL(&tv, tsp); in kern_thr_suspend()
H A Dsys_generic.c1407 struct timespec ts, *tsp; in sys_poll() local
1414 tsp = &ts; in sys_poll()
1416 tsp = NULL; in sys_poll()
1433 if (tsp != NULL) { in kern_poll()
1434 if (tsp->tv_sec < 0) in kern_poll()
1436 if (tsp->tv_nsec < 0 || tsp->tv_nsec >= 1000000000) in kern_poll()
1438 if (tsp->tv_sec == 0 && tsp->tv_nsec == 0) in kern_poll()
1441 ts = *tsp; in kern_poll()
1527 struct timespec ts, *tsp; in sys_ppoll() local
1535 tsp = &ts; in sys_ppoll()
[all …]
H A Dkern_umtx.c229 struct timespec *tsp);
3405 error = copyin(uaddr, tsp, sizeof(*tsp)); in umtx_copyin_timeout()
3407 if (tsp->tv_sec < 0 || in umtx_copyin_timeout()
3409 tsp->tv_nsec < 0) in umtx_copyin_timeout()
3456 return (copyout(tsp, uaddr, sizeof(*tsp))); in umtx_copyout_timeout()
4243 CP(ts32, *tsp, tv_sec); in umtx_copyin_timeouti386()
4277 .tv_sec = tsp->tv_sec, in umtx_copyout_timeouti386()
4278 .tv_nsec = tsp->tv_nsec, in umtx_copyout_timeouti386()
4307 CP(ts32, *tsp, tv_sec); in umtx_copyin_timeoutx32()
4341 .tv_sec = tsp->tv_sec, in umtx_copyout_timeoutx32()
[all …]
H A Dvfs_syscalls.c3055 tsp[1] = tsp[0]; in getutimes()
3089 tsp[0] = tsnow; in getutimens()
3090 tsp[1] = tsnow; in getutimens()
3095 tsp[0] = usrtsp[0]; in getutimens()
3097 } else if ((error = copyin(usrtsp, tsp, sizeof(*tsp) * 2)) != 0) in getutimens()
3099 if (tsp[0].tv_nsec == UTIME_OMIT && tsp[1].tv_nsec == UTIME_OMIT) in getutimens()
3101 if (tsp[0].tv_nsec == UTIME_NOW && tsp[1].tv_nsec == UTIME_NOW) in getutimens()
3106 tsp[0] = tsnow; in getutimens()
3107 else if (tsp[0].tv_nsec < 0 || tsp[0].tv_nsec >= 1000000000L) in getutimens()
3112 tsp[1] = tsnow; in getutimens()
[all …]
H A Dvfs_cache.c430 if (tsp == NULL) in cache_out_ts()
434 *tsp = ncp_ts->nc_time; in cache_out_ts()
1699 if (tsp != NULL) in cache_lookup_dot()
1700 timespecclear(tsp); in cache_lookup_dot()
1762 cache_out_ts(ncp, tsp, ticksp); in cache_lookup_dotdot()
1764 NCF_DTS && tsp != NULL) { in cache_lookup_dotdot()
1766 *tsp = ncp_ts->nc_dotdottime; in cache_lookup_dotdot()
1937 MPASS((tsp == NULL && ticksp == NULL) || (tsp != NULL && ticksp != NULL)); in cache_lookup()
2335 if (tsp != NULL) { in cache_enter_time()
2337 ncp_ts->nc_time = *tsp; in cache_enter_time()
[all …]
H A Dvfs_aio.c2008 struct timespec ts, *tsp; in sys_aio_suspend() local
2019 tsp = &ts; in sys_aio_suspend()
2021 tsp = NULL; in sys_aio_suspend()
2570 struct timespec ts, *tsp; in sys_aio_waitcomplete() local
2578 tsp = &ts; in sys_aio_waitcomplete()
2580 tsp = NULL; in sys_aio_waitcomplete()
2925 struct timespec ts, *tsp; in freebsd32_aio_suspend() local
2939 tsp = &ts; in freebsd32_aio_suspend()
2941 tsp = NULL; in freebsd32_aio_suspend()
3041 tsp = &ts; in freebsd32_aio_waitcomplete()
[all …]
H A Dkern_event.c1043 struct timespec ts, *tsp; in kern_kevent_generic() local
1053 tsp = &ts; in kern_kevent_generic()
1055 tsp = NULL; in kern_kevent_generic()
1064 k_ops, tsp); in kern_kevent_generic()
1790 const struct timespec *tsp, struct kevent *keva, struct thread *td) in kqueue_scan() argument
1807 if (tsp != NULL) { in kqueue_scan()
1808 if (tsp->tv_sec < 0 || tsp->tv_nsec < 0 || in kqueue_scan()
1809 tsp->tv_nsec >= 1000000000) { in kqueue_scan()
1813 if (timespecisset(tsp)) { in kqueue_scan()
1814 if (tsp->tv_sec <= INT32_MAX) { in kqueue_scan()
[all …]
H A Dkern_ntptime.c774 hardpps(struct timespec *tsp, long nsec) in hardpps() argument
794 u_sec = tsp->tv_sec; in hardpps()
795 u_nsec = tsp->tv_nsec; in hardpps()
H A Dsys_pipe.c233 static void pipe_timestamp(struct timespec *tsp);
433 pipe_timestamp(struct timespec *tsp) in pipe_timestamp() argument
436 getnanotime(tsp); in pipe_timestamp()
/f-stack/app/redis-5.0.5/src/
H A Dae_evport.c245 struct timespec timeout, *tsp; in aeApiPoll() local
275 tsp = &timeout; in aeApiPoll()
277 tsp = NULL; in aeApiPoll()
286 tsp) == -1 && (errno != ETIME || nevents == 0)) { in aeApiPoll()
/f-stack/freebsd/contrib/device-tree/src/arm64/qcom/
H A Dmsm8916-samsung-a2015-common.dtsi136 reg_vdd_tsp: regulator-vdd-tsp {
365 tsp_en_default: tsp-en-default {
/f-stack/freebsd/mips/ingenic/
H A Djz4780_smb.c78 tstohz(const struct timespec *tsp) in tstohz() argument
82 TIMESPEC_TO_TIMEVAL(&tv, tsp); in tstohz()
/f-stack/freebsd/contrib/device-tree/Bindings/display/bridge/
H A Dti,sn65dsi86.txt5 http://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=sn65dsi86&fileType=pdf
H A Dti,sn65dsi86.yaml14 https://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=sn65dsi86&fileType=pdf
/f-stack/freebsd/contrib/device-tree/Bindings/display/tilcdc/
H A Dtilcdc.txt49 https://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=sprz360
/f-stack/freebsd/netgraph/
H A Dng_pppoe.c526 sessp tsp; in pppoe_getnewsession() local
539 LIST_FOREACH(tsp, &privp->sesshash[hash].head, sessions) { in pppoe_getnewsession()
540 if (tsp->Session_ID == val) in pppoe_getnewsession()
543 if (!tsp) { in pppoe_getnewsession()
548 if (tsp) in pppoe_getnewsession()
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Ds5pv210-goni.dts347 tsp@4a {

12