Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-switch.c process_set_region_mappings() -> switch_region_table_read()

Type Parameter Key Value
PARAM_VALUE 0 sctx 4096-ptr_max
BUF_SIZE 0 sctx 16,40-s32max
BUF_SIZE 0 sctx 16,40-s32max
DATA_SOURCE 0 sctx $0
LOCK2 &md->io_barrier
LOCK2 &message_mutex
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-switch.c switch_get_path_nr() -> switch_region_table_read()

Type Parameter Key Value
PARAM_VALUE 0 sctx 4096-ptr_max
BUF_SIZE 0 sctx 16,40-s32max
BUF_SIZE 0 sctx 16,40-s32max
DATA_SOURCE 0 sctx $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 region_nr unit_byte
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier