Lines Matching refs:top
481 * @t: the stacking driver limits (top device)
489 * struct (top) and then iteratively call the stacking function for
493 * Returns 0 if the top and bottom queue_limits are compatible. The
494 * top device's block sizes and alignment offsets may be adjusted to
496 * and alignments exist, -1 is returned and the resulting top
503 unsigned int top, bottom, alignment, ret = 0;
535 * compatible with the current top alignment.
539 top = max(t->physical_block_size, t->io_min)
543 /* Verify that top and bottom intervals line up */
544 if (max(top, bottom) % min(top, bottom)) {
615 top = t->discard_granularity + t->discard_alignment;
618 /* Verify that top and bottom intervals line up */
619 if ((max(top, bottom) % min(top, bottom)) != 0)
640 * @disk: MD/DM gendisk (top)
645 * Merges the limits for a top level gendisk and a bottom level
655 char top[BDEVNAME_SIZE], bottom[BDEVNAME_SIZE];
657 disk_name(disk, 0, top);
661 top, bottom);