Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/iommufd/device.c iommufd_access_pin_pages() -> check_area_prot()

Type Parameter Key Value
PARAM_VALUE 0 area 4096-ptr_max
PARAM_VALUE 1 flags 0-1
DATA_SOURCE 1 flags $4
RX_PATH
USER_DATA 1 flags 0-1[c]
LOCK2 &access->ioas_lock
LOCK2 &iopt->iova_rwsem
HALF_LOCKED2 &staccess->lock
HALF_LOCKED2 &vgpu->cache_lock
TYPE_LOCK (struct io_pagetable)->iova_rwsem
TYPE_LOCK (struct iommufd_access)->ioas_lock

drivers/iommu/iommufd/device.c iommufd_access_rw() -> check_area_prot()

Type Parameter Key Value
PARAM_VALUE 0 area 4096-ptr_max
PARAM_VALUE 1 flags 0-131070
DATA_SOURCE 1 flags $4
BIT_INFO 1 flags 0x0,0x10007
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 flags 0-131070[u]
LOCK2 &access->ioas_lock
LOCK2 &iopt->iova_rwsem
TYPE_LOCK (struct io_pagetable)->iova_rwsem
TYPE_LOCK (struct iommufd_access)->ioas_lock