| /linux/include/linux/ |
| H A D | ktime.h | 36 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() 69 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime() 78 static inline s64 ktime_to_ns(const ktime_t kt) in ktime_to_ns() 93 static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) in ktime_compare() 109 static inline bool ktime_after(const ktime_t cmp1, const ktime_t cmp2) in ktime_after() 121 static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2) in ktime_before() 127 extern s64 __ktime_divns(const ktime_t kt, s64 div); 128 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() 146 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() 157 static inline s64 ktime_to_us(const ktime_t kt) in ktime_to_us() [all …]
|
| H A D | rtc.h | 26 ktime_t rtc_tm_to_ktime(struct rtc_time tm); 27 struct rtc_time rtc_ktime_to_tm(ktime_t kt); 77 ktime_t period; 220 ktime_t expires, ktime_t period); 238 static inline ktime_t rtc_bound_alarmtime(struct rtc_device *rtc, in rtc_bound_alarmtime() 239 ktime_t requested) in rtc_bound_alarmtime()
|
| /linux/fs/ocfs2/cluster/ |
| H A D | tcp_internal.h | 159 ktime_t sc_tv_timer; 160 ktime_t sc_tv_data_ready; 161 ktime_t sc_tv_advance_start; 162 ktime_t sc_tv_advance_stop; 163 ktime_t sc_tv_func_start; 164 ktime_t sc_tv_func_stop; 167 ktime_t sc_tv_acquiry_total; 168 ktime_t sc_tv_send_total; 169 ktime_t sc_tv_status_total; 172 ktime_t sc_tv_process_total; [all …]
|
| /linux/fs/ceph/ |
| H A D | metric.h | 197 ktime_t latency_sum; 198 ktime_t latency_avg; 199 ktime_t latency_sq_sum; 200 ktime_t latency_min; 201 ktime_t latency_max; 250 ktime_t r_start, ktime_t r_end, 254 ktime_t r_start, ktime_t r_end, in ceph_update_read_metrics() 261 ktime_t r_start, ktime_t r_end, in ceph_update_write_metrics() 268 ktime_t r_start, ktime_t r_end, in ceph_update_metadata_metrics() 275 ktime_t r_start, ktime_t r_end, in ceph_update_copyfrom_metrics()
|
| /linux/net/rxrpc/ |
| H A D | input_rack.c | 12 static bool rxrpc_rack_sent_after(ktime_t t1, rxrpc_seq_t seq1, in rxrpc_rack_sent_after() 13 ktime_t t2, rxrpc_seq_t seq2) in rxrpc_rack_sent_after() 38 static ktime_t rxrpc_get_xmit_ts(const struct rxrpc_txqueue *tq, unsigned int ix) in rxrpc_get_xmit_ts() 68 ktime_t xmit_ts = rxrpc_get_xmit_ts(tq, ix); in rxrpc_rack_update() 69 ktime_t rtt = ktime_sub(call->acks_latest_ts, xmit_ts); in rxrpc_rack_update() 156 static ktime_t rxrpc_rack_update_reo_wnd(struct rxrpc_call *call, in rxrpc_rack_update_reo_wnd() 197 static ktime_t rxrpc_rack_detect_loss(struct rxrpc_call *call, in rxrpc_rack_detect_loss() 201 ktime_t timeout = 0, lost_after, now = ktime_get_real(); in rxrpc_rack_detect_loss() 220 ktime_t remaining; in rxrpc_rack_detect_loss() 221 ktime_t xmit_ts = rxrpc_get_xmit_ts(tq, ix); in rxrpc_rack_detect_loss() [all …]
|
| H A D | ar-internal.h | 725 ktime_t delay_ack_at; /* When DELAY ACK needs to happen */ 726 ktime_t rack_timo_at; /* When ACK is figured as lost */ 727 ktime_t ping_at; /* When next to send a ping */ 728 ktime_t keepalive_at; /* When next to send a keepalive ping */ 729 ktime_t expect_rx_by; /* When we expect to get a packet by */ 730 ktime_t expect_req_by; /* When we expect to get a request DATA packet by */ 731 ktime_t expect_term_by; /* When we expect call termination by */ 791 ktime_t tx_last_sent; /* Last time a transmission occurred */ 820 ktime_t cong_tstamp; /* Last time cwnd was changed */ 823 ktime_t rack_xmit_ts; /* Latest transmission timestamp */ [all …]
|
| /linux/rust/helpers/ |
| H A D | time.c | 12 __rust_helper ktime_t rust_helper_ktime_get_real(void) in rust_helper_ktime_get_real() 17 __rust_helper ktime_t rust_helper_ktime_get_boottime(void) in rust_helper_ktime_get_boottime() 22 __rust_helper ktime_t rust_helper_ktime_get_clocktai(void) in rust_helper_ktime_get_clocktai() 27 __rust_helper s64 rust_helper_ktime_to_us(const ktime_t kt) in rust_helper_ktime_to_us() 32 __rust_helper s64 rust_helper_ktime_to_ms(const ktime_t kt) in rust_helper_ktime_to_ms()
|
| /linux/lib/ |
| H A D | find_bit_benchmark.c | 39 ktime_t time; in test_find_first_bit() 59 ktime_t time; in test_find_first_and_bit() 77 ktime_t time; in test_find_next_bit() 91 ktime_t time; in test_find_next_zero_bit() 105 ktime_t time; in test_find_last_bit() 124 ktime_t time; in test_find_nth_bit() 141 ktime_t time; in test_find_next_and_bit() 156 ktime_t time; in test_bitmap_find_next_zero_area_off()
|
| /linux/include/trace/events/ |
| H A D | alarmtimer.h | 26 TP_PROTO(ktime_t expires, int flag), 49 TP_PROTO(struct alarm *alarm, ktime_t now), 77 TP_PROTO(struct alarm *alarm, ktime_t now), 84 TP_PROTO(struct alarm *alarm, ktime_t now), 91 TP_PROTO(struct alarm *alarm, ktime_t now),
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | sched_policy.c | 59 ktime_t pri_time; 60 ktime_t sched_in_time; 61 ktime_t sched_time; 62 ktime_t left_ts; 63 ktime_t allocated_ts; 73 ktime_t expire_time; 76 static void vgpu_update_timeslice(struct intel_vgpu *vgpu, ktime_t cur_time) in vgpu_update_timeslice() 78 ktime_t delta_ts; in vgpu_update_timeslice() 106 ktime_t fair_timeslice; in gvt_balance_timeslice() 139 ktime_t cur_time; in try_to_schedule_next_vgpu() [all …]
|
| /linux/net/dccp/ccids/ |
| H A D | ccid3.h | |
| /linux/drivers/md/dm-vdo/ |
| H A D | time-utils.h | 13 static inline s64 ktime_to_seconds(ktime_t reltime) in ktime_to_seconds() 18 static inline ktime_t current_time_ns(clockid_t clock) in current_time_ns() 23 static inline ktime_t current_time_us(void) in current_time_us()
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_devfreq.h | 21 ktime_t busy_time; 22 ktime_t idle_time; 23 ktime_t time_last_update;
|
| /linux/drivers/base/power/ |
| H A D | wakeup_stats.c | 43 ktime_t active_time = in active_time_ms_show() 54 ktime_t active_time; in total_time_ms_show() 55 ktime_t total_time = ws->total_time; in total_time_ms_show() 70 ktime_t active_time; in max_time_ms_show() 71 ktime_t max_time = ws->max_time; in max_time_ms_show() 106 ktime_t prevent_sleep_time = ws->prevent_sleep_time; in prevent_suspend_time_ms_show()
|
| /linux/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_devfreq.h | 25 ktime_t busy_time; 26 ktime_t idle_time; 27 ktime_t time_last_update;
|
| /linux/drivers/thermal/ |
| H A D | thermal_debugfs.c | 59 ktime_t timestamp; 81 ktime_t residency; 101 ktime_t timestamp; 102 ktime_t duration; 127 ktime_t timestamp; 128 ktime_t duration; 435 ktime_t now = ktime_get(); in thermal_debug_cdev_state_update() 436 ktime_t delta = ktime_sub(now, cdev_dbg->timestamp); in thermal_debug_cdev_state_update() 557 ktime_t now) in thermal_debugfs_tz_event_alloc() 584 ktime_t now = ktime_get(); in thermal_debug_tz_trip_up() [all …]
|
| /linux/drivers/net/can/softing/ |
| H A D | softing.h | 42 ktime_t ts_ref; 43 ktime_t ts_overflow; /* timestamp overflow value, in ktime */ 77 ktime_t softing_raw2ktime(struct softing *card, u32 raw); 102 ktime_t ktime);
|
| /linux/Documentation/core-api/ |
| H A D | timekeeping.rst | 9 Basic ktime_t based interfaces 12 The recommended simplest form returns an opaque ktime_t, with variants 16 .. c:function:: ktime_t ktime_get( void ) 23 .. c:function:: ktime_t ktime_get_boottime( void ) 31 .. c:function:: ktime_t ktime_get_real( void ) 43 .. c:function:: ktime_t ktime_get_clocktai( void ) 51 .. c:function:: ktime_t ktime_get_raw( void ) 102 .. c:function:: ktime_t ktime_get_coarse( void ) 103 ktime_t ktime_get_coarse_boottime( void ) 104 ktime_t ktime_get_coarse_real( void ) [all …]
|
| /linux/drivers/watchdog/ |
| H A D | watchdog_core.h | 51 ktime_t last_keepalive; 52 ktime_t last_hw_keepalive; 53 ktime_t open_deadline;
|
| /linux/drivers/media/cec/usb/extron-da-hd-4k-plus/ |
| H A D | cec-splitter.h | 20 ktime_t lost_sink_ts; 22 ktime_t out_request_current_latency_ts; 25 ktime_t out_give_device_power_status_ts;
|
| /linux/kernel/ |
| H A D | torture.c | 91 int torture_hrtimeout_ns(ktime_t baset_ns, u32 fuzzt_ns, const enum hrtimer_mode mode, in torture_hrtimeout_ns() 94 ktime_t hto = baset_ns; in torture_hrtimeout_ns() 109 ktime_t baset_ns = baset_us * NSEC_PER_USEC; in torture_hrtimeout_us() 121 ktime_t baset_ns = baset_ms * NSEC_PER_MSEC; in torture_hrtimeout_ms() 139 ktime_t baset_ns = jiffies_to_nsecs(baset_j); in torture_hrtimeout_jiffies() 151 ktime_t baset_ns = baset_s * NSEC_PER_SEC; in torture_hrtimeout_s() 618 static ktime_t shutdown_time; /* time to system shutdown. */ 641 ktime_t ktime_snap; in torture_shutdown() 731 static ktime_t stutter_till_abs_time; 742 ktime_t till_ns; in stutter_wait() [all …]
|
| /linux/rust/kernel/ |
| H A D | time.rs | 78 fn ktime_get() -> bindings::ktime_t; in ktime_get() 99 fn ktime_get() -> bindings::ktime_t { in ktime_get() 126 fn ktime_get() -> bindings::ktime_t { in ktime_get() 146 fn ktime_get() -> bindings::ktime_t { in ktime_get() 170 fn ktime_get() -> bindings::ktime_t { in ktime_get() 184 inner: bindings::ktime_t, 230 pub(crate) unsafe fn from_ktime(ktime: bindings::ktime_t) -> Self { in from_ktime()
|
| /linux/net/sched/ |
| H A D | sch_taprio.c | 61 ktime_t gate_close_time[TC_MAX_QUEUE]; 64 ktime_t end_time; 65 ktime_t next_txtime; 82 ktime_t cycle_end_time; 164 static bool taprio_entry_allows_tx(ktime_t skb_end_time, in taprio_entry_allows_tx() 170 static ktime_t sched_base_time(const struct sched_gate_list *sched) in sched_base_time() 178 static ktime_t taprio_mono_to_any(const struct taprio_sched *q, ktime_t mono) in taprio_mono_to_any() 191 static ktime_t taprio_get_time(const struct taprio_sched *q) in taprio_get_time() 224 static s32 get_cycle_time_elapsed(struct sched_gate_list *sched, ktime_t time) in get_cycle_time_elapsed() 226 ktime_t time_since_sched_start; in get_cycle_time_elapsed() [all …]
|
| H A D | sch_etf.c | 34 ktime_t last; /* The txtime of the last skb sent to the netdevice. */ 37 ktime_t (*get_time)(void); 78 ktime_t txtime = nskb->tstamp; in is_packet_valid() 80 ktime_t now; in is_packet_valid() 124 ktime_t next; in reset_watchdog() 139 ktime_t txtime = skb->tstamp; in report_sock_error() 167 ktime_t txtime = nskb->tstamp; in etf_enqueue_timesortedlist() 201 ktime_t now) in timesortedlist_drop() 257 ktime_t now, next; in etf_dequeue_timesortedlist()
|
| /linux/kernel/time/ |
| H A D | sleep_timeout.c | 189 int __sched schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta, in schedule_hrtimeout_range_clock() 260 int __sched schedule_hrtimeout_range(ktime_t *expires, u64 delta, in schedule_hrtimeout_range() 276 int __sched schedule_hrtimeout(ktime_t *expires, const enum hrtimer_mode mode) in schedule_hrtimeout() 364 ktime_t exp = ktime_add_us(ktime_get(), min); in usleep_range_state()
|