Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/memory-tiers.c memory_tier_device_release() -> to_memory_tier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | device | (-1),1616 |
| BUF_SIZE | 0 | device | (-1),1616 |
| BUF_SIZE | 0 | device->bus | (-1),168 |
| BUF_SIZE | 0 | device->init_name | (-1),32 |
| BUF_SIZE | 0 | device->parent | (-1),1616 |
| BUF_SIZE | 0 | device->platform_data | (-1),1360 |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device->init_name | (-1),31 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/memory-tiers.c nodelist_show() -> to_memory_tier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | device | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &memory_tier_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |