Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/md/dm-raid1.c mirror_ctr() -> get_mirror()

Type Parameter Key Value
PARAM_VALUE 0 ms 4096-ptr_max
PARAM_VALUE 0 ms->default_mirror.counter 0
PARAM_VALUE 0 ms->failures.head 0
PARAM_VALUE 0 ms->failures.tail 0
PARAM_VALUE 0 ms->holds.head 0
PARAM_VALUE 0 ms->holds.tail 0
PARAM_VALUE 0 ms->in_sync 0
PARAM_VALUE 0 ms->io_client 4096-ptr_max
PARAM_VALUE 0 ms->io_client->bios.back_pad 0,64
PARAM_VALUE 0 ms->io_client->bios.bio_pool.alloc 7276475779886346240
PARAM_VALUE 0 ms->io_client->bios.bio_pool.curr_nr 1-s32max
PARAM_VALUE 0 ms->io_client->bios.bio_pool.free 8263660038527102976
PARAM_VALUE 0 ms->io_client->bios.bio_pool.min_nr 1-1024
PARAM_VALUE 0 ms->io_client->bios.bvec_pool.alloc 7276475779886346240
PARAM_VALUE 0 ms->io_client->bios.bvec_pool.curr_nr 1-s32max
PARAM_VALUE 0 ms->io_client->bios.bvec_pool.free 8263660038527102976
PARAM_VALUE 0 ms->io_client->bios.front_pad 0
PARAM_VALUE 0 ms->io_client->bios.rescue_list.head 0
PARAM_VALUE 0 ms->io_client->bios.rescue_list.tail 0
PARAM_VALUE 0 ms->io_client->pool.alloc 7276475779886346240
PARAM_VALUE 0 ms->io_client->pool.curr_nr 1-s32max
PARAM_VALUE 0 ms->io_client->pool.free 8263660038527102976
PARAM_VALUE 0 ms->io_client->pool.min_nr 1-1024
PARAM_VALUE 0 ms->leg_failure 0
PARAM_VALUE 0 ms->log_failure 0
PARAM_VALUE 0 ms->nr_mirrors 2-9
PARAM_VALUE 0 ms->reads.head 0
PARAM_VALUE 0 ms->reads.tail 0
PARAM_VALUE 0 ms->rh 4096-ptr_max
PARAM_VALUE 0 ms->rh->dispatch_bios 4353285339862876160
PARAM_VALUE 0 ms->rh->flush_failure 0
PARAM_VALUE 0 ms->rh->hash_lock.magic 3736018669
PARAM_VALUE 0 ms->rh->hash_lock.owner (-1)
PARAM_VALUE 0 ms->rh->hash_lock.owner_cpu 4294967295
PARAM_VALUE 0 ms->rh->log 4096-ptr_max
PARAM_VALUE 0 ms->rh->log->context s64min-(-4096),4096-s64max
PARAM_VALUE 0 ms->rh->log->flush_callback_fn 3798857139726356480
PARAM_VALUE 0 ms->rh->log->type s64min-(-4096),4096-s64max
PARAM_VALUE 0 ms->rh->mask 63,127,255
PARAM_VALUE 0 ms->rh->max_recovery 1
PARAM_VALUE 0 ms->rh->nr_buckets 64,128,256
PARAM_VALUE 0 ms->rh->prime 2654435387
PARAM_VALUE 0 ms->rh->recovery_in_flight.counter 0
PARAM_VALUE 0 ms->rh->region_pool.alloc 478628002987114496
PARAM_VALUE 0 ms->rh->region_pool.curr_nr 1-s32max
PARAM_VALUE 0 ms->rh->region_pool.free 9178302734063534080
PARAM_VALUE 0 ms->rh->region_pool.min_nr 64
PARAM_VALUE 0 ms->rh->region_pool.pool_data 80
PARAM_VALUE 0 ms->rh->shift 12
PARAM_VALUE 0 ms->rh->wakeup_all_recovery_waiters 8849823551675777024
PARAM_VALUE 0 ms->rh->wakeup_workers 8888506106134781952
PARAM_VALUE 0 ms->suspend.counter 0
PARAM_VALUE 0 ms->ti 4096-ptr_max
PARAM_VALUE 0 ms->ti->error 6178336389065121792
PARAM_VALUE 0 ms->ti->len 1-u64max
PARAM_VALUE 0 ms->ti->table 4096-ptr_max
PARAM_VALUE 0 ms->ti->type 4096-ptr_max
PARAM_VALUE 0 ms->writes.head 0
PARAM_VALUE 0 ms->writes.tail 0
PARAM_VALUE 1 ti 4096-ptr_max
PARAM_VALUE 1 ti->error 6178336389065121792
PARAM_VALUE 1 ti->len 1-u64max
PARAM_VALUE 1 ti->table 4096-ptr_max
PARAM_VALUE 1 ti->table->md->disk->slave_dir->sd->__parent 0
PARAM_VALUE 1 ti->table->md->table_devices_lock.dep_map->name 0-255
PARAM_VALUE 1 ti->table->md->table_devices_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ti->table->md->table_devices_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 ti->table->md->table_devices_lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 1 ti->table->md->table_devices_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 ti->table->md->table_devices_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 ti->table->mode 1,3
PARAM_VALUE 1 ti->table->num_allocated 8-1048576
PARAM_VALUE 1 ti->table->num_targets 0-1048575
PARAM_VALUE 1 ti->table->type 0
PARAM_VALUE 1 ti->type 4096-ptr_max
PARAM_VALUE 1 ti->type->module 0,4096-ptr_max
PARAM_VALUE 1 ti->type->module->refcnt.counter 0-s32max
PARAM_VALUE 1 ti->type->module->state 0-1,3-u32max
PARAM_VALUE 2 mirror 0-8
BUF_SIZE 0 ms 576-856
BUF_SIZE 0 ms 576-856
BUF_SIZE 1 ti->error 14
CAPPED_DATA 0 ms->rh 1
CAPPED_DATA 0 ms->rh->buckets 1
CAPPED_DATA 0 ms->rh->target_begin 1
CAPPED_DATA 0 ms->ti->begin 1
CAPPED_DATA 0 ms->ti->len 1
CAPPED_DATA 1 ti->begin 1
CAPPED_DATA 1 ti->len 1
CAPPED_DATA 1 ti->table->num_targets 1
CAPPED_DATA 1 ti->type 1
CAPPED_DATA 2 mirror 1
DATA_SOURCE 0 ms r alloc_context
DATA_SOURCE 1 ti $0
DATA_SOURCE 3 argv $2 [m]
FUZZY_MAX 2 mirror 8
STR_LEN 0 ms->ti->error 13
STR_LEN 1 ti->error 13
TERMINATED 0 ms->ti->error 1
TERMINATED 1 ti->error 1
HARD_MAX 2 mirror 8
MEM_ZERO 1 ti
NO_OVERFLOW_SIMPLE 0 ms->io_client->bios.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 ms->io_client->bios.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 ms->rh->target_begin
NO_OVERFLOW_SIMPLE 0 ms->ti->begin
NO_OVERFLOW_SIMPLE 0 ms->ti->len
NO_OVERFLOW_SIMPLE 1 ti->begin
NO_OVERFLOW_SIMPLE 1 ti->len
NO_OVERFLOW_SIMPLE 1 ti->table->num_allocated
HALF_LOCKED2 &md->type_lock