Home
last modified time | relevance | path

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

/drivers/md/
Ddm-table.c53 unsigned int num_targets; member
173 int n = t->num_targets; in alloc_targets()
203 unsigned num_targets, struct mapped_device *md) in dm_table_create() argument
214 if (!num_targets) in dm_table_create()
215 num_targets = KEYS_PER_NODE; in dm_table_create()
217 num_targets = dm_round_up(num_targets, KEYS_PER_NODE); in dm_table_create()
219 if (alloc_targets(t, num_targets)) { in dm_table_create()
259 for (i = 0; i < t->num_targets; i++) { in dm_table_destroy()
299 if (t->num_targets >= t->num_allocated) in check_space()
575 if (!table->num_targets) in adjoin()
[all …]
Ddm-ioctl.c1052 unsigned int i, num_targets; in retrieve_status() local
1067 num_targets = dm_table_get_num_targets(table); in retrieve_status()
1068 for (i = 0; i < num_targets; i++) { in retrieve_status()
1117 param->target_count = num_targets; in retrieve_status()
/drivers/scsi/
Dvirtio_scsi.c876 u32 sg_elems, num_targets; in virtscsi_probe() local
884 num_targets = virtscsi_config_get(vdev, max_target) + 1; in virtscsi_probe()
922 shost->max_id = num_targets; in virtscsi_probe()
/drivers/scsi/ibmvscsi/
Dibmvfc.h696 int num_targets; member
Dibmvfc.c3961 for (i = 0, rc = 0; !rc && i < vhost->num_targets; i++) in ibmvfc_alloc_targets()
3983 vhost->num_targets = rsp->num_written; in ibmvfc_discover_targets_done()