Home
last modified time | relevance | path

Searched refs:gettime (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/kernel/time/
Dalarmtimer.c45 ktime_t (*gettime)(void); member
210 restart = alarm->function(alarm, base->gettime()); in alarmtimer_fired()
220 trace_alarmtimer_fired(alarm, base->gettime()); in alarmtimer_fired()
228 return ktime_sub(alarm->node.expires, base->gettime()); in alarm_expires_remaining()
273 delta = ktime_sub(next->expires, base->gettime()); in alarmtimer_suspend()
367 trace_alarmtimer_start(alarm, base->gettime()); in alarm_start()
380 start = ktime_add_safe(start, base->gettime()); in alarm_start_relative()
417 trace_alarmtimer_cancel(alarm, base->gettime()); in alarm_try_to_cancel()
477 return alarm_forward(alarm, base->gettime(), interval); in alarm_forward_now()
503 delta = ktime_sub(absexp, base->gettime()); in alarmtimer_freezerset()
[all …]
Dposix-cpu-timers.c51 bool gettime) in lookup_task() argument
69 if (gettime) { in lookup_task()
89 bool getref, bool gettime) in __get_task_for_clock() argument
99 p = lookup_task(pid, thread, gettime); in __get_task_for_clock()
/Linux-v5.4/arch/x86/boot/
Dtty.c72 static u8 gettime(void) in gettime() function
122 t0 = gettime(); in getchar_timeout()
128 t1 = gettime(); in getchar_timeout()
/Linux-v5.4/drivers/firmware/efi/test/
Defi_test.c292 struct efi_gettime gettime; in efi_runtime_get_time() local
298 if (copy_from_user(&gettime, gettime_user, sizeof(gettime))) in efi_runtime_get_time()
301 status = efi.get_time(gettime.time ? &efi_time : NULL, in efi_runtime_get_time()
302 gettime.capabilities ? &cap : NULL); in efi_runtime_get_time()
304 if (put_user(status, gettime.status)) in efi_runtime_get_time()
310 if (gettime.capabilities) { in efi_runtime_get_time()
313 cap_local = (efi_time_cap_t *)gettime.capabilities; in efi_runtime_get_time()
319 if (gettime.time) { in efi_runtime_get_time()
320 if (copy_to_user(gettime.time, &efi_time, sizeof(efi_time_t))) in efi_runtime_get_time()
/Linux-v5.4/tools/testing/selftests/ptp/
Dtestptp.c167 int gettime = 0; in main() local
198 gettime = 1; in main()
306 if (gettime) { in main()
/Linux-v5.4/samples/bpf/
Dxdp_monitor_user.c69 static __u64 gettime(void) in gettime() function
165 rec->timestamp = gettime(); in map_collect_record()
199 rec->timestamp = gettime(); in map_collect_record_u64()
Dxdp_rxq_info_user.c169 static __u64 gettime(void) in gettime() function
277 rec->timestamp = gettime(); in map_collect_percpu()
Dxdp_redirect_cpu_user.c132 static __u64 gettime(void) in gettime() function
180 rec->timestamp = gettime(); in map_collect_percpu()
/Linux-v5.4/arch/ia64/kernel/
Dfsys.S150 .gettime: label
325 br.many .gettime