Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c, line 392
- drivers/gpu/drm/nouveau/nouveau_prime.c, line 123
- drivers/gpu/drm/ttm/ttm_bo.c, line 1556
- drivers/gpu/drm/xe/xe_dma_buf.c, line 260
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_gem_prime_export() -> ttm_bo_setup_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 2827877137985867776 |
| PARAM_VALUE | 1 | ctx->bytes_moved | 0 |
| PARAM_VALUE | 1 | ctx->gfp_retry_mayfail | 1 |
| PARAM_VALUE | 1 | ctx->interruptible | 1 |
| PARAM_VALUE | 1 | ctx->no_wait_gpu | 1 |
| PARAM_VALUE | 1 | ctx->resv | 0 |
| LOCK2 | &dev->object_name_lock | ||
| LOCK2 | &file_priv->prime.lock | ||
| TYPE_LOCK | (struct drm_device)->object_name_lock | ||
| TYPE_LOCK | (struct drm_prime_file_private)->lock |
drivers/gpu/drm/xe/xe_dma_buf.c xe_gem_prime_export() -> ttm_bo_setup_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->base.resv | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 2976160008516468736 |
| PARAM_VALUE | 1 | ctx->bytes_moved | 0 |
| PARAM_VALUE | 1 | ctx->gfp_retry_mayfail | 1 |
| PARAM_VALUE | 1 | ctx->interruptible | 1 |
| PARAM_VALUE | 1 | ctx->no_wait_gpu | 1 |
| PARAM_VALUE | 1 | ctx->resv | 0 |
| NO_OVERFLOW_SIMPLE | 0 | bo->base.size | |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/gpu/drm/nouveau/nouveau_prime.c nouveau_gem_prime_export() -> ttm_bo_setup_export()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 6174958146815356928 |
| PARAM_VALUE | 1 | ctx->bytes_moved | 0 |
| PARAM_VALUE | 1 | ctx->gfp_retry_mayfail | 1 |
| PARAM_VALUE | 1 | ctx->interruptible | 1 |
| PARAM_VALUE | 1 | ctx->no_wait_gpu | 1 |
| PARAM_VALUE | 1 | ctx->resv | 0 |
| LOCK2 | &dev->object_name_lock | ||
| LOCK2 | &file_priv->prime.lock | ||
| TYPE_LOCK | (struct drm_device)->object_name_lock | ||
| TYPE_LOCK | (struct drm_prime_file_private)->lock |