Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/intel/iommu.c intel_iommu_set_dirty_tracking() -> domain_set_dirty_tracking()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 0 domain->dirty_tracking 1
PARAM_VALUE 0 domain->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 enable 0
DATA_SOURCE 0 domain r to_dmar_domain
DATA_SOURCE 1 enable $1
PARAM_COMPARE 0 domain->dirty_tracking > $1
PARAM_COMPARE 1 enable < $0->dirty_tracking
PREEMPT_ADD <- disables preempt
USER_DATA 1 enable 0[c]
LOCK2 &iopt->iova_rwsem
LOCK2 0 &domain->lock
TYPE_LOCK (struct dmar_domain)->lock
TYPE_LOCK (struct io_pagetable)->iova_rwsem

drivers/iommu/intel/iommu.c intel_iommu_set_dirty_tracking() -> domain_set_dirty_tracking()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 0 domain->dirty_tracking 1
PARAM_VALUE 0 domain->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 enable 1
DATA_SOURCE 0 domain r to_dmar_domain
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &iopt->iova_rwsem
LOCK2 0 &domain->lock
TYPE_LOCK (struct dmar_domain)->lock
TYPE_LOCK (struct io_pagetable)->iova_rwsem

drivers/iommu/intel/iommu.c parent_domain_set_dirty_tracking() -> domain_set_dirty_tracking()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 1 enable 0
DATA_SOURCE 1 enable $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 enable 0[c]
LOCK2 &domain->lock
LOCK2 &domain->s1_lock
LOCK2 &iopt->iova_rwsem
LOCK2 flags
LOCK2 0 &domain->lock
TYPE_LOCK (struct dmar_domain)->lock
TYPE_LOCK (struct dmar_domain)->s1_lock
TYPE_LOCK (struct io_pagetable)->iova_rwsem

drivers/iommu/intel/iommu.c parent_domain_set_dirty_tracking() -> domain_set_dirty_tracking()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 0 domain->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 enable 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &domain->lock
LOCK2 &domain->s1_lock
LOCK2 &iopt->iova_rwsem
LOCK2 flags
LOCK2 0 &domain->lock
TYPE_LOCK (struct dmar_domain)->lock
TYPE_LOCK (struct dmar_domain)->s1_lock
TYPE_LOCK (struct io_pagetable)->iova_rwsem