Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/md/dm-cache-target.c, line 2261
- drivers/md/dm-mpath.c
- drivers/md/dm-raid.c, line 3045
- drivers/md/dm-snap.c, line 1258
- drivers/md/dm-stats.c, line 1027
- drivers/md/dm-table.c, line 830
- drivers/md/dm-thin.c, line 3322
- drivers/md/dm-vdo/dm-vdo-target.c
Smatch caller information:
drivers/md/dm-cache-target.c parse_policy() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 8270673444827496448 |
| PARAM_VALUE | 0 | as->argv | 4097-18446744073709547521 |
| DATA_SOURCE | 0 | as | $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-snap.c snapshot_ctr() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 529356714140344320 |
| PARAM_VALUE | 0 | as->argc | 4-s32max |
| PARAM_VALUE | 0 | as->argv | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | num_args | 4 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-vdo/dm-vdo-target.c parse_device_config() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 5057543457658195968 |
| PARAM_VALUE | 0 | as->argv | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | num_args | 2 |
| NOCHECK_CALL |
drivers/md/dm-vdo/dm-vdo-target.c parse_device_config() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 5057543457658195968 |
| PARAM_VALUE | 0 | as->argv | 0-18446744073709547521 |
| PARAM_VALUE | 1 | num_args | 1 |
| NOCHECK_CALL |
drivers/md/dm-vdo/dm-vdo-target.c parse_device_config() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 5057543457658195968 |
| PARAM_VALUE | 0 | as->argv | 0-18446744073709547521 |
| PARAM_VALUE | 1 | num_args | 1 |
| NOCHECK_CALL |
drivers/md/dm-mpath.c parse_hw_handler() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 2980714896391716864 |
| PARAM_VALUE | 0 | as->argv | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | num_args | 1-u32max |
| DATA_SOURCE | 0 | as | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-mpath.c parse_hw_handler() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 2980714896391716864 |
| PARAM_VALUE | 0 | as->argv | 4097-18446744073709547521 |
| DATA_SOURCE | 0 | as | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-mpath.c parse_path_selector() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 2980714896391716864 |
| PARAM_VALUE | 0 | as->argv | 4097-18446744073709547521 |
| DATA_SOURCE | 0 | as | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-mpath.c parse_priority_group() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 2980714896391716864 |
| PARAM_VALUE | 0 | as->argv | 0-18446744073709547521 |
| PARAM_VALUE | 1 | num_args | 1-u32max |
| CAPPED_DATA | 1 | num_args | 1 |
| DATA_SOURCE | 0 | as | $0 |
| PARAM_COMPARE | 0 | as->argc | >= $1 |
| PARAM_COMPARE | 1 | num_args | <= $0->argc |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-thin.c pool_ctr() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 2155308855096033280 |
| PARAM_VALUE | 0 | as->argc | 4-s32max |
| PARAM_VALUE | 0 | as->argv | 4096-ptr_max |
| PARAM_VALUE | 1 | num_args | 4 |
| NOCHECK_CALL | |||
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |
drivers/md/dm-raid.c raid_ctr() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 7065915361211285504 |
| PARAM_VALUE | 0 | as->argv | 4097-18446744073709547521 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-stats.c message_stats_create() -> dm_consume_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as | 2987840168857083904 |
| PARAM_VALUE | 0 | as->argc | 3-s32max |
| PARAM_VALUE | 0 | as->argv | 4096-ptr_max |
| PARAM_VALUE | 0 | *as->argv | 4096-ptr_max |
| PARAM_VALUE | 1 | num_args | 1 |
| NOCHECK_CALL |