max_dev          1523 drivers/md/md.c 	int size = 256 + le32_to_cpu(sb->max_dev)*2;
max_dev          1585 drivers/md/md.c 	    le32_to_cpu(sb->max_dev) > (4096-256)/2 ||
max_dev          1614 drivers/md/md.c 	rdev->sb_size = le32_to_cpu(sb->max_dev) * 2 + 256;
max_dev          1685 drivers/md/md.c 		rdev->desc_nr < le32_to_cpu(sb->max_dev) &&
max_dev          1826 drivers/md/md.c 		    rdev->desc_nr < le32_to_cpu(sb->max_dev) &&
max_dev          1847 drivers/md/md.c 		    rdev->desc_nr >= le32_to_cpu(sb->max_dev)) {
max_dev          1904 drivers/md/md.c 	int max_dev, i;
max_dev          2020 drivers/md/md.c 	max_dev = 0;
max_dev          2022 drivers/md/md.c 		if (rdev2->desc_nr+1 > max_dev)
max_dev          2023 drivers/md/md.c 			max_dev = rdev2->desc_nr+1;
max_dev          2025 drivers/md/md.c 	if (max_dev > le32_to_cpu(sb->max_dev)) {
max_dev          2027 drivers/md/md.c 		sb->max_dev = cpu_to_le32(max_dev);
max_dev          2028 drivers/md/md.c 		rdev->sb_size = max_dev * 2 + 256;
max_dev          2033 drivers/md/md.c 		max_dev = le32_to_cpu(sb->max_dev);
max_dev          2035 drivers/md/md.c 	for (i=0; i<max_dev;i++)
max_dev           297 include/uapi/linux/raid/md_p.h 	__le32	max_dev;	/* size of devs[] array to consider */