Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/iommu/iommufd/device.c iommufd_device_auto_get_domain() -> iommufd_hwpt_paging_alloc()

Type Parameter Key Value
PARAM_VALUE 1 ioas 4096-ptr_max
PARAM_VALUE 1 ioas->mutex.dep_map->name 0-255
PARAM_VALUE 1 ioas->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 ioas->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ioas->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 ioas->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 ioas->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 ioas->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 2 idev 4096-ptr_max
PARAM_VALUE 4 flags 0
PARAM_VALUE 6 user_data 0
CAPPED_DATA 1 &ioas->hwpt_list 1
CAPPED_DATA 1 &ioas->mutex 1
DATA_SOURCE 1 ioas $2
DATA_SOURCE 2 idev $0
DATA_SOURCE 3 pasid $1
NOSPEC 3 pasid
NOSPEC 3 pasid
USER_DATA 3 pasid 0-u32max
LOCK2 1 &ioas->mutex
HALF_LOCKED2 &vdev->dev_set->lock
TYPE_LOCK (struct iommufd_ioas)->mutex

drivers/iommu/iommufd/hw_pagetable.c iommufd_hwpt_alloc() -> iommufd_hwpt_paging_alloc()

Type Parameter Key Value
PARAM_VALUE 1 ioas 4096-ptr_max
PARAM_VALUE 1 ioas->mutex.dep_map->name 0-255
PARAM_VALUE 1 ioas->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 ioas->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ioas->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 ioas->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 ioas->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 ioas->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 2 idev 4096-ptr_max
PARAM_VALUE 3 pasid 0
PARAM_VALUE 5 immediate_attach 0
PARAM_VALUE 6 user_data 0,2618518703692980224
PARAM_VALUE 6 user_data->len 1-u32max
PARAM_VALUE 6 user_data->type 1-u32max
BUF_SIZE 6 user_data 0,24
CAPPED_DATA 1 &ioas->mutex 1
DATA_SOURCE 2 idev r iommufd_get_device
BIT_INFO 6 user_data 0x0,0x2456d8e333562000
USER_DATA 4 flags 0-u32max[u]
USER_DATA 6 user_data->len 1-u32max[u]
USER_DATA 6 user_data->type 1-u32max[u]
LOCK2 1 &ioas->mutex
TYPE_LOCK (struct iommufd_ioas)->mutex