Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-ioctl.c dev_create() -> dm_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->event_nr.counter | 0 |
| PARAM_VALUE | 0 | md->ima.measure_idx | 0 |
| PARAM_VALUE | 0 | md->ima.update_idx | 0 |
| PARAM_VALUE | 0 | md->init_tio_pdu | 0 |
| PARAM_VALUE | 0 | md->kobj_holder.completion.done | 0 |
| PARAM_VALUE | 0 | md->open_count.counter | 0 |
| PARAM_VALUE | 0 | md->requeue_list | 0 |
| PARAM_VALUE | 0 | md->stats.precise_timestamps | 0 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | md->suspend_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | md->suspend_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | md->swap_bios | 1-s32max |
| PARAM_VALUE | 0 | md->swap_bios_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | md->swap_bios_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | md->swap_bios_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | md->table_devices_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | md->table_devices_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | md->table_devices_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | md->type | 0 |
| PARAM_VALUE | 0 | md->type_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | md->type_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | md->type_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | md->uevent_seq.counter | 0 |
| NOCHECK_CALL |
drivers/md/dm-ioctl.c dev_remove() -> dm_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->disk | 4096-ptr_max |
| PARAM_VALUE | 0 | md->ima.active_table.capacity | 0 |
| PARAM_VALUE | 0 | md->ima.active_table.device_metadata | 0 |
| PARAM_VALUE | 0 | md->ima.active_table.hash | 0 |
| PARAM_VALUE | 0 | md->ima.active_table.hash_len | 0 |
| PARAM_VALUE | 0 | md->ima.active_table.num_targets | 0 |
| PARAM_VALUE | 0 | md->ima.ima_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->ima.ima_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md->ima.ima_wq.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md->ima.inactive_table.capacity | 0 |
| PARAM_VALUE | 0 | md->ima.inactive_table.device_metadata | 0 |
| PARAM_VALUE | 0 | md->ima.inactive_table.hash | 0 |
| PARAM_VALUE | 0 | md->ima.inactive_table.hash_len | 0 |
| PARAM_VALUE | 0 | md->ima.inactive_table.num_targets | 0 |
| PARAM_VALUE | 0 | md->open_count.counter | 0 |
| MEM_ZERO | 0 | &md->ima.active_table | |
| MEM_ZERO | 0 | &md->ima.inactive_table | |
| NOCHECK_CALL |
drivers/md/dm-ioctl.c dm_early_create() -> dm_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->disk->queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | md->event_nr.counter | 0 |
| PARAM_VALUE | 0 | md->ima.measure_idx | 0 |
| PARAM_VALUE | 0 | md->ima.update_idx | 0 |
| PARAM_VALUE | 0 | md->init_tio_pdu | 0 |
| PARAM_VALUE | 0 | md->kobj_holder.completion.done | 0 |
| PARAM_VALUE | 0 | md->open_count.counter | 0 |
| PARAM_VALUE | 0 | md->requeue_list | 0 |
| PARAM_VALUE | 0 | md->stats.precise_timestamps | 0 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | md->suspend_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | md->swap_bios | 1-s32max |
| PARAM_VALUE | 0 | md->swap_bios_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | md->swap_bios_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | md->swap_bios_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | md->table_devices_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | md->table_devices_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | md->table_devices_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | md->type | 0 |
| PARAM_VALUE | 0 | md->type_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | md->type_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | md->type_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | md->uevent_seq.counter | 0 |
| PARAM_VALUE | 0 | *md->queue->crypto_profile->modes_supported | 0-4294967295 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | md->queue->limits.max_hw_discard_sectors |
drivers/md/dm-ioctl.c dm_hash_remove_all() -> dm_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->disk->ev->block | s32min-s32max |
| PARAM_VALUE | 0 | md->disk->part0->bd_device.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | md->disk->part0->bd_device.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | md->disk->part0->bd_device.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | md->disk->part0->bd_device.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | md->disk->part0->bd_device.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | md->disk->part0->bd_device.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | md->disk->part0->bd_device.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | md->disk->part0->bd_device.p->dead | 0-1 |
| PARAM_VALUE | 0 | md->disk->part0->bd_device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | md->disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | md->disk->queue->stats->accounting | s32min-s32max |
| PARAM_VALUE | 0 | md->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | md->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | md->disk->queue_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | md->ima.active_table.capacity | 0 |
| PARAM_VALUE | 0 | md->ima.active_table.device_metadata | 0 |
| PARAM_VALUE | 0 | md->ima.active_table.hash | 0 |
| PARAM_VALUE | 0 | md->ima.active_table.hash_len | 0 |
| PARAM_VALUE | 0 | md->ima.active_table.num_targets | 0 |
| PARAM_VALUE | 0 | md->ima.ima_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->ima.ima_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md->ima.ima_wq.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | md->ima.inactive_table.capacity | 0 |
| PARAM_VALUE | 0 | md->ima.inactive_table.device_metadata | 0 |
| PARAM_VALUE | 0 | md->ima.inactive_table.hash | 0 |
| PARAM_VALUE | 0 | md->ima.inactive_table.hash_len | 0 |
| PARAM_VALUE | 0 | md->ima.inactive_table.num_targets | 0 |
| PARAM_VALUE | 0 | md->open_count.counter | 0 |
| PARAM_VALUE | 0 | md->wq->flags | 0-4294967295 |
| PARAM_VALUE | 0 | md->wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | md->wq->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | md->wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | md->wq->wq_dev | 0-s64max |
| MEM_ZERO | 0 | &md->ima.active_table | |
| MEM_ZERO | 0 | &md->ima.inactive_table | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | md->dax_dev->inode.i_mapping->host->i_bytes |