| /Linux-v5.15/drivers/md/ |
| D | dm-ima.c | 103 unsigned int num_targets, bool noio) in dm_ima_alloc_and_copy_device_data() argument 121 md->disk->minors, num_targets); in dm_ima_alloc_and_copy_device_data() 186 unsigned int num_targets, i; in dm_ima_measure_on_table_load() local 210 num_targets = dm_table_get_num_targets(table); in dm_ima_measure_on_table_load() 212 if (dm_ima_alloc_and_copy_device_data(table->md, &device_data_buf, num_targets, noio)) in dm_ima_measure_on_table_load() 236 for (i = 0; i < num_targets; i++) { in dm_ima_measure_on_table_load() 347 table->md->ima.inactive_table.num_targets = num_targets; in dm_ima_measure_on_table_load() 406 md->ima.active_table.num_targets = 0; in dm_ima_measure_on_device_resume() 420 md->ima.active_table.num_targets = md->ima.inactive_table.num_targets; in dm_ima_measure_on_device_resume() 423 md->ima.inactive_table.num_targets = 0; in dm_ima_measure_on_device_resume() [all …]
|
| D | dm-table.c | 127 unsigned num_targets, struct mapped_device *md) in dm_table_create() argument 136 if (!num_targets) in dm_table_create() 137 num_targets = KEYS_PER_NODE; in dm_table_create() 139 num_targets = dm_round_up(num_targets, KEYS_PER_NODE); in dm_table_create() 141 if (!num_targets) { in dm_table_create() 146 if (alloc_targets(t, num_targets)) { in dm_table_create() 186 for (i = 0; i < t->num_targets; i++) { in dm_table_destroy() 459 if (!table->num_targets) in adjoin() 462 prev = &table->targets[table->num_targets - 1]; in adjoin() 649 BUG_ON(t->num_targets >= t->num_allocated); in dm_table_add_target() [all …]
|
| D | dm-ima.h | 40 unsigned int num_targets; member
|
| D | dm-core.h | 175 unsigned int num_targets; member
|
| D | dm-ioctl.c | 1227 unsigned int i, num_targets; in retrieve_status() local 1244 num_targets = dm_table_get_num_targets(table); in retrieve_status() 1245 for (i = 0; i < num_targets; i++) { in retrieve_status() 1294 param->target_count = num_targets; in retrieve_status()
|
| /Linux-v5.15/Documentation/admin-guide/device-mapper/ |
| D | dm-ima.rst | 120 num_device_targets := "num_targets=" <N> 162 name=linear1,uuid=,major=253,minor=0,minor_count=1,num_targets=4; 203 name=linear1,uuid=,major=253,minor=0,minor_count=1,num_targets=4; 241 device_active_metadata=name=l1,uuid=,major=253,minor=2,minor_count=1,num_targets=2; 242 device_inactive_metadata=name=l1,uuid=,major=253,minor=2,minor_count=1,num_targets=1; 275 name=l1,uuid=,major=253,minor=2,minor_count=1,num_targets=1; 308 …name=linear1,uuid=,major=253,minor=2,minor_count=1,num_targets=1;new_name=linear1,new_uuid=1234-56… 320 name=linear1,uuid=1234-5678,major=253,minor=2,minor_count=1,num_targets=1; 369 dm_version=4.45.0;name=cache1,uuid=cache_uuid,major=253,minor=2,minor_count=1,num_targets=1; 413 name=crypt1,uuid=crypt_uuid1,major=253,minor=0,minor_count=1,num_targets=1; [all …]
|
| /Linux-v5.15/drivers/scsi/ |
| D | virtio_scsi.c | 846 u32 sg_elems, num_targets; in virtscsi_probe() local 860 num_targets = virtscsi_config_get(vdev, max_target) + 1; in virtscsi_probe() 888 shost->max_id = num_targets; in virtscsi_probe()
|
| /Linux-v5.15/include/linux/ |
| D | device-mapper.h | 514 unsigned num_targets, struct mapped_device *md);
|
| /Linux-v5.15/drivers/scsi/ibmvscsi/ |
| D | ibmvfc.h | 852 int num_targets; member
|
| D | ibmvfc.c | 4814 for (i = 0, rc = 0; !rc && i < vhost->num_targets; i++) in ibmvfc_alloc_targets() 4835 vhost->num_targets = be32_to_cpu(rsp->num_written); in ibmvfc_discover_targets_done()
|
| /Linux-v5.15/drivers/scsi/esas2r/ |
| D | atioctl.h | 747 u32 num_targets; member
|
| D | esas2r_ioctl.c | 841 gai->num_targets = ESAS2R_MAX_TARGETS; in hba_ioctl_callback() 844 gai->num_targsper_bus = gai->num_targets; in hba_ioctl_callback()
|