/kernel/linux/linux-5.10/kernel/sched/ |
H A D | fair.c | 1690 /* Find alternative idle CPU. */ in task_numa_assign() 1703 /* Failed to find an alternative idle CPU */ in task_numa_assign() 1903 /* Evaluate an idle CPU for a task numa move. */ in task_numa_compare() 1907 /* Nothing cached so current CPU went idle since the search. */ in task_numa_compare() 1912 * If the CPU is no longer truly idle and the previous best CPU in task_numa_compare() 1926 * If a move to idle is allowed because there is capacity or load in task_numa_compare() 1972 /* Use idle CPU if there is no imbalance */ in task_numa_find_cpu() 2213 * completely idle or all activity is areas that are not of interest in update_task_scan_period() 3193 * conditions. In specific, the case where the group was idle and we start the 3203 * That is, the sum collapses because all other CPUs are idle; th 5498 int idle = 0; sched_cfs_period_timer() local 6249 struct cpuidle_state *idle = idle_get_state(rq); find_idlest_group_cpu() local 6409 bool idle = true; select_idle_core() local 7875 enum cpu_idle_type idle; global() member 10169 load_balance(int this_cpu, struct rq *this_rq, struct sched_domain *sd, enum cpu_idle_type idle, int *continue_balancing) load_balance() argument 10643 rebalance_domains(struct rq *rq, enum cpu_idle_type idle) rebalance_domains() argument 11046 _nohz_idle_balance(struct rq *this_rq, unsigned int flags, enum cpu_idle_type idle) _nohz_idle_balance() argument 11158 nohz_idle_balance(struct rq *this_rq, enum cpu_idle_type idle) nohz_idle_balance() argument 11210 nohz_idle_balance(struct rq *this_rq, enum cpu_idle_type idle) nohz_idle_balance() argument 11348 enum cpu_idle_type idle = this_rq->idle_balance ? run_rebalance_domains() local [all...] |
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A D | smp.c | 205 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument 209 secondary_idle_tsk = idle; in __cpu_up() 211 pr_info("Idle Task [%d] %p", cpu, idle); in __cpu_up()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
H A D | smp.c | 295 /* Initialise the idle task for this CPU */ in smp_cpu_init() 335 int smp_boot_one_cpu(int cpuid, struct task_struct *idle) in smp_boot_one_cpu() argument 340 task_thread_info(idle)->cpu = cpuid; in smp_boot_one_cpu() 351 smp_init_current_idle_task = idle ; in smp_boot_one_cpu()
|
/kernel/linux/linux-5.10/arch/mips/netlogic/common/ |
H A D | smp.c | 150 int nlm_boot_secondary(int logical_cpu, struct task_struct *idle) in nlm_boot_secondary() argument 158 nlm_next_sp = (unsigned long)__KSTK_TOS(idle); in nlm_boot_secondary() 159 nlm_next_gp = (unsigned long)task_thread_info(idle); in nlm_boot_secondary()
|
/kernel/linux/linux-5.10/arch/arm/mach-qcom/ |
H A D | platsmp.c | 279 static int msm8660_boot_secondary(unsigned int cpu, struct task_struct *idle) in msm8660_boot_secondary() argument 284 static int kpssv1_boot_secondary(unsigned int cpu, struct task_struct *idle) in kpssv1_boot_secondary() argument 289 static int kpssv2_boot_secondary(unsigned int cpu, struct task_struct *idle) in kpssv2_boot_secondary() argument
|
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H A D | smp.c | 204 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument 208 secondary_idle_tsk = idle; in __cpu_up() 210 pr_info("Idle Task [%d] %p", cpu, idle); in __cpu_up()
|
/kernel/linux/linux-5.10/include/media/ |
H A D | rc-core.h | 100 * @idle: used to keep track of RX state 152 * @s_idle: enable/disable hardware idle mode, upon which, 177 bool idle; member 324 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle); 332 dev->idle = true; in ir_raw_event_reset()
|
/kernel/linux/linux-6.6/include/media/ |
H A D | rc-core.h | 98 * @idle: used to keep track of RX state 148 * @s_idle: enable/disable hardware idle mode, upon which, 173 bool idle; member 319 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle); 327 dev->idle = true; in ir_raw_event_overflow()
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | idle.c | 3 * Generic entry points for the idle threads and 4 * implementation of the idle task scheduling class. 14 * sched_idle_set_state - Record idle state for the current CPU. 85 * default_idle_call - Default CPU idle routine. 120 * The idle task must be scheduled, it is pointless to go to idle, just in call_cpuidle() 121 * update no idle residency and return. in call_cpuidle() 130 * Enter the idle state previously returned by the governor decision. in call_cpuidle() 138 * cpuidle_idle_call - the main idle function 153 * Check if the idle tas in cpuidle_idle_call() 478 DEFINE_SCHED_CLASS(idle) = { global() variable [all...] |
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | via-pmu.c | 125 idle, enumerator 366 pmu_state = idle; in find_via_pmu() 401 pmu_state = idle; in find_via_pmu() 503 } while (pmu_state != idle); in via_pmu_start() 604 while (interrupt_data[0][0] || pmu_state != idle) { in init_pmu() 609 if (pmu_state == idle) in init_pmu() 1181 if (pmu_state == idle) in pmu_queue_request() 1243 /* assert pmu_state == idle */ in pmu_start() 1246 if (!req || pmu_state != idle in pmu_start() 1283 } while (pmu_suspended && (adb_int_pending || pmu_state != idle in pmu_poll_adb() [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | via-pmu.c | 124 idle, enumerator 357 pmu_state = idle; in find_via_pmu() 390 pmu_state = idle; in find_via_pmu() 492 } while (pmu_state != idle); in via_pmu_start() 593 while (interrupt_data[0][0] || pmu_state != idle) { in init_pmu() 598 if (pmu_state == idle) in init_pmu() 1172 if (pmu_state == idle) in pmu_queue_request() 1234 /* assert pmu_state == idle */ in pmu_start() 1237 if (!req || pmu_state != idle in pmu_start() 1274 } while (pmu_suspended && (adb_int_pending || pmu_state != idle in pmu_poll_adb() [all...] |
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | smp.c | 289 secondary_cpu_start(int cpuid, struct task_struct *idle) in secondary_cpu_start() argument 300 ipcb = &task_thread_info(idle)->pcb; in secondary_cpu_start() 304 to the target idle task's pcb. Reuse the stack in the mean in secondary_cpu_start() 320 cpuid, idle->state, ipcb->flags)); in secondary_cpu_start() 360 smp_boot_one_cpu(int cpuid, struct task_struct *idle) in smp_boot_one_cpu() argument 368 if (secondary_cpu_start(cpuid, idle)) in smp_boot_one_cpu()
|
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | smp.c | 289 secondary_cpu_start(int cpuid, struct task_struct *idle) in secondary_cpu_start() argument 300 ipcb = &task_thread_info(idle)->pcb; in secondary_cpu_start() 304 to the target idle task's pcb. Reuse the stack in the mean in secondary_cpu_start() 320 cpuid, idle->state, ipcb->flags)); in secondary_cpu_start() 360 smp_boot_one_cpu(int cpuid, struct task_struct *idle) in smp_boot_one_cpu() argument 368 if (secondary_cpu_start(cpuid, idle)) in smp_boot_one_cpu()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | streamzap.c | 83 bool idle; member 126 if (sz->idle) { in sz_push_full_pulse() 145 sz->idle = false; in sz_push_full_pulse() 244 sz->idle = true; in streamzap_callback() 399 sz->idle = true; in streamzap_probe()
|
/kernel/linux/linux-5.10/drivers/dma/xilinx/ |
H A D | zynqmp_dma.c | 210 * @idle : Channel status; 234 bool idle; member 362 chan->idle = true; in zynqmp_dma_init() 480 chan->idle = true; in zynqmp_dma_alloc_chan_resources() 520 chan->idle = false; in zynqmp_dma_start() 585 if (!chan->idle) in zynqmp_dma_start_transfer() 726 chan->idle = true; in zynqmp_dma_irq_handler() 770 if (chan->idle) in zynqmp_dma_do_tasklet() 933 chan->idle = true; in zynqmp_dma_chan_probe()
|
/kernel/linux/linux-6.6/drivers/dma/xilinx/ |
H A D | zynqmp_dma.c | 208 * @idle : Channel status; 232 bool idle; member 360 chan->idle = true; in zynqmp_dma_init() 477 chan->idle = true; in zynqmp_dma_alloc_chan_resources() 517 chan->idle = false; in zynqmp_dma_start() 582 if (!chan->idle) in zynqmp_dma_start_transfer() 732 chan->idle = true; in zynqmp_dma_irq_handler() 776 if (chan->idle) { in zynqmp_dma_do_tasklet() 945 chan->idle = true; in zynqmp_dma_chan_probe()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | smpboot.c | 957 int common_cpu_up(unsigned int cpu, struct task_struct *idle) in common_cpu_up() argument 964 per_cpu(pcpu_hot.current_task, cpu) = idle; in common_cpu_up() 965 cpu_init_stack_canary(cpu, idle); in common_cpu_up() 974 per_cpu(pcpu_hot.top_of_stack, cpu) = task_top_of_stack(idle); in common_cpu_up() 985 static int do_boot_cpu(int apicid, int cpu, struct task_struct *idle) in do_boot_cpu() argument 995 idle->thread.sp = (unsigned long)task_pt_regs(idle); in do_boot_cpu() 1000 initial_stack = idle->thread.sp; in do_boot_cpu()
|
/kernel/linux/linux-5.10/drivers/soc/rockchip/ |
H A D | pm_domains.c | 88 #define DOMAIN(pwr, status, req, idle, ack, wakeup) \ 93 .idle_mask = (idle), \ 98 #define DOMAIN_M(pwr, status, req, idle, ack, wakeup) \ 105 .idle_mask = (idle), \ 110 #define DOMAIN_RK3036(req, ack, idle, wakeup) \ 115 .idle_mask = (idle), \ 153 bool idle) in rockchip_pmu_set_idle_request() 167 idle ? (pd_info->req_mask | pd_info->req_w_mask) : in rockchip_pmu_set_idle_request() 171 pd_info->req_mask, idle ? -1U : 0); in rockchip_pmu_set_idle_request() 176 target_ack = idle in rockchip_pmu_set_idle_request() 152 rockchip_pmu_set_idle_request(struct rockchip_pm_domain *pd, bool idle) rockchip_pmu_set_idle_request() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-at91/ |
H A D | pm.c | 318 * PM_SUSPEND_ON: cpu idle, and nothing fancy done with main or cpu clocks. 388 * mode if it was enabled before going idle. Restoring low-power mode while 501 void (*idle)(void); member 506 { .idle = at91rm9200_standby, .memctrl = AT91_MEMCTRL_MC}, 507 { .idle = at91sam9_sdram_standby, .memctrl = AT91_MEMCTRL_SDRAMC}, 508 { .idle = at91_ddr_standby, .memctrl = AT91_MEMCTRL_DDRSDR}, 509 { .idle = sama5d3_ddr_standby, .memctrl = AT91_MEMCTRL_DDRSDR}, 539 standby = ramc->idle; in at91_dt_ramc()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | altera-msgdma.c | 178 bool idle; member 492 mdev->idle = true; in msgdma_reset() 521 mdev->idle = false; in msgdma_copy_one() 552 if (!mdev->idle) in msgdma_start_transfer() 664 mdev->idle = true; in msgdma_alloc_chan_resources() 729 /* Start next transfer if the DMA controller is idle */ in msgdma_irq_handler() 731 mdev->idle = true; in msgdma_irq_handler()
|
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/ |
H A D | platsmp.c | 53 static int armada_xp_boot_secondary(unsigned int cpu, struct task_struct *idle) in armada_xp_boot_secondary() argument 84 * for this CPU might be in the deep idle state, preventing this CPU 155 * deep idle sleep state. in armada_xp_cpu_die() 163 * anything, because CPUs going offline can enter the deep idle state 219 static int mv98dx3236_boot_secondary(unsigned int cpu, struct task_struct *idle) in mv98dx3236_boot_secondary() argument
|
/kernel/linux/linux-6.6/arch/hexagon/kernel/ |
H A D | smp.c | 178 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() argument 180 struct thread_info *thread = (struct thread_info *)idle->stack; in __cpu_up()
|
/kernel/linux/linux-6.6/arch/arm/mach-mvebu/ |
H A D | platsmp.c | 50 static int armada_xp_boot_secondary(unsigned int cpu, struct task_struct *idle) in armada_xp_boot_secondary() argument 81 * for this CPU might be in the deep idle state, preventing this CPU 152 * deep idle sleep state. in armada_xp_cpu_die() 160 * anything, because CPUs going offline can enter the deep idle state 216 static int mv98dx3236_boot_secondary(unsigned int cpu, struct task_struct *idle) in mv98dx3236_boot_secondary() argument
|
/kernel/linux/linux-6.6/arch/arm/mach-imx/ |
H A D | platsmp.c | 43 static int imx_boot_secondary(unsigned int cpu, struct task_struct *idle) in imx_boot_secondary() argument 123 static int ls1021a_boot_secondary(unsigned int cpu, struct task_struct *idle) in ls1021a_boot_secondary() argument
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-cache-policy-internal.h | 35 bool idle, struct policy_work **result) in policy_get_background_work() 37 return p->get_background_work(p, idle, result); in policy_get_background_work() 34 policy_get_background_work(struct dm_cache_policy *p, bool idle, struct policy_work **result) policy_get_background_work() argument
|