Searched refs:mdidx (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/drivers/md/ |
D | md.c | 328 md_size[mdidx(mddev)] += rdev->size; in zoned_raid_size() 353 mdidx(mddev), partition_name(rdev->dev)); in md_check_ordering() 368 mdidx(mddev), mddev->sb->raid_disks, mddev->nb_dev); in md_check_ordering() 382 mdidx(mddev), i); in md_check_ordering() 387 mdidx(mddev), i); in md_check_ordering() 630 mdidx(mddev), partition_name(rdev->dev), in bind_rdev_to_array() 744 md_size[mdidx(mddev)] = 0; in free_mddev() 745 md_hd_struct[mdidx(mddev)].nr_sects = 0; in free_mddev() 756 del_mddev_mapping(mddev, MKDEV(MD_MAJOR, mdidx(mddev))); in free_mddev() 830 printk("md%d: ", mdidx(mddev)); in md_print_devices() [all …]
|
D | linear.c | 69 md_size[mdidx(mddev)] / conf->smallest->size + in linear_run() 70 ((md_size[mdidx(mddev)] % conf->smallest->size) ? 1 : 0); in linear_run()
|
D | raid0.c | 141 printk("raid0 : md_size is %d blocks.\n", md_size[mdidx(mddev)]); in raid0_run() 143 nb_zone = md_size[mdidx(mddev)]/conf->smallest->size + in raid0_run() 144 (md_size[mdidx(mddev)] % conf->smallest->size ? 1 : 0); in raid0_run()
|
D | multipath.c | 840 printk(INVALID_LEVEL, mdidx(mddev), sb->level); in multipath_run() 852 printk(MEM_ERROR, mdidx(mddev)); in multipath_run() 954 printk(NONE_OPERATIONAL, mdidx(mddev)); in multipath_run() 969 printk(MEM_ERROR, mdidx(mddev)); in multipath_run() 989 printk(THREAD_ERROR, mdidx(mddev)); in multipath_run() 1006 printk(ARRAY_IS_ACTIVE, mdidx(mddev), sb->active_disks, in multipath_run()
|
D | raid5.c | 1380 printk("raid5: md%d: raid level not set to 4/5 (%d)\n", mdidx(mddev), sb->level); in raid5_run() 1409 PRINTK("raid5_run(md%d) called.\n", mdidx(mddev)); in raid5_run() 1515 printk(KERN_ERR "raid5: invalid chunk size %d for md%d\n", conf->chunk_size, mdidx(mddev)); in raid5_run() 1519 …printk(KERN_ERR "raid5: unsupported parity algorithm %d for md%d\n", conf->algorithm, mdidx(mddev)… in raid5_run() 1523 …printk(KERN_ERR "raid5: not enough operational devices for md%d (%d/%d failed)\n", mdidx(mddev), c… in raid5_run() 1528 …ERN_ALERT "raid5: md%d, not all disks are operational -- trying to recover array\n", mdidx(mddev)); in raid5_run() 1537 printk(KERN_ERR "raid5: couldn't allocate thread for md%d\n", mdidx(mddev)); in raid5_run() 1549 printk(KERN_INFO "raid5: allocated %dkB for md%d\n", memory, mdidx(mddev)); in raid5_run() 1567 … set md%d active with %d out of %d devices, algorithm %d\n", conf->level, mdidx(mddev), sb->active… in raid5_run() 1569 … set md%d active with %d out of %d devices, algorithm %d\n", conf->level, mdidx(mddev), sb->active… in raid5_run() [all …]
|
D | raid1.c | 1593 printk(INVALID_LEVEL, mdidx(mddev), sb->level); in raid1_run() 1605 printk(MEM_ERROR, mdidx(mddev)); in raid1_run() 1697 printk(NONE_OPERATIONAL, mdidx(mddev)); in raid1_run() 1714 printk(MEM_ERROR, mdidx(mddev)); in raid1_run() 1754 printk(THREAD_ERROR, mdidx(mddev)); in raid1_run() 1765 printk(THREAD_ERROR, mdidx(mddev)); in raid1_run() 1769 printk(START_RESYNC, mdidx(mddev)); in raid1_run() 1773 …ERN_ALERT "raid1: md%d, not all disks are operational -- trying to recover array\n", mdidx(mddev)); in raid1_run() 1796 printk(ARRAY_IS_ACTIVE, mdidx(mddev), sb->active_disks, sb->raid_disks); in raid1_run()
|
/linux-2.4.37.9/include/linux/raid/ |
D | md_k.h | 253 static inline int mdidx (mddev_t * mddev) in mdidx() function 260 return MKDEV(MD_MAJOR, mdidx(mddev)); in mddev_to_kdev()
|