Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-zone.c dm_set_zones_restrictions() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 0 | ti->zone_reset_all_supported | 1 |
| PARAM_VALUE | 1 | fn | 6742775380001144832 |
| PARAM_VALUE | 2 | data | 7926165188692516864 |
| BUF_SIZE | 2 | data | 24 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-zone.c dm_table_supports_zone_append() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->emulate_zone_append | 0 |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 815863024344264704 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm.c dm_blk_get_unique_id() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 2637149776170364928 |
| PARAM_VALUE | 2 | data | 1649751760862515200 |
| BUF_SIZE | 2 | data | 16 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm.c dm_call_pr() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 933180574194110464,1736316434326450176,3031323113382760448,5391604328065175552,5786661438538756096,8425738183166255104 |
| PARAM_VALUE | 2 | data | 378612103423078400,723454052082262016,1412907351657136128,4015751368009588736,6267726303127592960,6785726576701890560 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| DATA_SOURCE | 1 | fn | $1 |
| DATA_SOURCE | 2 | data | $2 |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-table.c dm_calculate_queue_limits() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 6185137238436073472 |
| PARAM_VALUE | 2 | data | 3585778653106552832 |
| BUF_SIZE | 2 | data | 200 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| MEM_ZERO | 2 | data | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_calculate_queue_limits() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 656053267108073472 |
| PARAM_VALUE | 2 | data | 3585778653106552832 |
| BUF_SIZE | 2 | data | 200 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| MEM_ZERO | 2 | data | |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_exec_wrappedkey_op() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 5697651580636422144 |
| PARAM_VALUE | 2 | data | 1941330187774271488,2610033976547110912,3742186005977329664,6152749359658450944 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| DATA_SOURCE | 2 | data | $1 |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| RX_PATH | |||
| LOCK2 | &md->io_barrier | ||
| LOCK2 | &profile->lock | ||
| TYPE_LOCK | (struct blk_crypto_profile)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-table.c dm_keyslot_evict() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 547939364516802560 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| DATA_SOURCE | 2 | data | $1 |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &profile->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-table.c dm_table_any_dev_attr() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 1333630607584403456,6111346008865816576 |
| BUF_SIZE | 2 | data | (-1),4 |
| BUF_SIZE | 2 | data | (-1),4 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| DATA_SOURCE | 1 | fn | $1 |
| DATA_SOURCE | 2 | data | $2 |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_table_construct_crypto_profile() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 1522520991174590464 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| BUF_SIZE | 2 | data | 472 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-table.c dm_table_determine_type() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->max_io_len | 0 |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->clone_and_map_rq | 1-u64max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 7812228580606148608 |
| PARAM_VALUE | 2 | data | 0 |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-table.c dm_table_has_no_data_devices() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 1753793183902162944 |
| PARAM_VALUE | 2 | data | 8506934402442186752 |
| PARAM_VALUE | 2 | *data | 0 |
| BUF_SIZE | 2 | data | 4 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-table.c dm_table_supports_atomic_writes() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 8313745423933091840 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_table_supports_dax() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->direct_access | 1-u64max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 1503637750716723200,3231972399595851776 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| DATA_SOURCE | 1 | fn | $1 |
| CONTAINER | 0 | -176-8+0 | $(-1) |
drivers/md/dm-table.c dm_table_supports_discards() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->discards_supported | 0 |
| PARAM_VALUE | 0 | ti->num_discard_bios | 1-u32max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 5785070552533483520 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_table_supports_secure_erase() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->num_secure_erase_bios | 1-u32max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 3256715094176935936 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_table_supports_write_zeroes() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->num_write_zeroes_bios | 1-u32max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 4210925889203630080 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_table_supports_zoned() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 1 | fn | 4237199390279073792 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_table_supports_zoned() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 8106422606458060800 |
| PARAM_VALUE | 2 | *data | 1 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c validate_hardware_logical_block_alignment() -> (struct target_type)->iterate_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | fn | 6185137238436073472 |
| PARAM_VALUE | 2 | data | 1444834312440578048 |
| BUF_SIZE | 2 | data | 200 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -176-8+0 | $(-1) |
| MEM_ZERO | 2 | data | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->suspend_lock |