Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-ima.c dm_ima_measure_on_device_remove() -> dm_ima_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| CAPPED_DATA | 0 | md->ima.measure_idx | 1 |
| DATA_SOURCE | 0 | md | $0 |
| NO_OVERFLOW_SIMPLE | 0 | md->dax_dev->inode.i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | md->dax_dev->inode.i_size |
drivers/md/dm-ima.c dm_ima_measure_on_device_rename() -> dm_ima_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->disk | 4096-ptr_max |
| CAPPED_DATA | 0 | md->ima.measure_idx | 1 |
| DATA_SOURCE | 0 | md | $0 |
drivers/md/dm-ima.c dm_ima_measure_on_device_resume() -> dm_ima_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| CAPPED_DATA | 0 | md->ima.measure_idx | 1 |
| CAPPED_DATA | 0 | md->io_barrier.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | md | $0 |
drivers/md/dm-ima.c dm_ima_measure_on_table_clear() -> dm_ima_capacity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| CAPPED_DATA | 0 | md->ima.measure_idx | 1 |
| DATA_SOURCE | 0 | md | $0 |