/Linux-v6.6/drivers/md/ |
D | dm-table.c | 130 unsigned int num_targets, struct mapped_device *md) in dm_table_create() argument 140 if (!num_targets) in dm_table_create() 141 num_targets = KEYS_PER_NODE; in dm_table_create() 143 num_targets = dm_round_up(num_targets, KEYS_PER_NODE); in dm_table_create() 145 if (!num_targets) { in dm_table_create() 150 if (alloc_targets(t, num_targets)) { in dm_table_create() 188 for (unsigned int i = 0; i < t->num_targets; i++) { in dm_table_destroy() 467 if (!t->num_targets) in adjoin() 470 prev = &t->targets[t->num_targets - 1]; in adjoin() 605 for (i = 0; i < t->num_targets; i++) { in validate_hardware_logical_block_alignment() [all …]
|
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 = table->num_targets; 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() 344 table->md->ima.inactive_table.num_targets = num_targets; in dm_ima_measure_on_table_load() 403 md->ima.active_table.num_targets = 0; in dm_ima_measure_on_device_resume() 417 md->ima.active_table.num_targets = md->ima.inactive_table.num_targets; in dm_ima_measure_on_device_resume() 420 md->ima.inactive_table.num_targets = 0; in dm_ima_measure_on_device_resume() [all …]
|
D | dm-core.h | 198 unsigned int num_targets; member 233 BUG_ON(index >= t->num_targets); in dm_table_get_target()
|
D | dm-ima.h | 39 unsigned int num_targets; member
|
D | dm-verity-loadpin.c | 73 if (table->num_targets != 1) in dm_verity_loadpin_is_bdev_trusted()
|
D | dm-ioctl.c | 859 param->target_count = table->num_targets; in __dev_status() 873 param->target_count = table->num_targets; in __dev_status() 1265 unsigned int i, num_targets; in retrieve_status() local 1282 num_targets = table->num_targets; in retrieve_status() 1283 for (i = 0; i < num_targets; i++) { in retrieve_status() 1332 param->target_count = num_targets; in retrieve_status()
|
D | dm-zone.c | 275 for (unsigned int i = 0; i < t->num_targets; i++) { in dm_table_supports_zone_append()
|
D | dm.c | 426 if (map->num_targets != 1) in dm_prepare_ioctl() 1552 for (unsigned int i = 0; i < t->num_targets; i++) { in __send_empty_flush() 3150 if (table->num_targets != 1) in dm_call_pr()
|
/Linux-v6.6/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-v6.6/drivers/scsi/ |
D | virtio_scsi.c | 854 u32 sg_elems, num_targets; in virtscsi_probe() local 868 num_targets = virtscsi_config_get(vdev, max_target) + 1; in virtscsi_probe() 896 shost->max_id = num_targets; in virtscsi_probe()
|
/Linux-v6.6/fs/smb/client/ |
D | connect.c | 311 static bool cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *server, int num_targets) in cifs_tcp_ses_needs_reconnect() argument 314 server->nr_targets = num_targets; in cifs_tcp_ses_needs_reconnect() 458 int num_targets = 0; in reconnect_dfs_server() local 471 num_targets = dfs_cache_get_nr_tgts(&tl); in reconnect_dfs_server() 473 if (!num_targets) in reconnect_dfs_server() 474 num_targets = 1; in reconnect_dfs_server() 476 if (!cifs_tcp_ses_needs_reconnect(server, num_targets)) in reconnect_dfs_server()
|
/Linux-v6.6/include/linux/ |
D | device-mapper.h | 547 unsigned int num_targets, struct mapped_device *md);
|
/Linux-v6.6/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 852 int num_targets; member
|
D | ibmvfc.c | 4824 for (i = 0, rc = 0; !rc && i < vhost->num_targets; i++) in ibmvfc_alloc_targets() 4845 vhost->num_targets = be32_to_cpu(rsp->num_written); in ibmvfc_discover_targets_done()
|
/Linux-v6.6/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()
|