/linux-4.1.27/include/uapi/linux/ |
D | time.h | 48 #define CLOCK_MONOTONIC 1 macro 61 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) 62 #define CLOCKS_MONO CLOCK_MONOTONIC
|
/linux-4.1.27/tools/testing/selftests/timers/ |
D | mqueue-lat.c | 86 clock_gettime(CLOCK_MONOTONIC, &start); in mqueue_lat_test() 101 clock_gettime(CLOCK_MONOTONIC, &end); in mqueue_lat_test()
|
D | nanosleep.c | 45 #define CLOCK_MONOTONIC 1 macro 65 case CLOCK_MONOTONIC: in clockstring()
|
D | alarmtimer-suspend.c | 45 #define CLOCK_MONOTONIC 1 macro 73 case CLOCK_MONOTONIC: in clockstring()
|
D | nsleep-lat.c | 46 #define CLOCK_MONOTONIC 1 macro 66 case CLOCK_MONOTONIC: in clockstring()
|
D | inconsistency-check.c | 48 #define CLOCK_MONOTONIC 1 macro 66 case CLOCK_MONOTONIC: in clockstring()
|
D | raw_skew.c | 90 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw() 92 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
|
D | threadtest.c | 104 clock_gettime(CLOCK_MONOTONIC, &global_list[listcount++]); in shared_thread() 123 clock_gettime(CLOCK_MONOTONIC, &my_list[count]); in independent_thread()
|
D | set-timer-lat.c | 44 #define CLOCK_MONOTONIC 1 macro 72 case CLOCK_MONOTONIC: in clockstring()
|
D | leap-a-day.c | 303 clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, NULL); in main()
|
/linux-4.1.27/arch/arm64/kernel/vdso/ |
D | gettimeofday.S | 92 ccmp w0, #CLOCK_MONOTONIC, #0x4, ne 108 cmp w0, #CLOCK_MONOTONIC 178 ccmp w0, #CLOCK_MONOTONIC, #0x4, ne
|
/linux-4.1.27/sound/core/ |
D | hrtimer.c | 68 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open() 128 hrtimer_get_res(CLOCK_MONOTONIC, &tp); in snd_hrtimer_init()
|
/linux-4.1.27/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 108 clock_gettime(CLOCK_MONOTONIC, &a); in main() 136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
|
/linux-4.1.27/tools/build/feature/ |
D | test-timerfd.c | 10 int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in main()
|
/linux-4.1.27/sound/drivers/pcsp/ |
D | pcsp.c | 49 hrtimer_get_res(CLOCK_MONOTONIC, &tp); in snd_pcsp_create() 105 hrtimer_init(&pcsp_chip.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_card_pcsp_probe()
|
/linux-4.1.27/drivers/power/reset/ |
D | ltc2952-poweroff.c | 176 hrtimer_init(&data->timer_trigger, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ltc2952_poweroff_default() 179 hrtimer_init(&data->timer_wde, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ltc2952_poweroff_default()
|
/linux-4.1.27/samples/bpf/ |
D | tracex4_user.c | 27 clock_gettime(CLOCK_MONOTONIC, &ts); in time_get_ns()
|
/linux-4.1.27/tools/perf/ |
D | perf.h | 28 clock_gettime(CLOCK_MONOTONIC, &ts); in rdclock()
|
D | builtin-record.c | 740 CLOCKID_MAP("monotonic", CLOCK_MONOTONIC), 749 CLOCKID_MAP("mono", CLOCK_MONOTONIC),
|
D | builtin-stat.c | 556 clock_gettime(CLOCK_MONOTONIC, &ts); in print_interval() 698 clock_gettime(CLOCK_MONOTONIC, &ref_time); in __run_perf_stat()
|
D | builtin-kvm.c | 814 kvm->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in perf_kvm__timerfd_create()
|
D | builtin-sched.c | 180 clock_gettime(CLOCK_MONOTONIC, &ts); in get_nsecs()
|
/linux-4.1.27/kernel/time/ |
D | tick-broadcast-hrtimer.c | 110 hrtimer_init(&bctimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in tick_setup_hrtimer_broadcast()
|
D | hrtimer.c | 75 .clockid = CLOCK_MONOTONIC, 102 [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, 1152 clock_id = CLOCK_MONOTONIC; in __hrtimer_init() 1611 return hrtimer_nanosleep(&tu, rmtp, HRTIMER_MODE_REL, CLOCK_MONOTONIC); in SYSCALL_DEFINE2() 1821 CLOCK_MONOTONIC); in schedule_hrtimeout_range()
|
D | sched_clock.c | 249 hrtimer_init(&sched_clock_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in sched_clock_postinit()
|
D | tick-sched.c | 1028 hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in tick_nohz_switch_to_nohz() 1156 hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in tick_setup_sched_timer()
|
D | posix-timers.c | 336 posix_timers_register_clock(CLOCK_MONOTONIC, &clock_monotonic); in init_posix_timers()
|
/linux-4.1.27/arch/powerpc/kernel/vdso64/ |
D | gettimeofday.S | 65 cmpwi cr1,r3,CLOCK_MONOTONIC 143 cmpwi cr1,r3,CLOCK_MONOTONIC
|
/linux-4.1.27/drivers/oprofile/ |
D | timer_int.c | 40 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in __oprofile_hrtimer_start()
|
/linux-4.1.27/arch/powerpc/kernel/vdso32/ |
D | gettimeofday.S | 76 cmpli cr1,r3,CLOCK_MONOTONIC 158 cmpwi cr1,r3,CLOCK_MONOTONIC
|
/linux-4.1.27/arch/arm64/kernel/ |
D | asm-offsets.c | 77 DEFINE(CLOCK_MONOTONIC, CLOCK_MONOTONIC); in main()
|
/linux-4.1.27/arch/powerpc/oprofile/cell/ |
D | spu_profiler.c | 208 hrtimer_init(&timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in start_spu_profiling_cycles()
|
/linux-4.1.27/drivers/staging/android/ |
D | timed_gpio.c | 106 hrtimer_init(&gpio_dat->timer, CLOCK_MONOTONIC, in timed_gpio_probe()
|
/linux-4.1.27/net/mac802154/ |
D | main.c | 151 hrtimer_init(&local->ifs_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ieee802154_register_hw()
|
/linux-4.1.27/arch/tile/kernel/vdso/ |
D | vgettimeofday.c | 183 case CLOCK_MONOTONIC: in __vdso_clock_gettime()
|
/linux-4.1.27/arch/arm/vdso/ |
D | vgettimeofday.c | 216 case CLOCK_MONOTONIC: in __vdso_clock_gettime()
|
/linux-4.1.27/net/can/ |
D | bcm.c | 921 hrtimer_init(&op->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in bcm_tx_setup() 929 hrtimer_init(&op->thrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in bcm_tx_setup() 1091 hrtimer_init(&op->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in bcm_rx_setup() 1098 hrtimer_init(&op->thrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in bcm_rx_setup()
|
/linux-4.1.27/virt/kvm/arm/ |
D | arch_timer.c | 206 hrtimer_init(&timer->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in kvm_timer_vcpu_init()
|
/linux-4.1.27/arch/x86/vdso/ |
D | vclock_gettime.c | 299 case CLOCK_MONOTONIC: in __vdso_clock_gettime()
|
/linux-4.1.27/drivers/rtc/ |
D | class.c | 220 hrtimer_init(&rtc->pie_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in rtc_device_register()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | fsys.S | 136 #define CLOCK_MONOTONIC 1 macro 319 cmp4.ltu p6, p0 = CLOCK_MONOTONIC, r32
|
/linux-4.1.27/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 188 hrtimer_init(&iprtd->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_imx_open()
|
/linux-4.1.27/drivers/input/joystick/ |
D | walkera0701.c | 235 hrtimer_init(&w->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in walkera0701_connect()
|
/linux-4.1.27/sound/sh/ |
D | sh_dac_audio.c | 366 hrtimer_init(&chip->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_sh_dac_create()
|
/linux-4.1.27/drivers/staging/ozwpan/ |
D | ozpd.c | 130 hrtimer_init(&pd->heartbeat, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in oz_pd_alloc() 131 hrtimer_init(&pd->timeout, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in oz_pd_alloc()
|
/linux-4.1.27/drivers/net/ieee802154/ |
D | at86rf230.c | 1622 hrtimer_init(&lp->state.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in at86rf230_setup_spi_messages() 1633 hrtimer_init(&lp->irq.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in at86rf230_setup_spi_messages() 1644 hrtimer_init(&lp->tx.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in at86rf230_setup_spi_messages()
|
/linux-4.1.27/arch/s390/kernel/ |
D | asm-offsets.c | 78 DEFINE(__CLOCK_MONOTONIC, CLOCK_MONOTONIC); in main()
|
/linux-4.1.27/kernel/ |
D | watchdog.c | 445 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in watchdog_enable()
|
D | futex.c | 2191 CLOCK_REALTIME : CLOCK_MONOTONIC, in futex_wait() 2585 CLOCK_REALTIME : CLOCK_MONOTONIC, in futex_wait_requeue_pi()
|
D | compat.c | 256 HRTIMER_MODE_REL, CLOCK_MONOTONIC); in COMPAT_SYSCALL_DEFINE2()
|
D | fork.c | 1135 hrtimer_init(&sig->real_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in copy_signal()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-input.c | 197 hrtimer_init(&ir->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in __cx88_ir_start()
|
/linux-4.1.27/fs/ |
D | timerfd.c | 386 (clockid != CLOCK_MONOTONIC && in SYSCALL_DEFINE2()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_rapl.c | 243 hrtimer_init(hr, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in rapl_hrtimer_init()
|
D | perf_event_intel_uncore.c | 248 hrtimer_init(&box->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in uncore_pmu_init_hrtimer()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | ec_bhf.c | 428 hrtimer_init(&priv->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ec_bhf_open()
|
/linux-4.1.27/drivers/block/ |
D | null_blk.c | 637 hrtimer_init(&cq->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in null_init()
|
/linux-4.1.27/include/linux/ |
D | wait.h | 454 hrtimer_init_on_stack(&__t.timer, CLOCK_MONOTONIC, \
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | uvc_driver.c | 34 unsigned int uvc_clock_param = CLOCK_MONOTONIC; 2059 if (uvc_clock_param == CLOCK_MONOTONIC) in uvc_clock_param_get() 2071 uvc_clock_param = CLOCK_MONOTONIC; in uvc_clock_param_set()
|
D | uvc_video.c | 366 if (uvc_clock_param == CLOCK_MONOTONIC) in uvc_video_get_ts()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
D | msm_fb.c | 585 hrtimer_init(&msmfb->fake_vsync, CLOCK_MONOTONIC, in msmfb_probe()
|
/linux-4.1.27/drivers/usb/musb/ |
D | musb_cppi41.c | 706 hrtimer_init(&controller->early_tx, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in dma_controller_create()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2x00usb.c | 810 hrtimer_init(&rt2x00dev->txstatus_timer, CLOCK_MONOTONIC, in rt2x00usb_probe()
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | otg_fsm.c | 410 hrtimer_init(&ci->otg_fsm_hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in ci_otg_init_timers()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | asm-offsets.c | 425 DEFINE(CLOCK_MONOTONIC, CLOCK_MONOTONIC); in main()
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-record.txt | 256 records. See clock_gettime(). In particular CLOCK_MONOTONIC and
|
/linux-4.1.27/arch/x86/kvm/ |
D | i8254.c | 721 hrtimer_init(&pit_state->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in kvm_create_pit()
|
D | lapic.c | 1709 hrtimer_init(&apic->lapic_timer.timer, CLOCK_MONOTONIC, in kvm_create_lapic()
|
D | vmx.c | 6652 hrtimer_init(&vmx->nested.preemption_timer, CLOCK_MONOTONIC, in handle_vmon()
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | timestamping.txt | 32 CLOCK_MONOTONIC (NTP corrections but never going backwards),
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
D | tilegx.c | 1562 hrtimer_init(&tx_wake->timer, CLOCK_MONOTONIC, in tile_net_open() 2251 hrtimer_init(&info->egress_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in tile_net_init_module_percpu()
|
/linux-4.1.27/net/sched/ |
D | sch_api.c | 595 hrtimer_init(&wd->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED); in qdisc_watchdog_init() 1899 hrtimer_get_res(CLOCK_MONOTONIC, &ts); in psched_show()
|
D | sch_cbq.c | 1389 hrtimer_init(&q->delay_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED); in cbq_init()
|
/linux-4.1.27/drivers/usb/host/ |
D | ehci-hcd.c | 470 hrtimer_init(&ehci->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in ehci_init()
|
D | fusbh200-hcd.c | 5079 hrtimer_init(&fusbh200->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in hcd_fusbh200_init()
|
D | fotg210-hcd.c | 5147 hrtimer_init(&fotg210->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in hcd_fotg210_init()
|
/linux-4.1.27/drivers/net/ethernet/hisilicon/ |
D | hip04_eth.c | 846 hrtimer_init(&priv->tx_coalesce_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in hip04_mac_probe()
|
/linux-4.1.27/fs/ubifs/ |
D | io.c | 1060 hrtimer_init(&wbuf->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ubifs_wbuf_init()
|
/linux-4.1.27/drivers/ata/ |
D | pata_octeon_cf.c | 985 hrtimer_init(&cf_port->delayed_finish, CLOCK_MONOTONIC, in octeon_cf_probe()
|
/linux-4.1.27/Documentation/ioctl/ |
D | botching-up-ioctls.txt | 129 * Use CLOCK_MONOTONIC as your reference time, always. It's what alsa, drm and
|
/linux-4.1.27/drivers/input/ |
D | evdev.c | 158 case CLOCK_MONOTONIC: in evdev_set_clk_type()
|
/linux-4.1.27/sound/drivers/ |
D | dummy.c | 468 hrtimer_init(&dpcm->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in dummy_hrtimer_create()
|
/linux-4.1.27/kernel/sched/ |
D | deadline.c | 638 hrtimer_init(timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_dl_task_timer()
|
D | rt.c | 46 CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_rt_bandwidth()
|
D | fair.c | 4038 hrtimer_init(&cfs_b->period_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_cfs_bandwidth() 4040 hrtimer_init(&cfs_b->slack_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_cfs_bandwidth()
|
D | core.c | 462 hrtimer_init(&rq->hrtick_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_rq_hrtick()
|
/linux-4.1.27/arch/mips/kvm/ |
D | mips.c | 1190 hrtimer_init(&vcpu->arch.comparecount_timer, CLOCK_MONOTONIC, in kvm_arch_vcpu_init()
|
/linux-4.1.27/drivers/s390/crypto/ |
D | ap_bus.c | 2048 hrtimer_init(&ap_poll_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in ap_module_init()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_ncm.c | 1457 hrtimer_init(&ncm->task_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ncm_bind()
|
/linux-4.1.27/drivers/bus/ |
D | arm-ccn.c | 1141 hrtimer_init(&ccn->dt.hrtimer, CLOCK_MONOTONIC, in arm_ccn_pmu_init()
|
/linux-4.1.27/drivers/net/usb/ |
D | cdc_ncm.c | 732 hrtimer_init(&ctx->tx_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in cdc_ncm_bind_common()
|
/linux-4.1.27/drivers/firewire/ |
D | core-cdev.c | 1218 case CLOCK_MONOTONIC: ktime_get_ts(&ts); break; in ioctl_get_cycle_timer2()
|
/linux-4.1.27/tools/perf/util/ |
D | evsel.c | 1158 evsel->attr.clockid = CLOCK_MONOTONIC; /* should always work */ in __perf_evsel__open()
|
/linux-4.1.27/kernel/events/ |
D | core.c | 821 hrtimer_init(hr, CLOCK_MONOTONIC, HRTIMER_MODE_REL_PINNED); in __perf_cpu_hrtimer_init() 6926 hrtimer_init(&hwc->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in perf_swevent_init_hrtimer() 7871 case CLOCK_MONOTONIC: in perf_event_set_clock()
|
/linux-4.1.27/arch/s390/kvm/ |
D | kvm-s390.c | 1345 hrtimer_init(&vcpu->arch.ckc_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in kvm_arch_vcpu_setup()
|
/linux-4.1.27/net/core/ |
D | pktgen.c | 2194 hrtimer_init_on_stack(&t.timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in spin()
|
D | dev.c | 4572 hrtimer_init(&napi->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_PINNED); in netif_napi_add()
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_debug.c | 4031 hrtimer_init(&sd_hp->hrt, CLOCK_MONOTONIC, in schedule_resp()
|