Defined in 3 files as a function:
- drivers/md/dm-cache-target.c, line 3137 (as a function)
- drivers/md/dm-clone-target.c, line 1382 (as a function)
- drivers/md/dm-thin.c, line 3882 (as a function)
Referenced in 3 files:
- drivers/md/dm-cache-target.c, line 3236
- drivers/md/dm-clone-target.c, line 1470
- drivers/md/dm-thin.c, line 4029
Smatch caller information:
drivers/md/dm-cache-target.c cache_status() -> emit_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->cmd->fail_io | 0 |
| PARAM_VALUE | 0 | clone->cmd->root_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | clone->cmd->root_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | clone->cmd->root_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | clone->cmd->root_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | clone->cmd->root_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | clone->policy | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->policy->residency | 4096-ptr_max |
| PARAM_VALUE | 1 | result->status | 0 |
| PARAM_VALUE | 3 | sz_ptr | 6631075072274251776 |
| PARAM_VALUE | 3 | *sz_ptr | s32min-s32max |
| BUF_SIZE | 0 | clone | 16,40-s32max |
| BUF_SIZE | 0 | clone | 16,40-s32max |
| DATA_SOURCE | 1 | result | $3 |
| DATA_SOURCE | 2 | maxlen | $4 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | clone->cmd->bm->bufio->slab_buffer->object_size | |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-clone-target.c clone_status() -> emit_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->cmd->fail_io | 0 |
| PARAM_VALUE | 0 | clone->cmd->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | clone->cmd->lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | clone->cmd->lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | clone->cmd->lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | clone->cmd->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | result->status | 0 |
| PARAM_VALUE | 3 | sz_ptr | 3612607876781641728 |
| PARAM_VALUE | 3 | *sz_ptr | 0-s32max |
| BUF_SIZE | 0 | clone | 16,40-s32max |
| BUF_SIZE | 0 | clone | 16,40-s32max |
| DATA_SOURCE | 1 | result | $3 |
| DATA_SOURCE | 2 | maxlen | $4 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | clone->cmd->bm->bufio->dm_io->bios.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | clone->cmd->bm->bufio->dm_io->bios.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | clone->cmd->bm->bufio->dm_io->pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | clone->cmd->bm->bufio->slab_buffer->object_size | |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin.c pool_status() -> emit_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 1 | result->status | 0 |
| PARAM_VALUE | 2 | maxlen | 0-s32max |
| DATA_SOURCE | 1 | result | $3 |
| DATA_SOURCE | 3 | sz_ptr | $4 |
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |