Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/block/zram/zram_drv.c compact_store() -> zs_compact()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/zsmalloc.c zs_shrinker_scan() -> zs_compact()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | pool | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pool | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pool | unit_byte |
| HALF_LOCKED2 | global &bch_register_lock |