Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_migrate.c xe_res_first_sg() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->size | 0 |
| PARAM_VALUE | 0 | cur->start | 0,4096-u64max |
| DATA_SOURCE | 0 | cur | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cur->remaining |
drivers/gpu/drm/xe/xe_migrate.c xe_res_next() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->sgl | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->size | 0-u32max |
| CAPPED_DATA | 0 | cur->size | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | cur->size | 1-u32max[c] |
| USER_DATA | 0 | cur->start | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | cur->remaining | |
| NO_OVERFLOW_SIMPLE | 0 | cur->start |
drivers/gpu/drm/xe/xe_lmtt.c xe_res_next() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 1875343095964880896 |
| CAPPED_DATA | 0 | cur->size | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_ggtt.c xe_res_first_sg() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 8721054393186246656 |
| PARAM_VALUE | 0 | cur->size | 0 |
| PARAM_VALUE | 0 | cur->start | 0 |
| DATA_SOURCE | 0 | cur | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ggtt->lock | ||
| TYPE_LOCK | (struct xe_ggtt)->lock |
drivers/gpu/drm/xe/xe_ggtt.c xe_res_next() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 8721054393186246656 |
| PARAM_VALUE | 0 | cur->sgl | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->size | 0-4096 |
| DATA_SOURCE | 0 | cur | $0 |
| FUZZY_MAX | 0 | cur->size | 4096 |
| HARD_MAX | 0 | cur->size | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ggtt->lock | ||
| TYPE_LOCK | (struct xe_ggtt)->lock |
drivers/gpu/drm/xe/xe_bo.c xe_res_first_sg() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 7525794222312906752 |
| PARAM_VALUE | 0 | cur->size | 0 |
| PARAM_VALUE | 0 | cur->start | 0,4096-18446744073709547520 |
| DATA_SOURCE | 0 | cur | $3 |
| BIT_INFO | 0 | cur->start | 0x0,0xfffffffffffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->lock |
drivers/gpu/drm/xe/xe_bo.c xe_res_next() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 5134389585711968256 |
| PARAM_VALUE | 0 | cur->size | 0-4096 |
| DATA_SOURCE | 0 | cur | $0 |
| FUZZY_MAX | 0 | cur->size | 4096 |
| HARD_MAX | 0 | cur->size | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | cur->remaining | 1-u64max[c] |
| USER_DATA | 0 | cur->size | 0-4096[c] |
| USER_DATA | 0 | cur->start | 0-u64max[c] |
| LOCK2 | ttm_bo->base.resv | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_pt.c xe_res_first_sg() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 3570302231557795840 |
| PARAM_VALUE | 0 | cur->size | 0 |
| DATA_SOURCE | 0 | cur | $3 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_pt.c xe_res_next() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 3570302231557795840,5255162613885374464 |
| PARAM_VALUE | 0 | cur->sgl | 1-u64max |
| CAPPED_DATA | 0 | cur->size | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c xe_res_next() -> __xe_res_sg_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4928572340848914432 |
| PARAM_VALUE | 0 | cur->size | 0-2147483648 |
| CAPPED_DATA | 0 | cur->size | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bo->lock | ||
| HALF_LOCKED2 | &dbc->ch_lock | ||
| HALF_LOCKED2 | &qdev->dev_lock | ||
| HALF_LOCKED2 | &usr->qddev_lock | ||
| HALF_LOCKED2 | attach->dmabuf->resv | ||
| HALF_LOCKED2 | bo->base.base.resv | ||
| HALF_LOCKED2 | dmabuf->resv | ||
| HALF_LOCKED2 | resv |