Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/amd/iommu.c amd_iommu_change_top() -> device_flush_dte()

Type Parameter Key Value
PARAM_VALUE 0 dev_data 4096-ptr_max
CAPPED_DATA 0 &dev_data->list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 domain_lock
LOCK2 flags

drivers/iommu/amd/iommu.c amd_iommu_set_dirty_tracking() -> device_flush_dte()

Type Parameter Key Value
PARAM_VALUE 0 dev_data 4096-ptr_max
PARAM_VALUE 0 dev_data->dev 4096-ptr_max
PARAM_VALUE 0 dev_data->dev->iommu 4096-ptr_max
PARAM_VALUE 0 dev_data->dte_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 &dev_data->list 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &iopt->iova_rwsem
LOCK2 &pdomain->lock
LOCK2 flags
TYPE_LOCK (struct io_pagetable)->iova_rwsem
TYPE_LOCK (struct protection_domain)->lock

drivers/iommu/amd/iommu.c amd_iommu_update_dte() -> device_flush_dte()

Type Parameter Key Value
PARAM_VALUE 0 dev_data 4096-ptr_max
PARAM_VALUE 0 dev_data->dev 4096-ptr_max
PARAM_VALUE 0 dev_data->dev->iommu 4096-ptr_max
PARAM_VALUE 0 dev_data->dte_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev_data->gcr3_info.gcr3_tbl 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 dev_data->gcr3_info.glx 0-3
BUF_SIZE 0 dev_data s32min-(-1),1-s32max
BUF_SIZE 0 dev_data s32min-(-1),1-s32max
DATA_SOURCE 0 dev_data $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev_data unit_byte
HALF_LOCKED2 0 &dev_data->mutex