/linux-6.12.1/drivers/gpu/drm/i915/gvt/ |
D | sched_policy.c | 75 static void vgpu_update_timeslice(struct intel_vgpu *vgpu, ktime_t cur_time) in vgpu_update_timeslice() argument 84 delta_ts = ktime_sub(cur_time, vgpu_data->sched_in_time); in vgpu_update_timeslice() 87 vgpu_data->sched_in_time = cur_time; in vgpu_update_timeslice() 138 ktime_t cur_time; in try_to_schedule_next_vgpu() local 160 cur_time = ktime_get(); in try_to_schedule_next_vgpu() 161 vgpu_update_timeslice(scheduler->current_vgpu, cur_time); in try_to_schedule_next_vgpu() 163 vgpu_data->sched_in_time = cur_time; in try_to_schedule_next_vgpu() 243 ktime_t cur_time; in intel_gvt_schedule() local 246 cur_time = ktime_get(); in intel_gvt_schedule() 250 if (cur_time >= sched_data->expire_time) { in intel_gvt_schedule() [all …]
|
/linux-6.12.1/sound/core/seq/ |
D | seq_timer.c | 103 tmr->cur_time.tv_sec = 0; in seq_timer_reset() 104 tmr->cur_time.tv_nsec = 0; in seq_timer_reset() 143 snd_seq_inc_time_nsec(&tmr->cur_time, resolution); in snd_seq_timer_interrupt() 222 tmr->cur_time = position; in snd_seq_timer_set_position_time() 412 snd_seq_real_time_t cur_time; in snd_seq_timer_get_cur_time() local 415 cur_time = tmr->cur_time; in snd_seq_timer_get_cur_time() 421 cur_time.tv_nsec += tm.tv_nsec; in snd_seq_timer_get_cur_time() 422 cur_time.tv_sec += tm.tv_sec; in snd_seq_timer_get_cur_time() 423 snd_seq_sanity_real_time(&cur_time); in snd_seq_timer_get_cur_time() 425 return cur_time; in snd_seq_timer_get_cur_time()
|
D | seq_queue.c | 234 snd_seq_real_time_t cur_time; in snd_seq_check_queue() local 262 cur_time = snd_seq_timer_get_cur_time(q->timer, false); in snd_seq_check_queue() 264 cell = snd_seq_prioq_cell_out(q->timeq, &cur_time); in snd_seq_check_queue() 306 &q->timer->cur_time); in snd_seq_enqueue_event() 747 …snd_iprintf(buffer, "current time : %d.%09d s\n", tmr->cur_time.tv_sec, tmr->cur_time.tv_nse… in snd_seq_info_queues_read()
|
D | seq_timer.h | 27 snd_seq_real_time_t cur_time; /* current time */ member
|
/linux-6.12.1/net/sched/ |
D | sch_hfsc.c | 218 eltree_get_mindl(struct hfsc_sched *q, u64 cur_time) in eltree_get_mindl() argument 225 if (p->cl_e > cur_time) in eltree_get_mindl() 282 vttree_firstfit(struct hfsc_class *cl, u64 cur_time) in vttree_firstfit() argument 289 if (p->cl_f <= cur_time) in vttree_firstfit() 299 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time) in vttree_get_minvt() argument 302 if (cl->cl_cfmin > cur_time) in vttree_get_minvt() 306 cl = vttree_firstfit(cl, cur_time); in vttree_get_minvt() 611 u64 cur_time = psched_get_time(); in init_ed() local 614 rtsc_min(&cl->cl_deadline, &cl->cl_rsc, cur_time, cl->cl_cumul); in init_ed() 668 u64 vt, f, cur_time; in init_vf() local [all …]
|
/linux-6.12.1/drivers/char/hw_random/ |
D | cavium-rng-vf.c | 84 u64 cur_err, cur_time; in check_rng_health() local 103 cur_time = arch_timer_read_counter(); in check_rng_health() 125 time_elapsed = (cur_time - rng->prev_time) * 10; in check_rng_health() 135 rng->prev_time = cur_time; in check_rng_health() 141 rng->prev_time = cur_time; in check_rng_health()
|
/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 147 unsigned long cur_time = 0; in rtw_handle_tkip_mic_err() local 152 cur_time = jiffies; in rtw_handle_tkip_mic_err() 154 if (cur_time - psecuritypriv->last_mic_err_time < 60*HZ) { in rtw_handle_tkip_mic_err() 157 psecuritypriv->btkip_countermeasure_time = cur_time; in rtw_handle_tkip_mic_err()
|
/linux-6.12.1/samples/bpf/ |
D | tracex3.bpf.c | 73 u64 cur_time = bpf_ktime_get_ns(); in bpf_prog2() local 74 u64 delta = cur_time - *value; in bpf_prog2()
|
/linux-6.12.1/drivers/watchdog/ |
D | apple_wdt.c | 110 u32 cur_time, reset_time; in apple_wdt_get_timeleft() local 112 cur_time = readl_relaxed(wdt->regs + APPLE_WDT_WD1_CUR_TIME); in apple_wdt_get_timeleft() 115 return (reset_time - cur_time) / wdt->clk_rate; in apple_wdt_get_timeleft()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_xdp_noinline.c | 529 __u64 cur_time; in get_packet_dst() local 556 cur_time = bpf_ktime_get_ns(); in get_packet_dst() 557 if ((cur_time - conn_rate_stats->v2) >> 32 > 0xffFFFF) { in get_packet_dst() 559 conn_rate_stats->v2 = cur_time; in get_packet_dst() 566 new_dst_lru.atime = cur_time; in get_packet_dst() 580 __u64 cur_time; in connection_table_lookup() local 587 cur_time = bpf_ktime_get_ns(); in connection_table_lookup() 588 if (cur_time - dst_lru->atime > 300000) in connection_table_lookup() 590 dst_lru->atime = cur_time; in connection_table_lookup()
|
/linux-6.12.1/scripts/ |
D | get_abi.pl | 799 my $cur_time = times; 801 if ($i == $next_i || $cur_time > $last_time + 1) { 804 my $tm = $cur_time - $start_time; 813 $last_time = $cur_time; 817 my $cur_time = times; 818 my $tm = $cur_time - $start_time;
|
/linux-6.12.1/drivers/cpufreq/ |
D | cpufreq_stats.c | 33 unsigned long long cur_time = local_clock(); in cpufreq_stats_update() local 35 stats->time_in_state[stats->last_index] += cur_time - time; in cpufreq_stats_update() 36 stats->last_time = cur_time; in cpufreq_stats_update()
|
/linux-6.12.1/drivers/net/ethernet/ti/ |
D | am65-cpsw-qos.c | 769 u64 cur_time; in am65_cpsw_timer_act() local 794 cur_time = am65_cpts_ns_gettime(cpts); in am65_cpsw_timer_act() 795 if (taprio_new->base_time <= cur_time + taprio_new->cycle_time) in am65_cpsw_timer_act() 841 u64 cur_time, n; in am65_cpsw_taprio_replace() local 902 cur_time = am65_cpts_ns_gettime(cpts); in am65_cpsw_taprio_replace() 903 if (est_new->taprio.base_time < cur_time) { in am65_cpsw_taprio_replace() 904 n = div64_u64(cur_time - est_new->taprio.base_time, est_new->taprio.cycle_time); in am65_cpsw_taprio_replace() 934 ktime_t cur_time; in am65_cpsw_est_link_up() local 941 cur_time = ktime_get(); in am65_cpsw_est_link_up() 942 delta = ktime_us_delta(cur_time, port->qos.link_down_time); in am65_cpsw_est_link_up()
|
/linux-6.12.1/fs/adfs/ |
D | inode.c | 183 goto cur_time; in adfs_adfs2unix_time() 203 cur_time: in adfs_adfs2unix_time()
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | ksm_tests.c | 220 struct timespec cur_time; in ksm_do_scan() local 230 if (clock_gettime(CLOCK_MONOTONIC_RAW, &cur_time)) { in ksm_do_scan() 234 if ((cur_time.tv_sec - start_time.tv_sec) > timeout) { in ksm_do_scan()
|
/linux-6.12.1/drivers/media/dvb-core/ |
D | dvb_demux.c | 412 ktime_t cur_time; in dvb_dmx_swfilter_packet() local 419 cur_time = ktime_get(); in dvb_dmx_swfilter_packet() 427 speed_timedelta = ktime_ms_delta(cur_time, in dvb_dmx_swfilter_packet() 435 demux->speed_last_time = cur_time; in dvb_dmx_swfilter_packet()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mac.c | 1146 ktime_t cur_time; in mt76x02_edcca_check() local 1149 cur_time = ktime_get_boottime(); in mt76x02_edcca_check() 1152 active = ktime_to_us(ktime_sub(cur_time, dev->ed_time)); in mt76x02_edcca_check() 1153 dev->ed_time = cur_time; in mt76x02_edcca_check()
|
/linux-6.12.1/tools/perf/util/ |
D | evsel.c | 1781 __u64 *start_time, cur_time, delta_start; in evsel__read_tool() local 1797 cur_time = rdclock(); in evsel__read_tool() 1799 cur_time = *start_time; in evsel__read_tool() 1811 err = read_pid_stat_field(fd, system ? 15 : 14, &cur_time); in evsel__read_tool() 1813 cur_time = 0; in evsel__read_tool() 1820 err = read_stat_field(fd, cpu, system ? 3 : 1, &cur_time); in evsel__read_tool() 1822 cur_time = 0; in evsel__read_tool() 1836 delta_start = cur_time - *start_time; in evsel__read_tool()
|
/linux-6.12.1/kernel/time/ |
D | posix-cpu-timers.c | 911 u64 *expires, u64 cur_time, int signo) in check_cpu_itimer() argument 916 if (cur_time >= it->expires) { in check_cpu_itimer() 924 task_tgid(tsk), cur_time); in check_cpu_itimer()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtcoutsrc.c | 348 unsigned long cur_time = 0; in halbtc_aggregation_check() local 356 cur_time = jiffies; in halbtc_aggregation_check() 357 if (jiffies_to_msecs(cur_time - pre_time) <= 8000) { in halbtc_aggregation_check() 361 pre_time = cur_time; in halbtc_aggregation_check()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hal_btc.c | 1361 unsigned long cur_time = jiffies; in rtl8723e_dm_bt_inq_page_monitor() local 1368 hal_coex_8723.bt_inq_page_start_time = cur_time; in rtl8723e_dm_bt_inq_page_monitor() 1376 hal_coex_8723.bt_inq_page_start_time, cur_time); in rtl8723e_dm_bt_inq_page_monitor() 1379 if (jiffies_to_msecs(cur_time - in rtl8723e_dm_bt_inq_page_monitor()
|
/linux-6.12.1/drivers/devfreq/ |
D | devfreq.c | 219 u64 cur_time; in devfreq_update_status() local 222 cur_time = get_jiffies_64(); in devfreq_update_status() 235 cur_time - devfreq->stats.last_update; in devfreq_update_status() 250 devfreq->stats.last_update = cur_time; in devfreq_update_status()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mac.c | 1661 ktime_t cur_time; in mt7603_edcca_check() local 1687 cur_time = ktime_get_boottime(); in mt7603_edcca_check() 1690 active = ktime_to_us(ktime_sub(cur_time, dev->ed_time)); in mt7603_edcca_check() 1691 dev->ed_time = cur_time; in mt7603_edcca_check()
|
/linux-6.12.1/fs/btrfs/ |
D | transaction.c | 1644 struct timespec64 cur_time; in create_pending_snapshot() local 1707 cur_time = current_time(parent_inode); in create_pending_snapshot() 1779 btrfs_set_stack_timespec_sec(&new_root_item->otime, cur_time.tv_sec); in create_pending_snapshot() 1780 btrfs_set_stack_timespec_nsec(&new_root_item->otime, cur_time.tv_nsec); in create_pending_snapshot()
|
/linux-6.12.1/mm/ |
D | page-writeback.c | 571 static unsigned long wp_next_time(unsigned long cur_time) in wp_next_time() argument 573 cur_time += VM_COMPLETIONS_PERIOD_LEN; in wp_next_time() 575 if (!cur_time) in wp_next_time() 577 return cur_time; in wp_next_time()
|