Home
last modified time | relevance | path

Searched refs:cpumask_next (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.6.21/drivers/cpuidle/
Ddt_idle_states.c110 for (cpu = cpumask_next(cpumask_first(cpumask), cpumask); in idle_state_valid()
111 cpu < nr_cpu_ids; cpu = cpumask_next(cpu, cpumask)) { in idle_state_valid()
/linux-6.6.21/lib/
Dcpumask_kunit.c97 KUNIT_EXPECT_LE_MSG(test, nr_cpu_ids, cpumask_next(-1, &mask_empty), in test_cpumask_next()
99 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_next(-1, cpu_possible_mask), in test_cpumask_next()
Dcpumask.c27 next = cpumask_next(n, mask); in cpumask_next_wrap()
Dgroup_cpus.c34 sibl = cpumask_next(sibl, siblmsk); in grp_spread_init_one()
/linux-6.6.21/drivers/net/wireguard/
Dqueueing.h114 cpu = cpumask_next(cpu, cpu_online_mask); in wg_cpumask_choose_online()
127 int cpu = cpumask_next(*last_cpu, cpu_online_mask); in wg_cpumask_next_online()
/linux-6.6.21/kernel/
Dwatchdog_buddy.c15 next_cpu = cpumask_next(cpu, &watchdog_cpus); in watchdog_next_cpu()
Dpadata.c56 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
200 cpu = cpumask_next(cpu, pd->cpumask.cbcpu); in padata_do_parallel()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Daffinity.c115 curr_cpu = cpumask_next(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
122 curr_cpu = cpumask_next(curr_cpu, &node_affinity.real_cpu_mask); in init_real_cpu_mask()
643 curr_cpu = cpumask_next(curr_cpu, in hfi1_dev_affinity_init()
658 curr_cpu = cpumask_next(curr_cpu, in hfi1_dev_affinity_init()
979 curr_cpu = cpumask_next(curr_cpu, hw_thread_mask); in find_hw_thread_mask()
983 curr_cpu = cpumask_next(curr_cpu, hw_thread_mask); in find_hw_thread_mask()
/linux-6.6.21/kernel/rcu/
Drcu.h404 (cpu) = cpumask_next((rnp)->grplo - 1, cpu_possible_mask); \
406 (cpu) = cpumask_next((cpu), cpu_possible_mask))
/linux-6.6.21/arch/x86/kernel/cpu/
Dproc.c158 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
/linux-6.6.21/kernel/sched/
Dstats.c196 n = cpumask_next(n - 1, cpu_online_mask); in schedstat_start()
/linux-6.6.21/arch/riscv/kernel/
Dcpu.c255 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
/linux-6.6.21/arch/powerpc/kernel/
Dsetup-common.c340 if (cpumask_next(cpu_id, cpu_online_mask) >= nr_cpu_ids) in show_cpuinfo()
351 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
Dirq.c374 irq_rover = cpumask_next(irq_rover, cpu_online_mask); in irq_choose_cpu()
Drtasd.c435 cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in rtas_event_scan()
/linux-6.6.21/kernel/irq/
Dipi.c71 next = cpumask_next(next, dest); in irq_reserve_ipi()
/linux-6.6.21/arch/x86/kernel/
Dtsc_sync.c101 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in tsc_sync_check_timer_fn()
/linux-6.6.21/kernel/time/
Dclocksource.c301 cpu = cpumask_next(cpu, cpu_online_mask); in clocksource_verify_choose_cpus()
319 cpu = cpumask_next(cpu - 1, cpu_online_mask); in clocksource_verify_choose_cpus()
567 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in clocksource_watchdog()
Dtimer_list.c304 iter->cpu = cpumask_next(iter->cpu, cpu_online_mask); in move_iter()
/linux-6.6.21/arch/s390/kernel/
Dprocessor.c338 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_update()
/linux-6.6.21/arch/openrisc/kernel/
Dsetup.c356 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
/linux-6.6.21/crypto/
Dpcrypt.c188 ctx->cb_cpu = cpumask_next(ctx->cb_cpu, cpu_online_mask); in pcrypt_aead_init_tfm()
/linux-6.6.21/fs/
Dseq_file.c1136 for (*cpu = cpumask_next(*cpu, cpu_possible_mask); *cpu < nr_cpu_ids; in seq_hlist_next_percpu()
1137 *cpu = cpumask_next(*cpu, cpu_possible_mask)) { in seq_hlist_next_percpu()
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_main.c185 i++, cpu = cpumask_next(cpu, tx_cpumask)) { in siw_get_tx_cpu()
/linux-6.6.21/net/openvswitch/
Dflow.c140 cpu = cpumask_next(cpu, flow->cpu_used_mask)) { in ovs_flow_stats_get()
165 cpu = cpumask_next(cpu, flow->cpu_used_mask)) { in ovs_flow_stats_clear()

123