Searched refs:gettime (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/arch/x86/boot/ |
D | tty.c | 72 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/ |
D | efi_test.c | 280 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/ |
D | icss_iep.h | 22 u64 (*gettime)(void *clockops_data, struct ptp_system_timestamp *sts); member
|
D | icss_iep.c | 232 if (iep->ops && iep->ops->gettime) in icss_iep_gettime() 233 return iep->ops->gettime(iep->clockops_data, sts); in icss_iep_gettime()
|
D | icssg_prueth.c | 1292 .gettime = prueth_iep_gettime,
|
/linux-6.6.21/tools/testing/selftests/ptp/ |
D | testptp.c | 179 int gettime = 0; in main() local 214 gettime = 1; in main() 367 if (gettime) { in main()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | xdp_hw_metadata.c | 139 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/ |
D | fsys.S | 150 .gettime: label 325 br.many .gettime
|
/linux-6.6.21/samples/bpf/ |
D | xdp_sample_user.c | 192 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/ |
D | posix-cpu-timers.c | 57 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()
|