Defined in 2 files as a function:
- include/linux/cpumask.h, line 1066 (as a function)
- include/linux/cpumask.h, line 1113 (as a function)
Referenced in 15 files:
- arch/arm64/kernel/topology.c
- arch/x86/mm/mmio-mod.c
- arch/x86/mm/numa.c
- drivers/base/cpu.c, line 321
- drivers/net/ethernet/cisco/enic/enic_main.c
- drivers/net/ethernet/mellanox/mlx4/eq.c, line 243
- drivers/thermal/intel/intel_powerclamp.c
- kernel/irq/irqdesc.c, line 43
- kernel/locking/locktorture.c, line 98
- kernel/rcu/tasks.h
- kernel/rcu/tree_nocb.h
- kernel/sched/core.c, line 3290
- kernel/sched/debug.c
- kernel/trace/trace.c
- mm/arch_numa.c, line 356
Smatch caller information:
kernel/rcu/tree.c lazy_rcu_shrink_count() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock |
kernel/rcu/tree.c lazy_rcu_shrink_scan() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &bch_register_lock |
kernel/rcu/tree.c rcu_bind_current_to_nocb() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|
kernel/rcu/tree.c rcu_init_nohz() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | irq |
kernel/rcu/tree.c rcu_organize_nocb_kthreads() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|
kernel/locking/locktorture.c cpumask_nonempty() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mask | $0 |
| HALF_LOCKED2 | global &fullstop_mutex |
kernel/sched/build_utility.c dirty_sched_domain_sysctl() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &sched_domains_mutex | ||
| LOCK2 | rcu_read |
kernel/sched/build_utility.c update_sched_domain_debugfs() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &sched_domains_mutex |
arch/x86/mm/numa.c cpumask_of_node() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &affinity->lock | ||
| HALF_LOCKED2 | &ioc->reset_in_progress_mutex | ||
| HALF_LOCKED2 | &mask_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &qp->s_lock | ||
| HALF_LOCKED2 | &stor_device->lock | ||
| HALF_LOCKED2 | &wq->mutex | ||
| HALF_LOCKED2 | &wq->wq_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &iaa_devices_lock | ||
| HALF_LOCKED2 | global &vector_lock | ||
| HALF_LOCKED2 | global &vmbus_connection.channel_mutex | ||
| HALF_LOCKED2 | irq_flags | ||
| HALF_LOCKED2 | ps.flags | ||
| HALF_LOCKED2 | rcu_read |
arch/x86/mm/numa.c debug_cpumask_set_cpu() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &vector_lock |
kernel/trace/trace.c test_cpu_buff_start() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iter->mutex | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &all_cpu_access_lock | ||
| HALF_LOCKED2 | global &trace_event_sem |
kernel/trace/trace.c test_cpu_buff_start() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iter->mutex | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &all_cpu_access_lock | ||
| HALF_LOCKED2 | global &trace_event_sem |
drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_set_eq_affinity_hint() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->msix_ctl.pool_lock | ||
| TYPE_LOCK | (struct mlx4_msix_ctl)->pool_lock |
arch/x86/mm/mmio-mod.c enter_uniprocessor() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &mmiotrace_mutex | ||
| HALF_LOCKED2 | _T->lock |
arch/x86/mm/mmio-mod.c leave_uniprocessor() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mmiotrace_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/thermal/intel/intel_powerclamp.c allocate_copy_idle_injection_mask() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &powerclamp_lock |
drivers/thermal/intel/intel_powerclamp.c cpumask_get() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/thermal/intel/intel_powerclamp.c max_idle_set() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &powerclamp_lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/thermal/intel/intel_powerclamp.c powerclamp_exit() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|
drivers/thermal/intel/intel_powerclamp.c powerclamp_init() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &powerclamp_lock |
kernel/rcu/update.c rcu_tasks_torture_stats_print_generic() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|
kernel/rcu/update.c rcu_tasks_torture_stats_print_generic() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|
kernel/irq/irqdesc.c init_irq_default_affinity() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|
drivers/net/ethernet/cisco/enic/enic_main.c enic_init_affinity_hint() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/cisco/enic/enic_main.c enic_set_affinity_hint() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/cisco/enic/enic_main.c enic_set_affinity_hint() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
kernel/sched/core.c force_compatible_cpus_allowed_ptr() -> cpumask_available()
| Type | Parameter | Key | Value |
|---|