/drivers/md/ |
D | md-linear.c | 40 if (sector < conf->disks[mid].end_sector) in which_dev() 46 return conf->disks + lo; in which_dev() 69 conf = kzalloc(struct_size(conf, disks, raid_disks), GFP_KERNEL); in linear_conf() 78 struct dev_info *disk = conf->disks + j; in linear_conf() 117 conf->disks[0].end_sector = conf->disks[0].rdev->sectors; in linear_conf() 120 conf->disks[i].end_sector = in linear_conf() 121 conf->disks[i-1].end_sector + in linear_conf() 122 conf->disks[i].rdev->sectors; in linear_conf()
|
D | raid5.c | 119 if (sh->qd_idx == sh->disks - 1) in raid6_d0() 223 for (i = sh->disks; i--; ) in do_release_stripe() 491 init_stripe_shared_pages(struct stripe_head *sh, struct r5conf *conf, int disks) in init_stripe_shared_pages() argument 500 nr_pages = (disks + cnt - 1) / cnt; in init_stripe_shared_pages() 581 sh->disks = previous ? conf->previous_raid_disks : conf->raid_disks; in init_stripe() 586 for (i = sh->disks; i--; ) { in init_stripe() 642 struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); in raid5_calc_degraded() 644 rdev = rcu_dereference(conf->disks[i].replacement); in raid5_calc_degraded() 668 struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); in raid5_calc_degraded() 670 rdev = rcu_dereference(conf->disks[i].replacement); in raid5_calc_degraded() [all …]
|
D | raid5-cache.c | 308 struct stripe_head *sh, int disks) in r5c_handle_cached_data_endio() argument 312 for (i = sh->disks; i--; ) { in r5c_handle_cached_data_endio() 467 for (i = sh->disks; i--; ) in r5c_handle_data_cached() 483 for (i = sh->disks; i--; ) in r5c_handle_parity_cached() 925 for (i = 0; i < sh->disks; i++) { in r5l_log_stripe() 1014 for (i = 0; i < sh->disks; i++) { in r5l_write_stripe() 1864 for (i = sh->disks; i--; ) in r5l_recovery_reset_stripe() 1877 for (disk_index = 0; disk_index < sh->disks; disk_index++) { in r5l_recovery_replay_one_stripe() 1893 for (disk_index = 0; disk_index < sh->disks; disk_index++) { in r5l_recovery_replay_one_stripe() 1899 rdev = rcu_dereference(conf->disks[disk_index].rdev); in r5l_recovery_replay_one_stripe() [all …]
|
D | raid5-ppl.c | 161 int disks = sh->disks; in ops_run_partial_parity() local 183 for (i = disks; i--;) { in ops_run_partial_parity() 193 NULL, sh, (void *) (srcs + sh->disks + 2)); in ops_run_partial_parity() 298 for (i = 0; i < sh->disks; i++) { in ppl_log_stripe() 483 for (i = 0; i < sh->disks; i++) { in ppl_submit_iounit() 631 rdev = rcu_dereference(conf->disks[i].rdev); in ppl_do_flush() 895 rdev = conf->disks[dd_idx].rdev; in ppl_recover_entry() 946 parity_rdev = conf->disks[sh.pd_idx].rdev; in ppl_recover_entry() 1419 struct md_rdev *rdev = conf->disks[i].rdev; in ppl_init_log()
|
D | raid5-log.h | 17 struct stripe_head_state *s, int disks); 25 struct stripe_head *sh, int disks);
|
D | md.h | 296 struct list_head disks; member 677 list_for_each_entry(rdev, &((mddev)->disks), same_set) 680 list_for_each_entry_safe(rdev, tmp, &((mddev)->disks), same_set) 683 list_for_each_entry_rcu(rdev, &((mddev)->disks), same_set)
|
D | md-linear.h | 15 struct dev_info disks[]; member
|
D | raid5.h | 214 int disks; /* disks in stripe */ member 671 struct disk_info *disks; member
|
D | md-multipath.c | 28 int i, disks = conf->raid_disks; in multipath_map() local 36 for (i = 0; i < disks; i++) { in multipath_map()
|
D | md.c | 670 if (!mddev->raid_disks && list_empty(&mddev->disks) && in mddev_put() 695 INIT_LIST_HEAD(&mddev->disks); in mddev_init() 1256 sb->disks[rdev->desc_nr].state & in super_90_load() 1386 if (sb->disks[rdev->desc_nr].state & ( in super_90_validate() 1405 desc = sb->disks + rdev->desc_nr; in super_90_validate() 1507 sb->disks[0].state = (1<<MD_DISK_REMOVED); in super_90_sync() 1528 d = &sb->disks[rdev2->desc_nr]; in super_90_sync() 1557 mdp_disk_t *d = &sb->disks[i]; in super_90_sync() 1572 sb->this_disk = sb->disks[rdev->desc_nr]; in super_90_sync() 2366 if (list_empty(&mddev->disks)) in md_integrity_register() [all …]
|
D | md-autodetect.c | 192 if (!list_empty(&mddev->disks) || mddev->raid_disks) { in md_setup_drive()
|
D | raid10.c | 1968 int disks, ncopies; in _enough() local 1970 disks = conf->prev.raid_disks; in _enough() 1973 disks = conf->geo.raid_disks; in _enough() 1988 this = (this+1) % disks; in _enough() 1992 first = (first + ncopies) % disks; in _enough() 3969 int layout, chunk, disks; in setup_geo() local 3974 disks = mddev->raid_disks - mddev->delta_disks; in setup_geo() 3979 disks = mddev->raid_disks; in setup_geo() 3986 disks = mddev->raid_disks + mddev->delta_disks; in setup_geo() 3997 geo->raid_disks = disks; in setup_geo() [all …]
|
D | Kconfig | 22 partition to another one or to combine several redundant hard disks 71 the throughput rate if the partitions reside on distinct disks. 370 with larger ones (e.g. 512 byte sectors on 4K native disks). 657 benefit from the increased capacity offered by SMR disks. Other uses
|
D | raid1.c | 1324 int i, disks; in raid1_write_request() local 1372 disks = conf->raid_disks * 2; in raid1_write_request() 1377 for (i = 0; i < disks; i++) { in raid1_write_request() 1487 for (i = 0; i < disks; i++) { in raid1_write_request() 2210 int disks = conf->raid_disks * 2; in sync_request_write() local 2225 for (i = 0; i < disks ; i++) { in sync_request_write()
|
/drivers/block/zram/ |
D | Kconfig | 8 Pages written to these disks are compressed and stored in memory 9 itself. These disks allow very fast I/O and compression provides 13 disks and maybe many more.
|
/drivers/block/ |
D | Kconfig | 100 "GD-ROM" by SEGA to signify it is capable of reading special disks 102 disks. Select this option to access any disks in your GD ROM drive. 127 least one high-level driver (e.g. "Parallel port IDE disks", 128 "Parallel port ATAPI CD-ROMs", "Parallel port ATAPI disks" etc.) and 199 There are several ways of encrypting disks. Some of these require 295 int "Default number of RAM disks" 299 The default value is 16 RAM disks. Change this if you know what you 327 DVD-RW disks must be in restricted overwrite mode.
|
D | floppy.c | 478 static struct gendisk *disks[N_DRIVE][ARRAY_SIZE(floppy_type)]; variable 4045 set_capacity(disks[drive][ITYPE(new_dev)], floppy_sizes[new_dev]); in floppy_open() 4536 disks[drive][type] = disk; in floppy_alloc_disk() 4552 if (!disks[drive][type]) { in floppy_probe() 4554 add_disk(disks[drive][type]); in floppy_probe() 4723 device_add_disk(&floppy_device[drive].dev, disks[drive][0], in do_floppy_init() 4732 del_gendisk(disks[drive][0]); in do_floppy_init() 4747 if (!disks[drive][0]) in do_floppy_init() 4750 blk_cleanup_disk(disks[drive][0]); in do_floppy_init() 4974 if (disks[drive][i]) in floppy_module_exit() [all …]
|
D | swim3.c | 41 static struct gendisk *disks[MAX_FLOPPIES]; variable 842 struct request_queue *q = disks[fs->index]->queue; in release_drive() 1234 disks[floppy_count++] = disk; in swim3_attach()
|
/drivers/target/sbp/ |
D | Kconfig | 8 bus, for example hard disks. Similar to FireWire Target Disk mode on
|
/drivers/visorbus/ |
D | Kconfig | 11 Virtualized devices allow Linux guests on a system to share disks and
|
/drivers/firewire/ |
D | Kconfig | 44 You should also enable support for disks, CD-ROMs, etc. in the SCSI
|
/drivers/nvdimm/ |
D | Kconfig | 68 guarantee that typical disks provide) can continue to do so.
|
/drivers/usb/ |
D | Kconfig | 60 such as scanners, keyboards, mice, modems, cameras, disks,
|
/drivers/scsi/ |
D | Kconfig | 77 If you want to use SCSI hard disks, Fibre Channel disks, 78 Serial ATA (SATA) or Parallel ATA (PATA) hard disks, 127 about anything having "SCSI" in its name other than hard disks, 1037 The default value is 8 and should be supported by most hard disks. 1058 Modern hard disks are able to support 64 tags and even more, but 1062 you are using very large hard disks with large cache (>= 1 MB) that
|
/drivers/block/paride/ |
D | Kconfig | 13 tristate "Parallel port IDE disks" 44 tristate "Parallel port ATAPI disks"
|