Searched refs:nsecs (Results 1 – 7 of 7) sorted by relevance
/kernel/time/ |
D | timekeeping.c | 819 u64 nsecs; in ktime_get_real_ts64() local 827 nsecs = timekeeping_get_ns(&tk->tkr_mono); in ktime_get_real_ts64() 832 timespec64_add_ns(ts, nsecs); in ktime_get_real_ts64() 841 u64 nsecs; in ktime_get() local 848 nsecs = timekeeping_get_ns(&tk->tkr_mono); in ktime_get() 852 return ktime_add_ns(base, nsecs); in ktime_get() 860 u32 nsecs; in ktime_get_resolution_ns() local 866 nsecs = tk->tkr_mono.mult >> tk->tkr_mono.shift; in ktime_get_resolution_ns() 869 return nsecs; in ktime_get_resolution_ns() 884 u64 nsecs; in ktime_get_with_offset() local [all …]
|
D | posix-cpu-timers.c | 44 u64 nsecs = rlim_new * NSEC_PER_SEC; in update_rlimit_cpu() local 49 set_process_cpu_timer(task, CPUCLOCK_PROF, &nsecs, NULL); in update_rlimit_cpu()
|
/kernel/bpf/ |
D | syscall.c | 2209 u64 nsecs; member 2228 u64 nsecs = 0, cnt = 0, misses = 0; in bpf_prog_get_stats() local 2239 tnsecs = u64_stats_read(&st->nsecs); in bpf_prog_get_stats() 2243 nsecs += tnsecs; in bpf_prog_get_stats() 2247 stats->nsecs = nsecs; in bpf_prog_get_stats() 2276 stats.nsecs, in bpf_prog_show_fdinfo() 4400 info.run_time_ns = stats.nsecs; in bpf_prog_get_info_by_fd()
|
D | helpers.c | 1319 BPF_CALL_3(bpf_timer_start, struct bpf_async_kern *, timer, u64, nsecs, u64, flags) in BPF_CALL_3() argument 1341 hrtimer_start(&t->timer, ns_to_ktime(nsecs), mode); in BPF_CALL_3()
|
D | trampoline.c | 880 u64_stats_add(&stats->nsecs, sched_clock() - start); in update_prog_stats()
|
/kernel/trace/ |
D | trace.h | 693 extern unsigned long nsecs_to_usecs(unsigned long nsecs);
|
D | trace.c | 1572 unsigned long nsecs_to_usecs(unsigned long nsecs) in nsecs_to_usecs() argument 1574 return nsecs / 1000; in nsecs_to_usecs()
|