Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-log-writes.c log_one_block() -> free_pending_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->blocks_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lc->logdev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->logging_enabled | 1 |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->datalen | 0-u32max |
| PARAM_VALUE | 1 | block->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | lc | 128 |
| BUF_SIZE | 0 | lc | 128 |
| DATA_SOURCE | 0 | lc | $0 |
| DATA_SOURCE | 1 | block | $1 |
| NOCHECK_CALL |
drivers/md/dm-log-writes.c log_one_block() -> free_pending_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->blocks_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lc->logdev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->logging_enabled | 1 |
| PARAM_VALUE | 0 | lc->sectorsize | 0-s32max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->datalen | 1-u32max |
| PARAM_VALUE | 1 | block->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | lc | 128 |
| BUF_SIZE | 0 | lc | 128 |
| CAPPED_DATA | 0 | lc->sectorsize | 1 |
| DATA_SOURCE | 0 | lc | $0 |
| DATA_SOURCE | 1 | block | $1 |
| NOCHECK_CALL |
drivers/md/dm-log-writes.c log_one_block() -> free_pending_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->blocks_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lc->logdev | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->logging_enabled | 1 |
| PARAM_VALUE | 0 | lc->sectorsize | 0-s32max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->datalen | 0-u32max |
| PARAM_VALUE | 1 | block->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | block->vec_cnt | 1-s32max |
| PARAM_VALUE | 1 | block->vecs | 4096-ptr_max |
| BUF_SIZE | 0 | lc | 128 |
| BUF_SIZE | 0 | lc | 128 |
| CAPPED_DATA | 0 | lc->sectorsize | 1 |
| DATA_SOURCE | 0 | lc | $0 |
| DATA_SOURCE | 1 | block | $1 |
| NOCHECK_CALL |
drivers/md/dm-log-writes.c log_writes_kthread() -> free_pending_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->blocks_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lc->logging_enabled | 0 |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | lc | 128 |
| BUF_SIZE | 0 | lc | 128 |
| CAPPED_DATA | 0 | &lc->logging_blocks | 1 |
| DATA_SOURCE | 0 | lc | $0 |
| PARAM_COMPARE | 0 | &lc->logging_blocks | != $0->logging_blocks.next |
| NOCHECK_CALL |
drivers/md/dm-log-writes.c log_writes_map() -> free_pending_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lc | 4096-ptr_max |
| PARAM_VALUE | 0 | lc->logging_enabled | 1 |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | block->list.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | lc | 16,40-s32max |
| BUF_SIZE | 0 | lc | 16,40-s32max |
| BUF_SIZE | 1 | block | 64-68719476784 |
| BUF_SIZE | 1 | block | 64-68719476784 |
| DATA_SOURCE | 1 | block | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | block->sector | 0-u64max[c] |
| USER_DATA | 1 | block->sector | 0-u64max[c] |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |