Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 m->current_pg 1-u64max
PARAM_VALUE 0 m->nr_valid_paths.counter s32min-(-1),1-s32max
PARAM_VALUE 1 pg 1-u64max
BUF_SIZE 0 m (-1),16,40-s32max
BUF_SIZE 0 m (-1),16,40-s32max
DATA_SOURCE 0 m $0
DATA_SOURCE 2 nr_bytes $1
NOSPEC 2 nr_bytes
NOSPEC 2 nr_bytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 nr_bytes 0[c]
USER_DATA 2 nr_bytes 0
UNITS 2 nr_bytes unit_byte
HALF_LOCKED2 &md->io_barrier

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

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 m->current_pg 0,4096-ptr_max
PARAM_VALUE 0 m->current_pg->ps.context->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 m->current_pg->ps.type->select_path 4096-ptr_max
PARAM_VALUE 0 m->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 m->next_pg 0
PARAM_VALUE 0 m->nr_valid_paths.counter s32min-(-1),1-s32max
PARAM_VALUE 1 pg 1-u64max
PARAM_VALUE 1 pg->ps.context->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pg->ps.type->select_path 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 2 nr_bytes $1
NOSPEC 2 nr_bytes
NOSPEC 2 nr_bytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 nr_bytes 0[c]
USER_DATA 2 nr_bytes 0
UNITS 2 nr_bytes unit_byte
HALF_LOCKED2 &md->io_barrier

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

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 m->current_pg 0,4096-ptr_max
PARAM_VALUE 0 m->current_pg->ps.context->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 m->current_pg->ps.type->select_path 4096-ptr_max
PARAM_VALUE 0 m->next_pg 0
PARAM_VALUE 0 m->nr_valid_paths.counter s32min-(-1),1-s32max
PARAM_VALUE 1 pg 4096-ptr_max
PARAM_VALUE 1 pg->ps.context->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pg->ps.type->select_path 4096-ptr_max
BUF_SIZE 0 m (-1),16,40-s32max
BUF_SIZE 0 m (-1),16,40-s32max
CAPPED_DATA 0 &m->priority_groups 1
DATA_SOURCE 0 m $0
DATA_SOURCE 2 nr_bytes $1
NOSPEC 2 nr_bytes
NOSPEC 2 nr_bytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 nr_bytes 0[c]
USER_DATA 2 nr_bytes 0
UNITS 2 nr_bytes unit_byte
HALF_LOCKED2 &md->io_barrier