Home
last modified time | relevance | path

Searched refs:num_targets (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-table.c129 unsigned num_targets, struct mapped_device *md) in dm_table_create() argument
138 if (!num_targets) in dm_table_create()
139 num_targets = KEYS_PER_NODE; in dm_table_create()
141 num_targets = dm_round_up(num_targets, KEYS_PER_NODE); in dm_table_create()
143 if (!num_targets) { in dm_table_create()
148 if (alloc_targets(t, num_targets)) { in dm_table_create()
186 for (unsigned int i = 0; i < t->num_targets; i++) { in dm_table_destroy()
456 if (!t->num_targets) in adjoin()
459 prev = &t->targets[t->num_targets - 1]; in adjoin()
594 for (i = 0; i < t->num_targets; i++) { in validate_hardware_logical_block_alignment()
[all …]
Ddm-ima.c104 unsigned int num_targets, bool noio) in dm_ima_alloc_and_copy_device_data() argument
122 md->disk->minors, num_targets); in dm_ima_alloc_and_copy_device_data()
187 unsigned int num_targets, i; in dm_ima_measure_on_table_load() local
211 num_targets = table->num_targets; in dm_ima_measure_on_table_load()
213 if (dm_ima_alloc_and_copy_device_data(table->md, &device_data_buf, num_targets, noio)) in dm_ima_measure_on_table_load()
237 for (i = 0; i < num_targets; i++) { in dm_ima_measure_on_table_load()
345 table->md->ima.inactive_table.num_targets = num_targets; in dm_ima_measure_on_table_load()
404 md->ima.active_table.num_targets = 0; in dm_ima_measure_on_device_resume()
418 md->ima.active_table.num_targets = md->ima.inactive_table.num_targets; in dm_ima_measure_on_device_resume()
421 md->ima.inactive_table.num_targets = 0; in dm_ima_measure_on_device_resume()
[all …]
Ddm-core.h197 unsigned int num_targets; member
232 BUG_ON(index >= t->num_targets); in dm_table_get_target()
Ddm-ima.h40 unsigned int num_targets; member
Ddm-verity-loadpin.c70 if (table->num_targets != 1) in dm_verity_loadpin_is_bdev_trusted()
Ddm-ioctl.c835 param->target_count = table->num_targets; in __dev_status()
848 param->target_count = table->num_targets; in __dev_status()
1234 unsigned int i, num_targets; in retrieve_status() local
1251 num_targets = table->num_targets; in retrieve_status()
1252 for (i = 0; i < num_targets; i++) { in retrieve_status()
1301 param->target_count = num_targets; in retrieve_status()
Ddm-zone.c276 for (unsigned int i = 0; i < t->num_targets; i++) { in dm_table_supports_zone_append()
Ddm.c425 if (map->num_targets != 1) in dm_prepare_ioctl()
1555 for (unsigned int i = 0; i < t->num_targets; i++) { in __send_empty_flush()
3137 if (table->num_targets != 1) in dm_call_pr()
/linux-6.1.9/Documentation/admin-guide/device-mapper/
Ddm-ima.rst120 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-6.1.9/drivers/scsi/
Dvirtio_scsi.c846 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-6.1.9/include/linux/
Ddevice-mapper.h528 unsigned num_targets, struct mapped_device *md);
/linux-6.1.9/fs/cifs/
Dconnect.c349 static bool cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *server, int num_targets) in cifs_tcp_ses_needs_reconnect() argument
352 server->nr_targets = num_targets; in cifs_tcp_ses_needs_reconnect()
496 int num_targets = 0; in reconnect_dfs_server() local
507 num_targets = dfs_cache_get_nr_tgts(&tl); in reconnect_dfs_server()
508 if (!num_targets) in reconnect_dfs_server()
509 num_targets = 1; in reconnect_dfs_server()
511 if (!cifs_tcp_ses_needs_reconnect(server, num_targets)) in reconnect_dfs_server()
/linux-6.1.9/drivers/scsi/ibmvscsi/
Dibmvfc.h852 int num_targets; member
Dibmvfc.c4824 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-6.1.9/drivers/scsi/esas2r/
Datioctl.h747 u32 num_targets; member
Desas2r_ioctl.c841 gai->num_targets = ESAS2R_MAX_TARGETS; in hba_ioctl_callback()
844 gai->num_targsper_bus = gai->num_targets; in hba_ioctl_callback()