Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 26 files:
- drivers/md/dm-crypt.c, line 3296
- drivers/md/dm-delay.c, line 199
- drivers/md/dm-dust.c, line 369
- drivers/md/dm-ebs-target.c, line 293
- drivers/md/dm-flakey.c, line 320
- drivers/md/dm-inlinecrypt.c, line 368
- drivers/md/dm-integrity.c
- drivers/md/dm-ioctl.c
- drivers/md/dm-linear.c, line 55
- drivers/md/dm-log-userspace-base.c, line 296
- drivers/md/dm-log-writes.c
- drivers/md/dm-log.c, line 564
- drivers/md/dm-mpath.c, line 943
- drivers/md/dm-raid.c
- drivers/md/dm-raid1.c, line 968
- drivers/md/dm-snap.c
- drivers/md/dm-stripe.c, line 74
- drivers/md/dm-switch.c, line 211
- drivers/md/dm-table.c, line 2123
- drivers/md/dm-target.c, line 145
- drivers/md/dm-thin.c, line 4224
- drivers/md/dm-unstripe.c, line 77
- drivers/md/dm-vdo/dm-vdo-target.c, line 968
- drivers/md/dm-verity-target.c, line 1441
- drivers/md/dm-writecache.c
- drivers/md/dm-zoned-target.c, line 698
Smatch caller information:
drivers/md/dm-log-writes.c log_writes_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-log-writes.c log_writes_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->md->disk | 1 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-zoned-target.c dmz_get_zoned_device() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-log-userspace-base.c userspace_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated |
drivers/md/dm-log.c disk_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated |
drivers/md/dm-snap.c origin_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-snap.c snapshot_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->md->disk | 1 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-ebs-target.c ebs_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-vdo/dm-vdo-target.c parse_device_config() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated |
drivers/md/dm-ioctl.c __dev_status() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| DATA_SOURCE | 0 | t | r dm_get_inactive_table |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-ioctl.c do_resume() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| CAPPED_DATA | 0 | t | 1 |
drivers/md/dm-delay.c delay_class_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-mpath.c parse_path() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-thin.c thin_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |
drivers/md/dm-writecache.c writecache_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-writecache.c writecache_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->md->disk | 1 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-dust.c dust_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-switch.c parse_path() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-unstripe.c unstripe_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-crypt.c crypt_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-raid1.c get_mirror() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-raid.c parse_dev_params() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-raid.c parse_dev_params() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-raid.c parse_raid_params() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-linear.c linear_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-stripe.c get_stripe() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-target.c io_err_get_args() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-inlinecrypt.c inlinecrypt_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-flakey.c flakey_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-verity-target.c verity_ctr() -> dm_table_get_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->mode | 1,3 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |