Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-snap.c __origin_write() -> alloc_pending_exception()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->active | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | s->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | s->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | s->store | 4096-ptr_max |
| PARAM_VALUE | 0 | s->store->type->prepare_exception | 4096-ptr_max |
| PARAM_VALUE | 0 | s->ti | 4096-ptr_max |
| PARAM_VALUE | 0 | s->ti->table | 4096-ptr_max |
| PARAM_VALUE | 0 | s->ti->table->num_targets | 1-4294967295 |
| PARAM_VALUE | 0 | s->valid | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &s->list | 1 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &_origins_lock | ||
| LOCK2 | 0 | &s->lock | |
| TYPE_LOCK | (struct dm_snapshot)->lock |
drivers/md/dm-snap.c snapshot_map() -> alloc_pending_exception()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | s->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->store | 4096-ptr_max |
| PARAM_VALUE | 0 | s->valid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| CAPPED_DATA | 0 | &s->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &md->io_barrier | ||
| LOCK2 | 0 | &s->lock | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_snapshot)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |