[go: nahoru, domu]

Searched defs:disks (Results 1 - 11 of 11) sorted by relevance

/drivers/md/
H A Dlinear.h13 struct dev_info disks[0]; member in struct:linear_conf
H A Dmultipath.c36 int i, disks = conf->raid_disks; local
44 for (i = 0; i < disks; i++) {
H A Dmd.h210 struct list_head disks; member in struct:mddev
311 /* resync even though the same disks are shared among md-devices */
546 * iterates through the 'same array disks' ringlist
549 list_for_each_entry(rdev, &((mddev)->disks), same_set)
552 list_for_each_entry_safe(rdev, tmp, &((mddev)->disks), same_set)
555 list_for_each_entry_rcu(rdev, &((mddev)->disks), same_set)
H A Draid1.c466 * disks. Setting the Returned bit ensures that this
667 * If all disks are rotational, choose the closest disk. If any disk is
670 * mixed ratation/non-rotational disks depending on workload.
1088 int i, disks; local
1255 disks = conf->raid_disks * 2;
1261 for (i = 0; i < disks; i++) {
1365 for (i = 0; i < disks; i++) {
1479 * else if it is the last working disks, ignore the error, let the
1565 * Find all failed disks within the RAID1 configuration
2043 int disks local
[all...]
H A Draid5.h212 int disks; /* disks in stripe */ member in struct:stripe_head
486 int pool_size; /* number of disks in stripeheads in pool */
488 struct disk_info *disks; member in struct:r5conf
H A Draid10.c1621 int disks, ncopies; local
1623 disks = conf->prev.raid_disks;
1626 disks = conf->geo.raid_disks;
1641 this = (this+1) % disks;
1645 first = (first + ncopies) % disks;
1672 * else if it is the last working disks, ignore the error, let the
1744 * Find all non-in_sync disks within the RAID10 configuration
3485 int layout, chunk, disks; local
3490 disks = mddev->raid_disks - mddev->delta_disks;
3495 disks
[all...]
H A Draid5.c193 if (sh->qd_idx == sh->disks - 1)
204 /* When walking through the disks in a raid5, starting at raid6_d0,
205 * We need to map each disk to a 'slot', where the data disks are slot
537 sh->disks = previous ? conf->previous_raid_disks : conf->raid_disks;
542 for (i = sh->disks; i--; ) {
596 struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev);
598 rdev = rcu_dereference(conf->disks[i].replacement);
622 struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev);
624 rdev = rcu_dereference(conf->disks[i].replacement);
743 int i, disks local
1123 int disks = sh->disks; local
1164 int disks = sh->disks; local
1188 int disks = sh->disks; local
1245 int i, count, disks = sh->disks; local
1361 int disks = sh->disks; local
1389 int disks = sh->disks; local
1438 int disks = sh->disks; local
1483 int disks = sh->disks; local
1591 int disks = sh->disks; local
1645 int overlap_clear = 0, i, disks = sh->disks; local
1975 int disks = sh->disks, i; local
2098 int disks = sh->disks, i; local
2541 int i, pd_idx = sh->pd_idx, disks = sh->disks; local
2711 int disks = previous ? conf->previous_raid_disks : conf->raid_disks; local
2721 handle_failed_stripe(struct r5conf *conf, struct stripe_head *sh, struct stripe_head_state *s, int disks, struct bio **return_bi) argument
2901 fetch_block(struct stripe_head *sh, struct stripe_head_state *s, int disk_idx, int disks) argument
2990 handle_stripe_fill(struct stripe_head *sh, struct stripe_head_state *s, int disks) argument
3013 handle_stripe_clean_event(struct r5conf *conf, struct stripe_head *sh, int disks, struct bio **return_bi) argument
3085 handle_stripe_dirtying(struct r5conf *conf, struct stripe_head *sh, struct stripe_head_state *s, int disks) argument
3211 handle_parity_checks5(struct r5conf *conf, struct stripe_head *sh, struct stripe_head_state *s, int disks) argument
3298 handle_parity_checks6(struct r5conf *conf, struct stripe_head *sh, struct stripe_head_state *s, int disks) argument
3534 int disks = sh->disks; local
3718 int disks = sh->disks; local
[all...]
/drivers/staging/lustre/lustre/llite/
H A Dlloop.c164 static struct gendisk **disks; variable in typeref:struct:gendisk
532 set_capacity(disks[lo->lo_number], size);
574 set_capacity(disks[lo->lo_number], 0);
675 if (disks == NULL) {
800 disks = kzalloc(max_loop * sizeof(*disks), GFP_KERNEL);
801 if (!disks)
805 disks[i] = alloc_disk(1);
806 if (!disks[i])
814 struct gendisk *disk = disks[
[all...]
/drivers/block/
H A Dswim3.c16 * handle GCR disks
45 static struct gendisk *disks[MAX_FLOPPIES]; variable in typeref:struct:gendisk
327 fs->cur_req = blk_fetch_request(disks[fs->index]->queue);
1218 disk = disks[index] = alloc_disk(1);
H A Dfloppy.c86 /* 1995/4/24 -- Dan Fandrich -- added support for Commodore 1581 3.5" disks
411 static struct gendisk *disks[N_DRIVE]; variable in typeref:struct:gendisk
431 * The LSB (bit 2) is flipped. For most disks, the first sector
433 * disks (such as Ensoniq EPS 16plus) it is 0 (represented as 0x01<<2).
434 * For Amstrad CPC disks it is 0xC1 (represented as 0xC0<<2).
2564 /* 2M disks have phantom sectors on the first track */
2803 q = disks[fdc_queue]->queue;
3398 * We do this in order to provide a means to eject floppy disks before
3699 set_capacity(disks[drive], floppy_sizes[new_dev]);
4161 return get_disk(disks[driv
[all...]
H A DDAC960.h2318 struct gendisk *disks[DAC960_MaxLogicalDrives]; member in struct:DAC960_Controller

Completed in 142 milliseconds