Home
last modified time | relevance | path

Searched refs:timespec_sub (Results 1 – 18 of 18) sorted by relevance

/linux-4.4.14/tools/testing/selftests/timers/
Dnsleep-lat.c101 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function
131 if (((timespec_sub(start, end)/count)-ns) > UNRESONABLE_LATENCY) { in nanosleep_lat_test()
132 printf("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns); in nanosleep_lat_test()
142 latency += timespec_sub(target, end); in nanosleep_lat_test()
Dmqueue-lat.c51 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function
105 if ((timespec_sub(start, end)/count) > TARGET_TIMEOUT + UNRESONABLE_LATENCY) in mqueue_lat_test()
Dalarmtimer-suspend.c98 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function
116 delta_ns = timespec_sub(start_time, ts); in sigalarm()
Dset-timer-lat.c97 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function
114 delta_ns = timespec_sub(start_time, ts); in sigalarm()
/linux-4.4.14/drivers/pps/generators/
Dpps_gen_parport.c127 dts = timespec_sub(ts3, ts2); in hrtimer_event()
133 dts = timespec_sub(ts1, expire_time); in hrtimer_event()
173 b = timespec_sub(b, a); in calibrate_port()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-radio-tx.c61 ts = timespec_sub(ts, dev->radio_rds_init_ts); in vivid_radio_tx_write()
Dvivid-radio-rx.c73 ts = timespec_sub(ts, dev->radio_rds_init_ts); in vivid_radio_rx_read()
/linux-4.4.14/include/linux/
Dtime.h80 static inline struct timespec timespec_sub(struct timespec lhs, in timespec_sub() function
Dtime64.h70 # define timespec64_sub timespec_sub
/linux-4.4.14/net/sctp/
Dprobe.c153 now = timespec_sub(now, sctpw.tstart); in jsctp_sf_eat_sack()
/linux-4.4.14/fs/
Dselect.c86 now = timespec_sub(*tv, now); in select_estimate_accuracy()
306 rts = timespec_sub(*end_time, rts); in poll_select_copy_remaining()
Dcompat.c1122 ts = timespec_sub(*end_time, ts); in poll_select_copy_remaining()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Ddevice.c175 timespec_sub(lep->poll_host_ts, in wr_log_show()
177 timespec_sub(lep->poll_host_ts, in wr_log_show()
183 timespec_sub(lep->poll_host_ts, in wr_log_show()
185 timespec_sub(lep->poll_host_ts, in wr_log_show()
/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c547 ts = timespec_sub(*ts2, *ts1); in mmc_test_print_rate()
573 ts = timespec_sub(*ts2, *ts1); in mmc_test_print_avg_rate()
1869 ts = timespec_sub(ts2, ts1); in mmc_test_rnd_perf()
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_demux.c412 delta_time = timespec_sub(cur_time, in dvb_dmx_swfilter_packet()
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_video.c670 ts = timespec_sub(last->host_ts, first->host_ts); in uvc_video_clock_update()
/linux-4.4.14/net/
Dsocket.c2225 *timeout = timespec_sub(end_time, *timeout); in __sys_recvmmsg()
/linux-4.4.14/arch/x86/kvm/
Dx86.c1181 boot = timespec_sub(boot, ts); in kvm_write_wall_clock()