Home
last modified time | relevance | path

Searched refs:adisk (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/md/
Dmultipath.c425 struct multipath_info *tmp, *sdisk, *fdisk, *rdisk, *adisk; in multipath_diskop() local
638 adisk = conf->multipaths + added_disk; in multipath_diskop()
647 adisk->number = added_desc->number; in multipath_diskop()
648 adisk->raid_disk = added_desc->raid_disk; in multipath_diskop()
649 adisk->dev = MKDEV(added_desc->major,added_desc->minor); in multipath_diskop()
651 adisk->operational = 0; in multipath_diskop()
652 adisk->spare = 1; in multipath_diskop()
653 adisk->used_slot = 1; in multipath_diskop()
Draid1.c889 struct mirror_info *tmp, *sdisk, *fdisk, *rdisk, *adisk; in raid1_diskop() local
1131 adisk = conf->mirrors + added_disk; in raid1_diskop()
1140 adisk->number = added_desc->number; in raid1_diskop()
1141 adisk->raid_disk = added_desc->raid_disk; in raid1_diskop()
1142 adisk->dev = MKDEV(added_desc->major,added_desc->minor); in raid1_diskop()
1144 adisk->operational = 0; in raid1_diskop()
1145 adisk->write_only = 0; in raid1_diskop()
1146 adisk->spare = 1; in raid1_diskop()
1147 adisk->used_slot = 1; in raid1_diskop()
1148 adisk->head_position = 0; in raid1_diskop()
Draid5.c1742 struct disk_info *tmp, *sdisk, *fdisk, *rdisk, *adisk; local
1979 adisk = conf->disks + added_disk;
1988 adisk->number = added_desc->number;
1989 adisk->raid_disk = added_desc->raid_disk;
1990 adisk->dev = MKDEV(added_desc->major,added_desc->minor);
1992 adisk->operational = 0;
1993 adisk->write_only = 0;
1994 adisk->spare = 1;
1995 adisk->used_slot = 1;