Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/zram/zram_drv.c recompress_slot() -> set_slot_comp_priority()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zram | 4096-ptr_max |
| PARAM_VALUE | 0 | zram->table | 4096-ptr_max |
| PARAM_VALUE | 2 | prio | 1-3 |
| BUF_SIZE | 0 | zram | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | zram | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | prio | 1 |
| DATA_SOURCE | 0 | zram | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | prio | $5 |
| NOSPEC | 2 | prio | |
| NOSPEC | 2 | prio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | prio | 1-3[c] |
| UNITS | 1 | index | unit_page |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/block/zram/zram_drv.c slot_free() -> set_slot_comp_priority()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zram | 4096-ptr_max |
| PARAM_VALUE | 0 | zram->table | 4096-ptr_max |
| PARAM_VALUE | 2 | prio | 0 |
| BUF_SIZE | 0 | zram | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | zram | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | zram | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | index | 0-2305843009213693951 |
| USER_DATA | 1 | index | 0-2305843009213693951 |
| UNITS | 0 | zram | unit_byte |
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |