Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-vdo/dm-vdo-target.c advance_phase() -> get_thread_id_for_phase()

Type Parameter Key Value
PARAM_VALUE 0 vdo 4096-ptr_max
DATA_SOURCE 0 vdo $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 vdo->geometry.index_config.mem
NO_OVERFLOW_SIMPLE 0 vdo->states.vdo.config.physical_blocks
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.bio_thread_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.hash_zone_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.logical_zone_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.physical_zone_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.thread_count

drivers/md/dm-vdo/dm-vdo-target.c assert_admin_phase_thread() -> get_thread_id_for_phase()

Type Parameter Key Value
DATA_SOURCE 0 vdo $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 vdo->geometry.index_config.mem
NO_OVERFLOW_SIMPLE 0 vdo->states.vdo.config.physical_blocks
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.bio_thread_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.hash_zone_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.logical_zone_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.physical_zone_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.thread_count

drivers/md/dm-vdo/dm-vdo-target.c prepare_admin_completion() -> get_thread_id_for_phase()

Type Parameter Key Value
PARAM_VALUE 0 vdo 4096-ptr_max
PARAM_VALUE 0 vdo->admin.phase 0,4,10,19,27-28,39
BUF_SIZE 0 vdo->device_config (-1),16,40-s32max
DATA_SOURCE 0 vdo $0
STR_LEN 0 vdo 4,6-8,12-13,21
STR_LEN 0 vdo 4,6-8,12-13,21
NO_OVERFLOW_SIMPLE 0 vdo->block_map->next_forest->segments
NO_OVERFLOW_SIMPLE 0 vdo->block_map->root_count
NO_OVERFLOW_SIMPLE 0 vdo->geometry.index_config.mem
NO_OVERFLOW_SIMPLE 0 vdo->states.vdo.config.physical_blocks
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.bio_thread_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.hash_zone_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.logical_zone_count
NO_OVERFLOW_SIMPLE 0 vdo->thread_config.physical_zone_count
HALF_LOCKED2 &md->suspend_lock