Lines Matching defs:new

434 /* mddev_suspend makes sure no new requests are submitted
584 /* new request after previous flush is completed */
716 struct mddev *new;
722 new = kzalloc(sizeof(*new), GFP_KERNEL);
723 if (!new)
725 mddev_init(new);
732 new->unit = unit;
734 new->md_minor = MINOR(unit);
736 new->md_minor = MINOR(unit) >> MdpMinorShift;
737 new->hold_active = UNTIL_IOCTL;
740 new->unit = mddev_alloc_unit();
741 if (!new->unit)
743 new->md_minor = MINOR(new->unit);
744 new->hold_active = UNTIL_STOP;
747 list_add(&new->all_mddevs, &all_mddevs);
749 return new;
752 kfree(new);
1115 * is new enough. Return 0 or -EINVAL
1364 /* just a hot-add of a new device, leave raid_disk at -1 */
1659 /* Some padding is non-zero, might be a new feature */
1898 /* just a hot-add of a new device, leave raid_disk at -1 */
2226 /* All necessary checks on new >= old have been done */
3357 sector_t new;
3365 new = blocks * 2;
3366 if (new != blocks * 2)
3369 *sectors = new;
3946 * - new personality will access other array.
3963 /* Now find the new personality */
4564 /* The new device is added to the array.
5186 unsigned long long new;
5189 err = kstrtoull(buf, 10, &new);
5192 if (new != (sector_t)new)
5203 mddev->suspend_lo = new;
5223 unsigned long long new;
5226 err = kstrtoull(buf, 10, &new);
5229 if (new != (sector_t)new)
5240 mddev->suspend_hi = new;
5265 unsigned long long new;
5268 err = kstrtoull(buf, 10, &new);
5271 if (new != (sector_t)new)
5279 mddev->reshape_position = new;
7086 * If the new disk does not support REQ_NOWAIT,
7203 * The original usage is when creating a new array.
7312 * happening, and if the new size is acceptable. It must fit before the
7646 * Commands creating/starting a new array:
9463 * Never start a new sync thread if MD_RECOVERY_RUNNING is
9825 * perform resync with the new activated disk */