Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-mpath.c choose_path_in_pg() -> __switch_pg()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 m->current_pgpath 4096-ptr_max
PARAM_VALUE 0 m->nr_valid_paths.counter s32min-(-1),1-s32max
PARAM_VALUE 1 pg 4096-ptr_max
PARAM_VALUE 1 pg->ps.type 4096-ptr_max
BUF_SIZE 0 m (-1),16,40-s32max
BUF_SIZE 0 m (-1),16,40-s32max
DATA_SOURCE 0 m $0
DATA_SOURCE 1 pg $1
PARAM_COMPARE 0 m->current_pg != $1
PARAM_COMPARE 1 pg != $0->current_pg
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &m->lock
HALF_LOCKED2 &md->io_barrier
TYPE_LOCK (struct multipath)->lock