Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_copy_buffer() -> amdgpu_calc_bytes_per_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | byte_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | byte_count | 0-268435455[c] |
| UNITS | 1 | byte_count | unit_byte |
| HALF_LOCKED2 | &adev->benchmark_mutex | ||
| HALF_LOCKED2 | &adev->mman.default_entity.lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &entity->lock | ||
| HALF_LOCKED2 | &prange->migrate_mutex | ||
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fill_mem() -> amdgpu_calc_bytes_per_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | byte_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | byte_count | 0-268435455[c] |
| UNITS | 1 | byte_count | unit_byte |
| LOCK2 | &entity->lock | ||
| HALF_LOCKED2 | &bo->base._resv | ||
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock |