Home
last modified time | relevance | path

Searched refs:bd_start_sect (Results 1 – 7 of 7) sorted by relevance

/linux/block/partitions/
H A Dcore.c185 return sprintf(buf, "%llu\n", dev_to_bdev(dev)->bd_start_sect); in part_start_show()
330 bdev->bd_start_sect = start; in add_partition()
416 start < part->bd_start_sect + bdev_nr_sectors(part) && in partition_overlaps()
417 start + length > part->bd_start_sect) { in partition_overlaps()
501 if (start != part->bd_start_sect) in bdev_resize_partition()
/linux/include/linux/
H A Dblkdev.h800 return bdev->bd_start_sect; in get_start_sect()
1711 sector_t bd_start_sect = bdev->bd_start_sect; in bdev_can_atomic_write() local
1716 if (!IS_ALIGNED(bd_start_sect, alignment >> SECTOR_SHIFT)) in bdev_can_atomic_write()
H A Dblk_types.h42 sector_t bd_start_sect; member
/linux/block/
H A Dblk-settings.c890 bdev->bd_start_sect); in bdev_alignment_offset()
901 bdev->bd_start_sect); in bdev_discard_alignment()
H A Dblk-lib.c19 sector += bdev->bd_start_sect; in bio_discard_limit()
H A Dblk-core.c576 bio->bi_iter.bi_sector += p->bd_start_sect; in blk_partition_remap()
579 p->bd_start_sect); in blk_partition_remap()
/linux/kernel/trace/
H A Dblktrace.c503 bt->start_lba = bdev->bd_start_sect; in blk_trace_setup_lba()
504 bt->end_lba = bdev->bd_start_sect + bdev_nr_sectors(bdev); in blk_trace_setup_lba()