Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-cache-target.c cache_create() -> create_cache_policy()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->cache_dev 4096-ptr_max
PARAM_VALUE 0 cache->features.io_mode 0-2
PARAM_VALUE 0 cache->features.metadata_version 1-2
PARAM_VALUE 0 cache->features.mode 0
PARAM_VALUE 0 cache->metadata_dev 4096-ptr_max
PARAM_VALUE 0 cache->origin_blocks 0-288230376151711743
PARAM_VALUE 0 cache->origin_dev 4096-ptr_max
PARAM_VALUE 0 cache->origin_sectors 1-u64max
PARAM_VALUE 0 cache->sectors_per_block 64-2097152
PARAM_VALUE 0 cache->ti 4096-ptr_max
PARAM_VALUE 0 cache->ti->error 6178336389065121792
PARAM_VALUE 0 cache->ti->len 1-u64max
PARAM_VALUE 0 cache->ti->table 4096-ptr_max
PARAM_VALUE 0 cache->ti->type 4096-ptr_max
PARAM_VALUE 1 ca 4096-ptr_max
PARAM_VALUE 1 ca->block_size 64-2097152
PARAM_VALUE 1 ca->cache_dev 0
PARAM_VALUE 1 ca->cache_sectors 64-u64max
PARAM_VALUE 1 ca->features.io_mode 0-2
PARAM_VALUE 1 ca->features.metadata_version 1-2
PARAM_VALUE 1 ca->features.mode 0
PARAM_VALUE 1 ca->metadata_dev 0
PARAM_VALUE 1 ca->origin_dev 0
PARAM_VALUE 1 ca->policy_argv 4097-18446744073709547521
PARAM_VALUE 1 ca->ti 4096-ptr_max
PARAM_VALUE 1 ca->ti->accounts_remapped_io 1
PARAM_VALUE 1 ca->ti->discards_supported 1
PARAM_VALUE 1 ca->ti->error 6178336389065121792
PARAM_VALUE 1 ca->ti->flush_supported 1
PARAM_VALUE 1 ca->ti->len 1-u64max
PARAM_VALUE 1 ca->ti->num_discard_bios 1
PARAM_VALUE 1 ca->ti->num_flush_bios 2
PARAM_VALUE 1 ca->ti->per_io_data_size 32
PARAM_VALUE 1 ca->ti->private 4096-ptr_max
PARAM_VALUE 1 ca->ti->table 4096-ptr_max
PARAM_VALUE 1 ca->ti->table->md->disk->slave_dir->sd->count.counter s32min-s32max
PARAM_VALUE 1 ca->ti->table->md->table_devices_lock.dep_map->name 0-255
PARAM_VALUE 1 ca->ti->table->md->table_devices_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ca->ti->table->md->table_devices_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 ca->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 ca->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 ca->ti->table->md->table_devices_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 ca->ti->table->md->table_devices_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 ca->ti->type 4096-ptr_max
PARAM_VALUE 2 error 4096-ptr_max
PARAM_VALUE 2 *error 6178336389065121792
PARAM_VALUE 2 *(*error) 0
BUF_SIZE 0 cache 2416
BUF_SIZE 1 ca 88
BUF_SIZE 2 error 8
BUF_SIZE 2 *error 13-16,18-59,62,66,68-71,96,98-99,106
CAPPED_DATA 0 cache->ti->begin 1
CAPPED_DATA 1 ca->ti->begin 1
CAPPED_DATA 1 ca->ti->table->md->disk 1
DATA_SOURCE 0 cache r _kzalloc_noprof
DATA_SOURCE 1 ca $0
STR_LEN 0 cache->ti->error 13
STR_LEN 1 ca->ti->error 13
STR_LEN 2 *error 13
STR_LEN 2 *(*error) 13
PARAM_COMPARE 1 &ca->ti->error == $2
TERMINATED 0 cache->ti->error 1
TERMINATED 1 ca->ti->error 1
TERMINATED 2 *error 1
TERMINATED 2 *(*error) 1
NO_OVERFLOW_SIMPLE 0 cache->origin_sectors
NO_OVERFLOW_SIMPLE 0 cache->ti->begin
NO_OVERFLOW_SIMPLE 0 cache->ti->len
NO_OVERFLOW_SIMPLE 1 ca->ti->begin
NO_OVERFLOW_SIMPLE 1 ca->ti->len
HALF_LOCKED2 &md->type_lock