Defined in 1 files as a function:

Referenced in 15 files:

Smatch caller information:

kernel/watchdog_buddy.c watchdog_next_cpu() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0-s32max
PARAM_VALUE 1 src 7852615563614203904
DATA_SOURCE 0 n $0
STR_LEN 0 n (-1),8-9,11-29,31-34,38
RX_PATH
TASK_NOT_RUNNING

kernel/rcu/rcutorture.c rcu_torture_preempt() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n (-1)-64
PARAM_VALUE 1 src 7398857465241333760
CAPPED_DATA 0 n 1

drivers/pci/controller/pci-hyperv.c hv_compose_multi_msi_req_get_cpu() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n (-1)
PARAM_VALUE 1 src 7398857465241333760
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &multi_msi_cpu_lock
LOCK2 flags
HALF_LOCKED2 &_T->lock->msi.data->mutex

kernel/time/clocksource.c watchdog_check_cpu_skew() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0-64
PARAM_VALUE 1 src 7398857465241333760
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &watchdog_lock

drivers/scsi/lpfc/lpfc_init.c lpfc_irq_rebalance() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0-s32max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 1 src->bits 4096-ptr_max
BUF_SIZE 1 src 1024
DATA_SOURCE 0 n $1

drivers/scsi/lpfc/lpfc_init.c lpfc_next_present_cpu() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 1 src 2588398703430053888
DATA_SOURCE 0 n $0

drivers/scsi/lpfc/lpfc_nvmet.c lpfc_next_present_cpu() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0-64
PARAM_VALUE 1 src 2588398703430053888
CAPPED_DATA 0 n 1
DATA_SOURCE 0 n $0

kernel/padata.c padata_reorder() -> cpumask_next_wrap()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

lib/cpumask.c cpumask_any_distribute() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0-8192
DATA_SOURCE 1 src $0
RX_PATH
TASK_NOT_RUNNING

kernel/trace/trace_hwlat.c move_to_next_cpu() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0
PARAM_VALUE 1 src 1749583287272218624
BUF_SIZE 1 src 1024

kernel/rcu/hazptrtorture.c hazptr_torture_defer() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0-8192
PARAM_VALUE 1 src 7398857465241333760
CAPPED_DATA 0 n 1
PREEMPT_ADD <- disables preempt

kernel/rcu/hazptrtorture.c hazptr_torture_do_pending() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0-64
PARAM_VALUE 1 src 4096-ptr_max
CAPPED_DATA 0 n 1
FUZZY_MAX 0 n 0

kernel/rcu/hazptrtorture.c hazptr_torture_reader() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0-64
PARAM_VALUE 1 src 7398857465241333760
CAPPED_DATA 0 n 1
FUZZY_MAX 0 n 0
PREEMPT_ADD <- disables preempt

kernel/rcu/hazptrtorture.c hazptr_torture_reader_tail() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0
PARAM_VALUE 1 src 7398857465241333760
PREEMPT_ADD <- disables preempt

kernel/bpf/bpf_lru_list.c bpf_common_lru_pop_free() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 0 n 0-u16max
PARAM_VALUE 1 src 4709586496055410688
CAPPED_DATA 0 n 1

drivers/crypto/caam/qi.c caam_drv_ctx_init() -> cpumask_next_wrap()

Type Parameter Key Value
PARAM_VALUE 1 src 4223232366024167424
PARAM_VALUE 1 src->bits 4096-ptr_max
BUF_SIZE 1 src 1024
DATA_SOURCE 1 src r qman_affine_cpus
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ctx->lock
TYPE_LOCK (struct caam_ctx)->lock