Lines Matching defs:top
534 * @t: the stacking driver limits (top device)
542 * struct (top) and then iteratively call the stacking function for
546 * Returns 0 if the top and bottom queue_limits are compatible. The
547 * top device's block sizes and alignment offsets may be adjusted to
549 * and alignments exist, -1 is returned and the resulting top
556 unsigned int top, bottom, alignment, ret = 0;
586 * compatible with the current top alignment.
590 top = max(t->physical_block_size, t->io_min)
594 /* Verify that top and bottom intervals line up */
595 if (max(top, bottom) % min(top, bottom)) {
667 top = t->discard_granularity + t->discard_alignment;
670 /* Verify that top and bottom intervals line up */
671 if ((max(top, bottom) % min(top, bottom)) != 0)
699 * @disk: MD/DM gendisk (top)
704 * Merges the limits for a top level gendisk and a bottom level