Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-bufio.c alloc_buffer() -> adjust_total_allocated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c | 4096-ptr_max |
| PARAM_VALUE | 0 | b->c->slab_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | b->data | 1-u64max |
| PARAM_VALUE | 0 | b->data_mode | 0-3 |
| PARAM_VALUE | 1 | unlink | 0 |
| BUF_SIZE | 0 | b->c | (-1),704-12992 |
| BUF_SIZE | 0 | b->data | (-1)-s32max |
| DATA_SOURCE | 0 | b | r kmem_cache_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | b->c->block_size |
drivers/md/dm-bufio.c free_buffer() -> adjust_total_allocated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | unlink | 1 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | b->c->block_size |