Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/drm_gem.c, line 1750
- drivers/gpu/drm/msm/msm_gem_shrinker.c
- drivers/gpu/drm/panthor/panthor_gem.c
- drivers/gpu/drm/panthor/panthor_mmu.c, line 3305
Smatch caller information:
drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_shrinker_scan() -> drm_gem_lru_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lru | 4096-ptr_max |
| PARAM_VALUE | 3 | remaining | 6548413275582980096 |
| PARAM_VALUE | 3 | *remaining | 0 |
| PARAM_VALUE | 5 | ticket | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | nr_to_scan | 0-u32max |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | global &bch_register_lock |
drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_shrinker_scan() -> drm_gem_lru_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->gem_lru_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lru | 4096-ptr_max |
| PARAM_VALUE | 3 | remaining | 6548413275582980096 |
| PARAM_VALUE | 5 | ticket | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | nr_to_scan | 0-u32max |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | global &bch_register_lock |
drivers/gpu/drm/panthor/panthor_gem.c panthor_gem_shrinker_scan() -> drm_gem_lru_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->gem_lru_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lru | 4096-ptr_max |
| PARAM_VALUE | 3 | remaining | 6548413275582980096 |
| PARAM_VALUE | 5 | ticket | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | nr_to_scan | 0-u32max |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | global &bch_register_lock |
drivers/gpu/drm/msm/msm_gem_shrinker.c msm_gem_shrinker_scan() -> drm_gem_lru_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | remaining | 4096-ptr_max |
| PARAM_VALUE | 5 | ticket | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | nr_to_scan | 0-u32max |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | global &bch_register_lock |
drivers/gpu/drm/msm/msm_gem_shrinker.c msm_gem_shrinker_vmap() -> drm_gem_lru_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lru | 1-u64max |
| PARAM_VALUE | 2 | nr_to_scan | 1-15 |
| PARAM_VALUE | 3 | remaining | 5611750127907885056 |
| PARAM_VALUE | 5 | ticket | 0 |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_mmu_reclaim_priv_bos() -> drm_gem_lru_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->gem_lru_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lru | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_to_scan | 1-u32max |
| PARAM_VALUE | 3 | remaining | 6548413275582980096 |
| PARAM_VALUE | 5 | ticket | 0 |
| DATA_SOURCE | 3 | remaining | $2 |
| DATA_SOURCE | 4 | shrink | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | nr_to_scan | 1-u32max |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | global &bch_register_lock |