Lines Matching defs:new

494 /* mddev_suspend makes sure no new requests are submitted
742 struct mddev *mddev, *new = NULL;
755 kfree(new);
759 if (new) {
760 list_add(&new->all_mddevs, &all_mddevs);
762 new->hold_active = UNTIL_IOCTL;
763 return new;
765 } else if (new) {
779 kfree(new);
785 new->unit = dev;
786 new->md_minor = MINOR(dev);
787 new->hold_active = UNTIL_STOP;
788 list_add(&new->all_mddevs, &all_mddevs);
790 return new;
794 new = kzalloc(sizeof(*new), GFP_KERNEL);
795 if (!new)
798 new->unit = unit;
800 new->md_minor = MINOR(unit);
802 new->md_minor = MINOR(unit) >> MdpMinorShift;
804 mddev_init(new);
1155 * is new enough. Return 0 or -EINVAL
1405 /* just a hot-add of a new device, leave raid_disk at -1 */
1702 /* Some padding is non-zero, might be a new feature */
1942 /* just a hot-add of a new device, leave raid_disk at -1 */
2271 /* All necessary checks on new >= old have been done */
3411 sector_t new;
3419 new = blocks * 2;
3420 if (new != blocks * 2)
3423 *sectors = new;
4002 * - new personality will access other array.
4019 /* Now find the new personality */
4634 /* The new device is added to the array.
5213 unsigned long long new;
5216 err = kstrtoull(buf, 10, &new);
5219 if (new != (sector_t)new)
5230 mddev->suspend_lo = new;
5250 unsigned long long new;
5253 err = kstrtoull(buf, 10, &new);
5256 if (new != (sector_t)new)
5267 mddev->suspend_hi = new;
5292 unsigned long long new;
5295 err = kstrtoull(buf, 10, &new);
5298 if (new != (sector_t)new)
5306 mddev->reshape_position = new;
7171 * The original usage is when creating a new array.
7280 * happening, and if the new size is acceptable. It must fit before the
7583 * Commands creating/starting a new array:
9686 * perform resync with the new activated disk */