Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/firmware/efi/test/
Defi_test.c280 struct efi_gettime gettime; in efi_runtime_get_time() local
286 if (copy_from_user(&gettime, gettime_user, sizeof(gettime))) in efi_runtime_get_time()
289 status = efi.get_time(gettime.time ? &efi_time : NULL, in efi_runtime_get_time()
290 gettime.capabilities ? &cap : NULL); in efi_runtime_get_time()
292 if (put_user(status, gettime.status)) in efi_runtime_get_time()
298 if (gettime.capabilities) { in efi_runtime_get_time()
301 cap_local = (efi_time_cap_t *)gettime.capabilities; in efi_runtime_get_time()
307 if (gettime.time) { in efi_runtime_get_time()
308 if (copy_to_user(gettime.time, &efi_time, sizeof(efi_time_t))) in efi_runtime_get_time()
/linux-6.1.9/tools/testing/selftests/ptp/
Dtestptp.c173 int gettime = 0; in main() local
206 gettime = 1; in main()
330 if (gettime) { in main()
/linux-6.1.9/samples/bpf/
Dxdp_rxq_info_user.c178 static __u64 gettime(void) in gettime() function
279 rec->timestamp = gettime(); in map_collect_percpu()
Dxdp_sample_user.c192 static __u64 gettime(void) in gettime() function
333 e->val.timestamp = gettime(); in map_entry_init()
353 rec->timestamp = gettime(); in map_collect_percpu()
/linux-6.1.9/arch/ia64/kernel/
Dfsys.S150 .gettime: label
325 br.many .gettime
/linux-6.1.9/kernel/time/
Dposix-cpu-timers.c57 static struct pid *pid_for_clock(const clockid_t clock, bool gettime) in pid_for_clock() argument
88 if (gettime && (pid == task_pid(current))) in pid_for_clock()