Home
last modified time | relevance | path

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

123

/linux-5.19.10/lib/
Dcpumask.c17 unsigned int cpumask_next(int n, const struct cpumask *srcp) in cpumask_next() function
24 EXPORT_SYMBOL(cpumask_next);
82 next = cpumask_next(n, mask); in cpumask_next_wrap()
272 next = cpumask_next(prev, srcp); in cpumask_any_distribute()
/linux-5.19.10/kernel/bpf/
Dpercpu_freelist.c71 cpu = cpumask_next(cpu, cpu_possible_mask); in ___pcpu_freelist_push_nmi()
141 cpu = cpumask_next(cpu, cpu_possible_mask); in ___pcpu_freelist_pop()
176 cpu = cpumask_next(cpu, cpu_possible_mask); in ___pcpu_freelist_pop_nmi()
/linux-5.19.10/drivers/net/wireguard/
Dqueueing.h114 cpu = cpumask_next(cpu, cpu_online_mask); in wg_cpumask_choose_online()
132 cpu = cpumask_next(cpu, cpu_online_mask) % nr_cpumask_bits; in wg_cpumask_next_online()
133 *next = cpumask_next(cpu, cpu_online_mask) % nr_cpumask_bits; in wg_cpumask_next_online()
/linux-5.19.10/drivers/cpuidle/
Ddt_idle_states.c111 for (cpu = cpumask_next(cpumask_first(cpumask), cpumask); in idle_state_valid()
112 cpu < nr_cpu_ids; cpu = cpumask_next(cpu, cpumask)) { in idle_state_valid()
/linux-5.19.10/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-5.19.10/kernel/rcu/
Drcu.h352 (cpu) = cpumask_next((rnp)->grplo - 1, cpu_possible_mask); \
354 (cpu) = cpumask_next((cpu), cpu_possible_mask))
/linux-5.19.10/include/linux/
Dcpumask.h143 static inline unsigned int cpumask_next(int n, const struct cpumask *srcp) in cpumask_next() function
244 unsigned int __pure cpumask_next(int n, const struct cpumask *srcp);
277 (cpu) = cpumask_next((cpu), (mask)), \
/linux-5.19.10/arch/riscv/kernel/
Dcpu.c161 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
/linux-5.19.10/arch/x86/kernel/cpu/
Dproc.c156 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
/linux-5.19.10/arch/powerpc/kernel/
Dsetup-common.c325 if (cpumask_next(cpu_id, cpu_online_mask) >= nr_cpu_ids) in show_cpuinfo()
336 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
Drtasd.c434 cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in rtas_event_scan()
Dirq.c776 irq_rover = cpumask_next(irq_rover, cpu_online_mask); in irq_choose_cpu()
/linux-5.19.10/kernel/sched/
Dstats.c196 n = cpumask_next(n - 1, cpu_online_mask); in schedstat_start()
/linux-5.19.10/kernel/time/
Dclocksource.c296 cpu = cpumask_next(cpu, cpu_online_mask); in clocksource_verify_choose_cpus()
314 cpu = cpumask_next(cpu - 1, cpu_online_mask); in clocksource_verify_choose_cpus()
506 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-5.19.10/kernel/irq/
Dipi.c71 next = cpumask_next(next, dest); in irq_reserve_ipi()
Daffinity.c32 sibl = cpumask_next(sibl, siblmsk); in irq_spread_init_one()
/linux-5.19.10/arch/x86/kernel/
Dtsc_sync.c100 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in tsc_sync_check_timer_fn()
/linux-5.19.10/arch/s390/kernel/
Dprocessor.c348 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_update()
/linux-5.19.10/arch/openrisc/kernel/
Dsetup.c371 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_start()
/linux-5.19.10/crypto/
Dpcrypt.c184 ctx->cb_cpu = cpumask_next(ctx->cb_cpu, cpu_online_mask); in pcrypt_aead_init_tfm()
/linux-5.19.10/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-5.19.10/kernel/
Dpadata.c56 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
192 cpu = cpumask_next(cpu, pd->cpumask.cbcpu); in padata_do_parallel()
/linux-5.19.10/drivers/thermal/intel/
Dintel_powerclamp.c589 control_cpu = cpumask_next(cpu, cpu_online_mask); in powerclamp_cpu_predown()
/linux-5.19.10/drivers/infiniband/sw/siw/
Dsiw_main.c209 i++, cpu = cpumask_next(cpu, tx_cpumask)) { in siw_get_tx_cpu()

123