Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/cpuidle/
H A 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()
/openbmc/u-boot/include/
H A Dcommon.h319 static inline int cpumask_next(int cpu, unsigned int mask) in cpumask_next() function
328 for (iter = 0, cpu = cpumask_next(-1, mask); \
330 iter++, cpu = cpumask_next(cpu, mask)) \
/openbmc/linux/lib/
H A 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()
H A Dcpumask.c27 next = cpumask_next(n, mask); in cpumask_next_wrap()
H A Dgroup_cpus.c34 sibl = cpumask_next(sibl, siblmsk); in grp_spread_init_one()
/openbmc/linux/drivers/net/wireguard/
H A Dqueueing.h114 cpu = cpumask_next(cpu, cpu_online_mask); in wg_cpumask_choose_online()
127 int cpu = cpumask_next(READ_ONCE(*last_cpu), cpu_online_mask); in wg_cpumask_next_online()
/openbmc/linux/kernel/
H A Dwatchdog_buddy.c15 next_cpu = cpumask_next(cpu, &watchdog_cpus); in watchdog_next_cpu()
H A 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()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A 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()
/openbmc/linux/kernel/rcu/
H A Drcu.h411 (cpu) = cpumask_next((rnp)->grplo - 1, cpu_possible_mask); \
413 (cpu) = cpumask_next((cpu), cpu_possible_mask))
/openbmc/linux/arch/x86/kernel/cpu/
H A Dproc.c158 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
/openbmc/linux/kernel/sched/
H A Dstats.c186 n = cpumask_next(n - 1, cpu_online_mask); in schedstat_start()
/openbmc/linux/arch/powerpc/kernel/
H A 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()
H A Dirq.c374 irq_rover = cpumask_next(irq_rover, cpu_online_mask); in irq_choose_cpu()
H A Drtasd.c435 cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in rtas_event_scan()
/openbmc/linux/kernel/time/
H A Dclocksource.c306 cpu = cpumask_next(cpu, cpu_online_mask); in clocksource_verify_choose_cpus()
324 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()
H A Dtimer_list.c304 iter->cpu = cpumask_next(iter->cpu, cpu_online_mask); in move_iter()
/openbmc/linux/kernel/irq/
H A Dipi.c71 next = cpumask_next(next, dest); in irq_reserve_ipi()
/openbmc/linux/arch/x86/kernel/
H A Dtsc_sync.c101 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in tsc_sync_check_timer_fn()
/openbmc/linux/arch/riscv/kernel/
H A Dcpu.c287 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
/openbmc/linux/arch/s390/kernel/
H A Dprocessor.c338 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_update()
/openbmc/linux/arch/openrisc/kernel/
H A Dsetup.c356 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
/openbmc/linux/crypto/
H A Dpcrypt.c192 ctx->cb_cpu = cpumask_next(ctx->cb_cpu, cpu_online_mask); in pcrypt_aead_init_tfm()
/openbmc/linux/fs/
H A 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()
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c185 i++, cpu = cpumask_next(cpu, tx_cpumask)) { in siw_get_tx_cpu()

123