Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/md/dm-crypt.c crypt_ctr() -> dm_audit_log_ctr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_msg_prefix | 1390677978591502336 |
| PARAM_VALUE | 1 | ti | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->accounts_remapped_io | 1 |
| PARAM_VALUE | 1 | ti->error | 6178336389065121792 |
| PARAM_VALUE | 1 | ti->len | 1-u64max |
| PARAM_VALUE | 1 | ti->limit_swap_bios | 1 |
| PARAM_VALUE | 1 | ti->num_discard_bios | 0-1 |
| PARAM_VALUE | 1 | ti->num_flush_bios | 1 |
| PARAM_VALUE | 1 | ti->private | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->private->authenc_key->rta_len | 8 |
| PARAM_VALUE | 1 | ti->private->authenc_key->rta_type | 1 |
| PARAM_VALUE | 1 | ti->private->iv_gen_ops | 0 |
| PARAM_VALUE | 1 | ti->private->iv_size | 0-4294967295 |
| PARAM_VALUE | 1 | ti->private->key_parts | 0-4294967295 |
| PARAM_VALUE | 1 | ti->private->tfms_count | 0-4294967295 |
| PARAM_VALUE | 1 | ti->table | 4096-ptr_max |
| 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.dep_map->name | 0-255 |
| 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->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 | 1 | *ti->private->authenc_key | 0-255 |
| PARAM_VALUE | 1 | *ti->private->cipher_string | 0-255 |
| PARAM_VALUE | 1 | *ti->private->key | 0-255 |
| PARAM_VALUE | 1 | *ti->private->key_string | 0-255 |
| PARAM_VALUE | 2 | result | 1 |
| BUF_SIZE | 0 | dm_msg_prefix | 6 |
| BUF_SIZE | 1 | ti->error | 14 |
| BUF_SIZE | 1 | ti->private | 1752-2147485399 |
| CAPPED_DATA | 1 | ti->begin | 1 |
| CAPPED_DATA | 1 | ti->table->md->disk | 1 |
| CAPPED_DATA | 1 | ti->table->num_targets | 1 |
| CAPPED_DATA | 1 | ti->type | 1 |
| DATA_SOURCE | 1 | ti | $0 |
| FUZZY_MAX | 1 | ti->num_discard_bios | 0 |
| STR_LEN | 0 | dm_msg_prefix | 5 |
| STR_LEN | 1 | ti->error | 13 |
| BIT_INFO | 1 | ti->per_io_data_size | 0x0,0xfffffff8 |
| TERMINATED | 0 | dm_msg_prefix | 1 |
| TERMINATED | 1 | ti->error | 1 |
| MEM_ZERO | 1 | ti | |
| MEM_ZERO | 1 | ti->private | |
| NOCHECK_CALL | |||
| 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 |
drivers/md/dm-crypt.c crypt_ctr() -> dm_audit_log_ctr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_msg_prefix | 1390677978591502336 |
| PARAM_VALUE | 1 | ti | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->error | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->len | 1-u64max |
| PARAM_VALUE | 1 | ti->num_discard_bios | 0-1 |
| PARAM_VALUE | 1 | ti->private | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->table | 4096-ptr_max |
| 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 | result | 0 |
| BUF_SIZE | 0 | dm_msg_prefix | 6 |
| BUF_SIZE | 1 | ti->error | (-1),14,21-22,25-26,28-30,33,38-39 |
| BUF_SIZE | 1 | ti->private | 1752-2147485399 |
| CAPPED_DATA | 1 | ti->begin | 1 |
| CAPPED_DATA | 1 | ti->table->num_targets | 1 |
| CAPPED_DATA | 1 | ti->type | 1 |
| DATA_SOURCE | 1 | ti | $0 |
| FUZZY_MAX | 1 | ti->num_discard_bios | 0 |
| STR_LEN | 0 | dm_msg_prefix | 5 |
| STR_LEN | 1 | ti->error | (-1),13,20-21,24-25,27-29,32,37-38 |
| TERMINATED | 0 | dm_msg_prefix | 1 |
| TERMINATED | 1 | ti->error | 1 |
| MEM_ZERO | 1 | ti | |
| NOCHECK_CALL | |||
| 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 |
drivers/md/dm-verity-target.c verity_ctr() -> dm_audit_log_ctr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_msg_prefix | 6262988363864559616 |
| PARAM_VALUE | 1 | ti | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->error | 6178336389065121792 |
| PARAM_VALUE | 1 | ti->len | 1-u64max |
| PARAM_VALUE | 1 | ti->per_io_data_size | 0 |
| PARAM_VALUE | 1 | ti->private | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->table | 4096-ptr_max |
| 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.dep_map->name | 0-255 |
| 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->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 | result | 1 |
| BUF_SIZE | 0 | dm_msg_prefix | 7 |
| BUF_SIZE | 1 | ti->error | (-1),14 |
| BUF_SIZE | 1 | ti->private | 896 |
| CAPPED_DATA | 1 | ti->begin | 1 |
| CAPPED_DATA | 1 | ti->len | 1 |
| CAPPED_DATA | 1 | ti->table->md->disk | 1 |
| CAPPED_DATA | 1 | ti->table->num_targets | 1 |
| CAPPED_DATA | 1 | ti->type | 1 |
| DATA_SOURCE | 1 | ti | $0 |
| STR_LEN | 0 | dm_msg_prefix | 6 |
| STR_LEN | 1 | ti->error | (-1),13 |
| TERMINATED | 0 | dm_msg_prefix | 1 |
| TERMINATED | 1 | ti->error | 1 |
| MEM_ZERO | 1 | ti | |
| NOCHECK_CALL | |||
| 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 |
drivers/md/dm-verity-target.c verity_ctr() -> dm_audit_log_ctr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_msg_prefix | 6262988363864559616 |
| PARAM_VALUE | 1 | ti | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->error | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->len | 1-u64max |
| PARAM_VALUE | 1 | ti->private | 4096-ptr_max |
| PARAM_VALUE | 1 | ti->table | 4096-ptr_max |
| 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 | result | 0 |
| BUF_SIZE | 0 | dm_msg_prefix | 7 |
| BUF_SIZE | 1 | ti->error | (-1),14,16,19-22,24-28,30-31,38 |
| BUF_SIZE | 1 | ti->private | 896 |
| 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 |
| DATA_SOURCE | 1 | ti | $0 |
| STR_LEN | 0 | dm_msg_prefix | 6 |
| STR_LEN | 1 | ti->error | (-1),13,15,18-21,23-27,29-30,37 |
| BIT_INFO | 1 | ti->error | 0x0,0x7ffffffffffff000 |
| TERMINATED | 0 | dm_msg_prefix | 1 |
| TERMINATED | 1 | ti->error | 1 |
| MEM_ZERO | 1 | ti | |
| NOCHECK_CALL | |||
| 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 |