Defined in 4 files as a function:
- drivers/md/dm-cache-target.c, line 2186 (as a function)
- drivers/md/dm-flakey.c, line 54 (as a function)
- drivers/md/dm-mpath.c, line 1111 (as a function)
- drivers/md/dm-raid1.c, line 1021 (as a function)
Referenced in 4 files:
- drivers/md/dm-cache-target.c, line 2291
- drivers/md/dm-flakey.c, line 316
- drivers/md/dm-mpath.c, line 1206
- drivers/md/dm-raid1.c, line 1151
Smatch caller information:
drivers/md/dm-cache-target.c parse_cache_args() -> parse_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 4096-ptr_max |
| PARAM_VALUE | 0 | as->block_size | 64-2097152 |
| PARAM_VALUE | 0 | as->cache_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | as->cache_sectors | 64-u64max |
| PARAM_VALUE | 0 | as->metadata_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | as->origin_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | as->ti | 4096-ptr_max |
| PARAM_VALUE | 0 | as->ti->error | 6178336389065121792 |
| PARAM_VALUE | 0 | as->ti->len | 1-u64max |
| PARAM_VALUE | 0 | as->ti->table | 4096-ptr_max |
| PARAM_VALUE | 0 | as->ti->table->md->disk->slave_dir->sd->count.counter | s32min-s32max |
| PARAM_VALUE | 0 | as->ti->table->md->table_devices_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | as->ti->table->md->table_devices_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | as->ti->table->md->table_devices_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | as->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | as->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | as->ti->table->md->table_devices_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | as->ti->table->md->table_devices_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | as->ti->type | 4096-ptr_max |
| PARAM_VALUE | 1 | fc | 8270673444827496448 |
| PARAM_VALUE | 1 | fc->argv | 4097-18446744073709547521 |
| PARAM_VALUE | 2 | ti | 4096-ptr_max |
| PARAM_VALUE | 2 | *ti | 6178336389065121792 |
| PARAM_VALUE | 2 | *(*ti) | 0 |
| PARAM_VALUE | 2 | **ti | 0-255 |
| BUF_SIZE | 0 | as | 88 |
| CAPPED_DATA | 0 | as->cache_sectors | 1 |
| CAPPED_DATA | 0 | as->ti->begin | 1 |
| CAPPED_DATA | 0 | as->ti->table->md->disk | 1 |
| DATA_SOURCE | 0 | as | $0 |
| DATA_SOURCE | 2 | ti | $3 |
| STR_LEN | 0 | as->ti->error | 13 |
| TERMINATED | 0 | as->ti->error | 1 |
| TERMINATED | 2 | *ti | 1 |
| MEM_ZERO | 2 | ti | |
| NO_OVERFLOW_SIMPLE | 0 | as->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | as->ti->begin | |
| NO_OVERFLOW_SIMPLE | 0 | as->ti->len | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-mpath.c multipath_ctr() -> parse_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 2980714896391716864 |
| PARAM_VALUE | 0 | as->argc | 0-s32max |
| PARAM_VALUE | 0 | as->argv | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | fc | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->nopath_timer.entry.pprev | 0 |
| PARAM_VALUE | 1 | fc->nopath_timer.flags | 0-4194302 |
| PARAM_VALUE | 1 | fc->nopath_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | fc->nr_valid_paths.counter | 0 |
| PARAM_VALUE | 1 | fc->pg_init_delay_msecs | u32max |
| PARAM_VALUE | 1 | fc->priority_groups.next | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->priority_groups.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->priority_groups.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->priority_groups.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->priority_groups.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->queue_mode | 0 |
| PARAM_VALUE | 1 | fc->ti | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->ti->error | 6178336389065121792 |
| PARAM_VALUE | 1 | fc->ti->len | 1-u64max |
| PARAM_VALUE | 1 | fc->ti->table | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->ti->type | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->work_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | fc->work_mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | fc->work_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | fc->work_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | fc->work_mutex.owner.counter | 0 |
| BUF_SIZE | 1 | fc | 776 |
| CAPPED_DATA | 1 | fc->ti->begin | 1 |
| DATA_SOURCE | 1 | fc | r alloc_multipath |
| STR_LEN | 1 | fc->ti->error | 13 |
| TERMINATED | 1 | fc->ti->error | 1 |
| NO_OVERFLOW_SIMPLE | 1 | fc->ti->begin | |
| NO_OVERFLOW_SIMPLE | 1 | fc->ti->len | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-raid1.c mirror_ctr() -> parse_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 4096-ptr_max |
| PARAM_VALUE | 0 | as->default_mirror.counter | 0 |
| PARAM_VALUE | 0 | as->failures.head | 0 |
| PARAM_VALUE | 0 | as->failures.tail | 0 |
| PARAM_VALUE | 0 | as->holds.head | 0 |
| PARAM_VALUE | 0 | as->holds.tail | 0 |
| PARAM_VALUE | 0 | as->in_sync | 0 |
| PARAM_VALUE | 0 | as->io_client | 4096-ptr_max |
| PARAM_VALUE | 0 | as->io_client->bios.back_pad | 0,64 |
| PARAM_VALUE | 0 | as->io_client->bios.bio_pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | as->io_client->bios.bio_pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | as->io_client->bios.bio_pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | as->io_client->bios.bio_pool.min_nr | 1-1024 |
| PARAM_VALUE | 0 | as->io_client->bios.bvec_pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | as->io_client->bios.bvec_pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | as->io_client->bios.bvec_pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | as->io_client->bios.front_pad | 0 |
| PARAM_VALUE | 0 | as->io_client->bios.rescue_list.head | 0 |
| PARAM_VALUE | 0 | as->io_client->bios.rescue_list.tail | 0 |
| PARAM_VALUE | 0 | as->io_client->pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | as->io_client->pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | as->io_client->pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | as->io_client->pool.min_nr | 1-1024 |
| PARAM_VALUE | 0 | as->kmirrord_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | as->leg_failure | 0 |
| PARAM_VALUE | 0 | as->log_failure | 0 |
| PARAM_VALUE | 0 | as->nr_mirrors | 2-9 |
| PARAM_VALUE | 0 | as->reads.head | 0 |
| PARAM_VALUE | 0 | as->reads.tail | 0 |
| PARAM_VALUE | 0 | as->rh | 4096-ptr_max |
| PARAM_VALUE | 0 | as->rh->dispatch_bios | 4353285339862876160 |
| PARAM_VALUE | 0 | as->rh->flush_failure | 0 |
| PARAM_VALUE | 0 | as->rh->hash_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | as->rh->hash_lock.owner | (-1) |
| PARAM_VALUE | 0 | as->rh->hash_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | as->rh->log | 4096-ptr_max |
| PARAM_VALUE | 0 | as->rh->log->context | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | as->rh->log->flush_callback_fn | 3798857139726356480 |
| PARAM_VALUE | 0 | as->rh->log->type | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | as->rh->mask | 63,127,255 |
| PARAM_VALUE | 0 | as->rh->max_recovery | 1 |
| PARAM_VALUE | 0 | as->rh->nr_buckets | 64,128,256 |
| PARAM_VALUE | 0 | as->rh->prime | 2654435387 |
| PARAM_VALUE | 0 | as->rh->recovery_in_flight.counter | 0 |
| PARAM_VALUE | 0 | as->rh->region_pool.alloc | 478628002987114496 |
| PARAM_VALUE | 0 | as->rh->region_pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | as->rh->region_pool.free | 9178302734063534080 |
| PARAM_VALUE | 0 | as->rh->region_pool.min_nr | 64 |
| PARAM_VALUE | 0 | as->rh->region_pool.pool_data | 80 |
| PARAM_VALUE | 0 | as->rh->shift | 12 |
| PARAM_VALUE | 0 | as->rh->wakeup_all_recovery_waiters | 8849823551675777024 |
| PARAM_VALUE | 0 | as->rh->wakeup_workers | 8888506106134781952 |
| PARAM_VALUE | 0 | as->suspend.counter | 0 |
| PARAM_VALUE | 0 | as->ti | 4096-ptr_max |
| PARAM_VALUE | 0 | as->ti->error | 6178336389065121792 |
| PARAM_VALUE | 0 | as->ti->len | 1-u64max |
| PARAM_VALUE | 0 | as->ti->table | 4096-ptr_max |
| PARAM_VALUE | 0 | as->ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | as->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | as->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | as->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | as->timer_pending | 0 |
| PARAM_VALUE | 0 | as->writes.head | 0 |
| PARAM_VALUE | 0 | as->writes.tail | 0 |
| PARAM_VALUE | 3 | args_used | 6667977983205195776 |
| PARAM_VALUE | 3 | *args_used | 2-s32max |
| BUF_SIZE | 0 | as | 576-856 |
| BUF_SIZE | 0 | as | 576-856 |
| BUF_SIZE | 0 | as->kmirrord_wq | (-1),512,528-8720 |
| CAPPED_DATA | 0 | as->rh | 1 |
| CAPPED_DATA | 0 | as->rh->buckets | 1 |
| CAPPED_DATA | 0 | as->rh->target_begin | 1 |
| CAPPED_DATA | 0 | as->ti->begin | 1 |
| CAPPED_DATA | 0 | as->ti->len | 1 |
| DATA_SOURCE | 0 | as | r alloc_context |
| DATA_SOURCE | 1 | fc | $1 [m] |
| DATA_SOURCE | 2 | ti | $2 [m] |
| STR_LEN | 0 | as->ti->error | 13 |
| TERMINATED | 0 | as->ti->error | 1 |
| NO_OVERFLOW_SIMPLE | 0 | as->io_client->bios.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | as->io_client->bios.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | as->rh->target_begin | |
| NO_OVERFLOW_SIMPLE | 0 | as->ti->begin | |
| NO_OVERFLOW_SIMPLE | 0 | as->ti->len | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-flakey.c flakey_ctr() -> parse_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 1919505028760645632 |
| PARAM_VALUE | 0 | as->argv | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | fc | 4096-ptr_max |
| PARAM_VALUE | 2 | ti | 4096-ptr_max |
| PARAM_VALUE | 2 | ti->error | 6178336389065121792 |
| PARAM_VALUE | 2 | ti->len | 1-u64max |
| PARAM_VALUE | 2 | ti->table | 4096-ptr_max |
| PARAM_VALUE | 2 | ti->table->mode | 1,3 |
| PARAM_VALUE | 2 | ti->table->num_allocated | 8-1048576 |
| PARAM_VALUE | 2 | ti->table->num_targets | 0-1048575 |
| PARAM_VALUE | 2 | ti->table->type | 0 |
| PARAM_VALUE | 2 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 2 | ti->type->module | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ti->type->module->refcnt.counter | 0-s32max |
| PARAM_VALUE | 2 | ti->type->module->state | 0-1,3-u32max |
| PARAM_VALUE | 2 | *ti->error | 0-255 |
| BUF_SIZE | 1 | fc | 64 |
| BUF_SIZE | 2 | ti->error | 14 |
| CAPPED_DATA | 1 | fc->start | 1 |
| CAPPED_DATA | 1 | fc->up_interval | 1 |
| CAPPED_DATA | 2 | ti->begin | 1 |
| CAPPED_DATA | 2 | ti->table->num_targets | 1 |
| CAPPED_DATA | 2 | ti->type | 1 |
| DATA_SOURCE | 1 | fc | r _kzalloc_noprof |
| DATA_SOURCE | 2 | ti | $0 |
| STR_LEN | 2 | ti->error | 13 |
| TERMINATED | 2 | ti->error | 1 |
| MEM_ZERO | 2 | ti | |
| NO_OVERFLOW_SIMPLE | 1 | fc->down_interval | |
| NO_OVERFLOW_SIMPLE | 1 | fc->up_interval | |
| NO_OVERFLOW_SIMPLE | 2 | ti->begin | |
| NO_OVERFLOW_SIMPLE | 2 | ti->len | |
| NO_OVERFLOW_SIMPLE | 2 | ti->table->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |