/linux-6.3-rc2/arch/s390/kernel/ |
A D | idle.c | 27 unsigned long idle_time; in account_idle_time_irq() local 37 idle_time = S390_lowcore.int_clock - idle->clock_idle_enter; in account_idle_time_irq() 46 WRITE_ONCE(idle->idle_time, READ_ONCE(idle->idle_time) + idle_time); in account_idle_time_irq() 48 account_idle_time(cputime_to_nsecs(idle_time)); in account_idle_time_irq() 79 return sysfs_emit(buf, "%lu\n", READ_ONCE(idle->idle_time) >> 12); in show_idle_time()
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-io-tracker.h | 25 unsigned long idle_time; member 33 iot->idle_time = 0ul; in dm_iot_init() 43 r = time_after(jiffies, iot->idle_time + j); in dm_iot_idle_for() 55 r = jiffies - iot->idle_time; in dm_iot_idle_time() 78 iot->idle_time = jiffies; in dm_iot_io_end()
|
/linux-6.3-rc2/drivers/thermal/ |
A D | cpufreq_cooling.c | 78 struct time_in_idle *idle_time; member 161 struct time_in_idle *idle_time = &cpufreq_cdev->idle_time[cpu_idx]; in get_load() local 164 delta_idle = now_idle - idle_time->time; in get_load() 165 delta_time = now - idle_time->timestamp; in get_load() 172 idle_time->time = now_idle; in get_load() 173 idle_time->timestamp = now; in get_load() 356 cpufreq_cdev->idle_time = kcalloc(num_cpus, in allocate_idle_time() 357 sizeof(*cpufreq_cdev->idle_time), in allocate_idle_time() 359 if (!cpufreq_cdev->idle_time) in allocate_idle_time() 367 kfree(cpufreq_cdev->idle_time); in free_idle_time() [all …]
|
/linux-6.3-rc2/drivers/cpufreq/ |
A D | cpufreq_governor.c | 140 unsigned int idle_time, time_elapsed; in dbs_update() local 148 idle_time = cur_idle_time - j_cdbs->prev_cpu_idle; in dbs_update() 154 idle_time += div_u64(cur_nice - j_cdbs->prev_cpu_nice, NSEC_PER_USEC); in dbs_update() 165 } else if (unlikely((int)idle_time > 2 * sampling_rate && in dbs_update() 192 if (time_elapsed >= idle_time) { in dbs_update() 193 load = 100 * (time_elapsed - idle_time) / time_elapsed; in dbs_update() 210 load = (int)idle_time < 0 ? 100 : 0; in dbs_update() 215 if (unlikely((int)idle_time > 2 * sampling_rate)) { in dbs_update() 216 unsigned int periods = idle_time / sampling_rate; in dbs_update()
|
A D | cpufreq_ondemand.c | 360 u64 idle_time; in od_init() local 368 idle_time = get_cpu_idle_time_us(cpu, NULL); in od_init() 370 if (idle_time != -1ULL) { in od_init()
|
A D | cpufreq.c | 127 u64 idle_time; in get_cpu_idle_time_jiffy() local 141 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy() 145 return div_u64(idle_time, NSEC_PER_USEC); in get_cpu_idle_time_jiffy() 150 u64 idle_time = get_cpu_idle_time_us(cpu, io_busy ? wall : NULL); in get_cpu_idle_time() local 152 if (idle_time == -1ULL) in get_cpu_idle_time() 155 idle_time += get_cpu_iowait_time_us(cpu, wall); in get_cpu_idle_time() 157 return idle_time; in get_cpu_idle_time()
|
/linux-6.3-rc2/drivers/gpu/drm/msm/ |
A D | msm_gpu_devfreq.c | 291 unsigned int idle_time; in msm_devfreq_active() local 310 idle_time = ktime_to_ms(ktime_sub(ktime_get(), df->idle_time)); in msm_devfreq_active() 329 if (idle_time > msm_devfreq_profile.polling_ms) { in msm_devfreq_active() 354 df->idle_time = ktime_get(); in msm_devfreq_idle_work()
|
A D | msm_gpu.h | 140 ktime_t idle_time; member
|
/linux-6.3-rc2/drivers/gpu/drm/lima/ |
A D | lima_devfreq.c | 29 devfreq->idle_time += ktime_sub(now, last); in lima_devfreq_update_utilization() 50 devfreq->idle_time = 0; in lima_devfreq_reset() 68 devfreq->idle_time)); in lima_devfreq_get_dev_status()
|
A D | lima_devfreq.h | 22 ktime_t idle_time; member
|
/linux-6.3-rc2/drivers/gpu/drm/panfrost/ |
A D | panfrost_devfreq.c | 23 pfdevfreq->idle_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization() 44 pfdevfreq->idle_time = 0; in panfrost_devfreq_reset() 62 pfdevfreq->idle_time)); in panfrost_devfreq_get_dev_status()
|
A D | panfrost_devfreq.h | 23 ktime_t idle_time; member
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | time.c | 80 if (ti->idle_time) in vtime_flush() 81 account_idle_time(cycle_to_nsec(ti->idle_time)); in vtime_flush() 100 ti->idle_time = 0; in vtime_flush() 154 ti->idle_time += vtime_delta(tsk); in vtime_account_idle()
|
/linux-6.3-rc2/Documentation/networking/ |
A D | nexthop-group-resilient.rst | 262 id 10 index 0 idle_time 5.59 nhid 1 263 id 10 index 1 idle_time 5.59 nhid 1 264 id 10 index 2 idle_time 8.74 nhid 2 265 id 10 index 3 idle_time 8.74 nhid 2 266 id 10 index 4 idle_time 8.74 nhid 1 267 id 10 index 5 idle_time 8.74 nhid 1 268 id 10 index 6 idle_time 8.74 nhid 1 269 id 10 index 7 idle_time 8.74 nhid 1
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | idle.h | 16 unsigned long idle_time; member
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | accounting.h | 22 unsigned long idle_time; member
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | time.c | 270 acct->idle_time += stime + steal_time; in vtime_account_idle() 334 if (acct->idle_time) in vtime_flush() 335 account_idle_time(cputime_to_nsecs(acct->idle_time)); in vtime_flush() 352 acct->idle_time = 0; in vtime_flush()
|
/linux-6.3-rc2/block/ |
A D | bfq-cgroup.c | 198 bfq_stat_add(&stats->idle_time, in bfqg_stats_update_idle_time() 367 bfq_stat_reset(&stats->idle_time); in bfqg_stats_reset() 389 bfq_stat_add_aux(&to->idle_time, &from->idle_time); in bfqg_stats_add_aux() 450 bfq_stat_exit(&stats->idle_time); in bfqg_stats_exit() 471 bfq_stat_init(&stats->idle_time, gfp) || in bfqg_stats_init() 1424 .private = offsetof(struct bfq_group, stats.idle_time),
|
A D | blk-throttle.c | 1490 char idle_time[26] = ""; in tg_prfill_limit() local 1527 strcpy(idle_time, " idle=max"); in tg_prfill_limit() 1529 snprintf(idle_time, sizeof(idle_time), " idle=%lu", in tg_prfill_limit() 1540 dname, bufs[0], bufs[1], bufs[2], bufs[3], idle_time, in tg_prfill_limit() 1559 unsigned long idle_time; in tg_set_limit() local 1576 idle_time = tg->idletime_threshold_conf; in tg_set_limit() 1610 idle_time = val; in tg_set_limit() 1636 tg->idletime_threshold_conf = idle_time; in tg_set_limit()
|
/linux-6.3-rc2/arch/ia64/include/asm/ |
A D | thread_info.h | 37 __u64 idle_time; member
|
/linux-6.3-rc2/net/sunrpc/xprtrdma/ |
A D | transport.c | 681 long idle_time = 0; in xprt_rdma_print_stats() local 684 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xprt_rdma_print_stats() 692 idle_time, in xprt_rdma_print_stats()
|
/linux-6.3-rc2/drivers/base/power/ |
A D | domain.c | 245 genpd->states[genpd->state_idx].idle_time += delta; in genpd_update_accounting() 3240 u64 now, delta, idle_time = 0; in idle_states_show() local 3251 idle_time += genpd->states[i].idle_time; in idle_states_show() 3257 idle_time += delta; in idle_states_show() 3261 do_div(idle_time, NSEC_PER_MSEC); in idle_states_show() 3262 seq_printf(s, "S%-13i %-14llu %-14llu %llu\n", i, idle_time, in idle_states_show() 3306 total += genpd->states[i].idle_time; in total_idle_time_show()
|
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/ |
A D | ioctl.h | 285 u16 idle_time; member
|
/linux-6.3-rc2/include/linux/ |
A D | pm_domain.h | 111 u64 idle_time; member
|
/linux-6.3-rc2/net/sunrpc/ |
A D | xprtsock.c | 2462 long idle_time = 0; in xs_local_print_stats() local 2465 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xs_local_print_stats() 2472 idle_time, in xs_local_print_stats() 2516 long idle_time = 0; in xs_tcp_print_stats() local 2519 idle_time = (long)(jiffies - xprt->last_used) / HZ; in xs_tcp_print_stats() 2527 idle_time, in xs_tcp_print_stats()
|