Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_page_allocated() -> ttm_pool_allocated_page_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | allocated | 1-u64max |
| PARAM_VALUE | 2 | alloc | 4878770031710056448,7392465134785949696 |
| PARAM_VALUE | 2 | alloc->remaining_pages | 1-u64max |
| CAPPED_DATA | 3 | nr | 1 |
| DATA_SOURCE | 0 | allocated | $2 |
| DATA_SOURCE | 2 | alloc | $4 |
| NOSPEC | 0 | allocated->private | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | allocated->private | 0-10[c] |
| USER_DATA | 2 | alloc->remaining_pages | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 2 | alloc->remaining_pages |
drivers/gpu/drm/ttm/ttm_pool.c ttm_pool_restore_commit() -> ttm_pool_allocated_page_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | alloc | 4878770031710056448,7392465134785949696 |
| CAPPED_DATA | 3 | nr | 1 |
| CAPPED_DATA | 3 | nr | 1 |
| DATA_SOURCE | 2 | alloc | $3 |
| NOSPEC | 0 | allocated->private | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | allocated->private | 0-10[c] |
| USER_DATA | 2 | alloc->remaining_pages | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 2 | alloc->remaining_pages |