Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/iommufd/io_pagetable.c iommu_read_and_clear_dirty() -> iommu_dirty_bitmap_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dirty | 2277616317756407808 |
| PARAM_VALUE | 1 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 2 | gather | 2709549484540518400 |
| BUF_SIZE | 1 | bitmap | 88 |
| BUF_SIZE | 1 | bitmap | 88 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | bitmap->bitmap | 0-u64max[u] |
| USER_DATA | 1 | bitmap->iova | s64min-s64max |
| USER_DATA | 1 | bitmap->length | s64min-s64max |
| LOCK2 | &iopt->iova_rwsem | ||
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem |
drivers/iommu/iommufd/io_pagetable.c iopt_clear_dirty_data() -> iommu_dirty_bitmap_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dirty | 7291764533543317504 |
| PARAM_VALUE | 1 | bitmap | 0 |
| PARAM_VALUE | 2 | gather | 5383983957550964736 |
| NOCHECK_CALL | |||
| LOCK2 | &iopt->iova_rwsem | ||
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem |