Lines Matching defs:start
204 static DEVICE_ATTR(start, 0444, part_start_show, NULL);
300 sector_t start, sector_t len, int flags,
344 bdev->bd_start_sect = start;
417 static bool partition_overlaps(struct gendisk *disk, sector_t start,
427 start < part->bd_start_sect + bdev_nr_sectors(part) &&
428 start + length > part->bd_start_sect) {
438 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start,
446 if (check_add_overflow(start, length, &end)) {
451 if (start >= capacity || end > capacity) {
466 if (partition_overlaps(disk, start, length, -1)) {
471 part = add_partition(disk, partno, start, length,
500 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start,
512 if (start != part->bd_start_sect)
516 if (partition_overlaps(disk, start, length, partno))
552 "%s: p%d start %llu is beyond EOD, ",