Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/md/dm-rq.c dm_mq_init_request_queue() -> dm_table_get_immutable_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm.c __bind() -> dm_table_get_immutable_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | t | $1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-table.c dm_table_determine_type() -> dm_table_get_immutable_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->num_targets | 0-1 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| DATA_SOURCE | 0 | t | $0 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |