Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/iommu/iommufd/iommufd_private.h, line 291
- drivers/iommu/iommufd/main.c, line 85
- drivers/iommu/iommufd/viommu.c, line 205
Smatch caller information:
drivers/iommu/iommufd/selftest.c iommufd_test_mock_domain() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 48 |
| PARAM_VALUE | 2 | type | 11 |
| UNITS | 1 | size | unit_byte |
drivers/iommu/iommufd/viommu.c iommufd_vdevice_alloc_ioctl() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0,48 |
| PARAM_VALUE | 2 | type | 8 |
| FUZZY_MAX | 1 | size | 48 |
| BIT_INFO | 1 | size | 0x0,0x30 |
| BIT_INFO | 1 | size | 0x0,0x30 |
| UNITS | 1 | size | unit_byte |
| LOCK2 | &idev->igroup->lock | ||
| TYPE_LOCK | (struct iommufd_group)->lock |
drivers/iommu/iommufd/device.c __iommufd_access_create() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 224 |
| PARAM_VALUE | 2 | type | 5 |
| BUF_SIZE | 0 | ictx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ictx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ictx | $0 |
| UNITS | 1 | size | unit_byte |
drivers/iommu/iommufd/device.c iommufd_device_bind() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 80 |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 0 | ictx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ictx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ictx | $0 |
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &device->dev_set->lock |
drivers/iommu/iommufd/main.c _iommufd_object_alloc_ucmd() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 88,432,448,512 |
| PARAM_VALUE | 2 | type | 6-7,10 |
| DATA_SOURCE | 1 | size | $1 |
| DATA_SOURCE | 2 | type | $2 |
| HARD_MAX | 2 | type | 10 |
| UNITS | 1 | size | unit_byte |
drivers/iommu/iommufd/eventq.c iommufd_veventq_alloc() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 280 |
| PARAM_VALUE | 2 | type | 9 |
| UNITS | 1 | size | unit_byte |
| LOCK2 | &viommu->veventqs_rwsem | ||
| TYPE_LOCK | (struct iommufd_viommu)->veventqs_rwsem |
drivers/iommu/iommufd/hw_pagetable.c iommufd_hwpt_nested_alloc() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 56 |
| PARAM_VALUE | 2 | type | 3 |
| DATA_SOURCE | 0 | ictx | $0 |
| UNITS | 1 | size | unit_byte |
drivers/iommu/iommufd/hw_pagetable.c iommufd_hwpt_paging_alloc() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 80 |
| PARAM_VALUE | 2 | type | 2 |
| DATA_SOURCE | 0 | ictx | $0 |
| UNITS | 1 | size | unit_byte |
| LOCK2 | &ioas->mutex | ||
| TYPE_LOCK | (struct iommufd_ioas)->mutex |
drivers/iommu/iommufd/hw_pagetable.c iommufd_viommu_alloc_hwpt_nested() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 56 |
| PARAM_VALUE | 2 | type | 3 |
| UNITS | 1 | size | unit_byte |
drivers/iommu/iommufd/ioas.c iommufd_ioas_alloc() -> _iommufd_object_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 752 |
| PARAM_VALUE | 2 | type | 4 |
| BUF_SIZE | 0 | ictx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ictx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ictx | $0 |
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &group->group_lock |