/linux/drivers/infiniband/hw/hfi1/ |
A D | affinity.c | 75 cpu = cpumask_first(diff); in cpu_mask_set_get_first() 139 cpumask_first(&node_affinity.proc.mask) in node_affinity_init() 262 ret_cpu = cpumask_first(possible_cpumask); in per_cpu_affinity_get() 298 max_cpu = cpumask_first(possible_cpumask); in per_cpu_affinity_put_max() 351 cpu = cpumask_first(non_intr_cpus); in _dev_comp_vect_cpu_get() 353 cpu = cpumask_first(available_cpus); in _dev_comp_vect_cpu_get() 600 if (cpumask_first(local_mask) >= nr_cpu_ids) in hfi1_dev_affinity_init() 791 int cpu = cpumask_first(mask); in hfi1_irq_notifier_notify() 976 curr_cpu = cpumask_first(hw_thread_mask); in find_hw_thread_mask() 1017 cpu = cpumask_first(proc_mask); in hfi1_get_proc_affinity() [all …]
|
/linux/drivers/clocksource/ |
A D | dw_apb_timer.c | 127 cpumask_first(evt->cpumask)); in apbt_shutdown() 141 cpumask_first(evt->cpumask)); in apbt_set_oneshot() 174 cpumask_first(evt->cpumask)); in apbt_set_periodic() 198 cpumask_first(evt->cpumask)); in apbt_resume()
|
A D | mips-gic-timer.c | 59 int cpu = cpumask_first(evt->cpumask); in gic_next_event()
|
/linux/arch/sparc/kernel/ |
A D | time_32.c | 188 int cpu = cpumask_first(evt->cpumask); in percpu_ce_shutdown() 196 int cpu = cpumask_first(evt->cpumask); in percpu_ce_set_periodic() 205 int cpu = cpumask_first(evt->cpumask); in percpu_ce_set_next_event()
|
A D | cpumap.c | 204 prev_cpu = cpu = cpumask_first(cpu_online_mask); in build_cpuinfo_tree() 391 return cpumask_first(cpu_online_mask); in simple_map_to_cpu()
|
/linux/drivers/cpuidle/ |
A D | dt_idle_states.c | 111 for (cpu = cpumask_next(cpumask_first(cpumask), cpumask); in idle_state_valid() 169 cpu_node = of_cpu_device_node_get(cpumask_first(cpumask)); in dt_init_idle_driver()
|
/linux/include/linux/ |
A D | cpumask.h | 121 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() function 175 return cpumask_first(srcp); in cpumask_any_distribute() 193 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() function 586 #define cpumask_any(srcp) cpumask_first(srcp)
|
A D | energy_model.h | 193 cpu = cpumask_first(to_cpumask(pd->cpus)); in em_cpu_energy()
|
/linux/kernel/power/ |
A D | poweroff.c | 29 schedule_work_on(cpumask_first(cpu_online_mask), &poweroff_work); in handle_poweroff()
|
/linux/kernel/irq/ |
A D | ipi.c | 64 offset = cpumask_first(dest); in irq_reserve_ipi() 142 irq = irq + cpumask_first(dest) - data->common->ipi_offset; in irq_destroy_ipi()
|
/linux/arch/s390/kernel/ |
A D | processor.c | 346 unsigned long first = cpumask_first(cpu_online_mask); in show_cpuinfo() 362 *pos = cpumask_first(cpu_online_mask); in c_update()
|
/linux/block/ |
A D | blk-mq-cpumap.c | 28 ret = cpumask_first(topology_sibling_cpumask(cpu)); in get_first_sibling()
|
/linux/arch/x86/platform/uv/ |
A D | uv_time.c | 294 int ced_cpu = cpumask_first(ced->cpumask); in uv_rtc_next_event() 304 int ced_cpu = cpumask_first(evt->cpumask); in uv_rtc_shutdown()
|
/linux/arch/powerpc/kernel/ |
A D | rtasd.c | 437 cpu = cpumask_first(cpu_online_mask); in rtas_event_scan() 490 schedule_delayed_work_on(cpumask_first(cpu_online_mask), in start_event_scan()
|
A D | cacheinfo.c | 467 return cpumask_first(per_cpu(thread_group_l1_cache_map, in get_group_id() 470 return cpumask_first(per_cpu(thread_group_l2_cache_map, in get_group_id() 473 return cpumask_first(per_cpu(thread_group_l3_cache_map, in get_group_id()
|
/linux/arch/ia64/kernel/ |
A D | irq.c | 141 time_keeper_id = cpumask_first(cpu_online_mask); in fixup_irqs()
|
/linux/kernel/sched/ |
A D | topology.c | 294 cpumask_first(perf_domain_span(pd)), in perf_domain_debug() 356 int cpu = cpumask_first(cpu_map); in build_perf_domains() 662 id = cpumask_first(sched_domain_span(sd)); in update_top_cache_domain() 768 return cpumask_first(group_balance_mask(sg)); in group_balance_cpu() 947 cpu = cpumask_first(mask); in init_overlap_sched_group() 1165 cpu = cpumask_first(sched_domain_span(child)); in get_group() 1579 sd_id = cpumask_first(sd_span); in sd_init() 2499 cpu_rq(cpumask_first(doms_cur[j]))->rd->pd) { in partition_sched_domains_locked()
|
/linux/drivers/irqchip/ |
A D | irq-ls-scfg-msi.c | 97 msg->data |= cpumask_first(mask); in ls_scfg_msi_compose_msg() 115 cpu = cpumask_first(mask); in ls_scfg_msi_set_affinity()
|
/linux/drivers/thermal/ |
A D | cpuidle_cooling.c | 201 dev = get_cpu_device(cpumask_first(drv->cpumask)); in __cpuidle_cooling_register()
|
/linux/drivers/thermal/intel/int340x_thermal/ |
A D | processor_thermal_rapl.c | 50 lead_cpu = cpumask_first(&rp->cpumask); in rapl_mmio_cpu_down_prep()
|
/linux/arch/s390/pci/ |
A D | pci_irq.c | 138 int cpu_addr = smp_cpu_get_cpu_address(cpumask_first(dest)); in zpci_set_irq_affinity() 323 cpu = cpumask_first(&msi->affinity->mask); in arch_setup_msi_irqs()
|
/linux/lib/ |
A D | cpumask.c | 274 next = cpumask_first(srcp); in cpumask_any_distribute()
|
/linux/arch/mips/sgi-ip27/ |
A D | ip27-nmi.c | 217 cpu = cpumask_first(cpumask_of_node(node)); in cont_nmi_dump()
|
/linux/drivers/powercap/ |
A D | intel_rapl_msr.c | 91 lead_cpu = cpumask_first(&rp->cpumask); in rapl_cpu_down_prep()
|
/linux/arch/x86/kernel/cpu/microcode/ |
A D | core.c | 551 if (cpumask_first(topology_sibling_cpumask(cpu)) == cpu) in __reload_late() 573 if (cpumask_first(topology_sibling_cpumask(cpu)) != cpu) in __reload_late()
|