Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/drivers/net/ethernet/ti/icssg/
Dicss_iep.h22 u64 (*gettime)(void *clockops_data, struct ptp_system_timestamp *sts); member
Dicss_iep.c232 if (iep->ops && iep->ops->gettime) in icss_iep_gettime()
233 return iep->ops->gettime(iep->clockops_data, sts); in icss_iep_gettime()
Dicssg_prueth.c1292 .gettime = prueth_iep_gettime,
/linux-6.6.21/tools/testing/selftests/ptp/
Dtestptp.c179 int gettime = 0; in main() local
214 gettime = 1; in main()
367 if (gettime) { in main()
/linux-6.6.21/tools/testing/selftests/bpf/
Dxdp_hw_metadata.c139 static __u64 gettime(clockid_t clock_id) in gettime() function
168 __u64 usr_clock = gettime(clock_id); in verify_xdp_metadata()
/linux-6.6.21/arch/ia64/kernel/
Dfsys.S150 .gettime: label
325 br.many .gettime
/linux-6.6.21/samples/bpf/
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.6.21/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()