Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/ttm/tests/ttm_device_test.c, line 177
- drivers/gpu/drm/ttm/tests/ttm_pool_test.c
- drivers/gpu/drm/ttm/ttm_pool.c
- drivers/gpu/drm/ttm/ttm_tt.c, line 98
Smatch caller information:
drivers/gpu/drm/ttm/tests/ttm_device_test.c ttm_device_init_pools() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| MEM_ZERO | 0 | pool |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_alloc_page() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| BUF_SIZE | 0 | pool | (-1),5296 |
| BUF_SIZE | 0 | pool | (-1),5296 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_backup() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &bch_register_lock |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_debugfs() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_free_page() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| BUF_SIZE | 0 | pool | (-1),5296 |
| BUF_SIZE | 0 | pool | (-1),5296 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->dev->cma_area->available_count |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_init() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 16,4096-ptr_max |
| BUF_SIZE | 0 | pool | (-1),5296 |
| BUF_SIZE | 0 | pool | (-1),5296 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_map() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| BUF_SIZE | 0 | pool | (-1),5296 |
| BUF_SIZE | 0 | pool | (-1),5296 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_page_order() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | pool | (-1),5296 |
| BUF_SIZE | 0 | pool | (-1),5296 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->dev->cma_area->available_count |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_select_type() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| BUF_SIZE | 0 | pool | (-1),5296 |
| BUF_SIZE | 0 | pool | (-1),5296 |
| DATA_SOURCE | 0 | pool | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->dev->cma_area->available_count | |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &shrinker_lock |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_unmap() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| BUF_SIZE | 0 | pool | (-1),5296 |
| BUF_SIZE | 0 | pool | (-1),5296 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->dev->cma_area->available_count |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_basic() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| DATA_SOURCE | 0 | pool | r kunit_kzalloc |
| MEM_ZERO | 0 | pool |
drivers/gpu/drm/ttm/tests/ttm_pool_test.c ttm_pool_alloc_basic() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->alloc_flags | 0 |
| BUF_SIZE | 0 | pool | 5296 |
| DATA_SOURCE | 0 | pool | r kunit_kzalloc |
| MEM_ZERO | 0 | pool |
drivers/gpu/drm/ttm/ttm_tt.c ttm_tt_create() -> ttm_pool_uses_dma_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bo->base.resv |