Searched refs:bd_partno (Results 1 – 9 of 9) sorted by relevance
184 return sprintf(buf, "%d\n", dev_to_bdev(dev)->bd_partno); in part_partition_show()261 add_uevent_var(env, "PARTN=%u", part->bd_partno); in part_uevent()281 xa_erase(&part->bd_disk->part_tbl, part->bd_partno); in delete_partition()366 if (bdev->bd_partno < disk->minors) { in add_partition()367 devt = MKDEV(disk->major, disk->first_minor + bdev->bd_partno); in add_partition()432 if (part->bd_partno != skip_partno && in partition_overlaps()
62 if ((part)->bd_partno) \
56 u8 bd_partno; member
1105 return bdev->bd_partno; in bdev_is_partition()
724 if (bdev->bd_partno && unlikely(blk_partition_remap(bio))) in submit_bio_noacct()924 if (part->bd_partno) { in update_io_ticks()
496 bdev->bd_partno = partno; in bdev_alloc()
137 (!mi->part->bd_partno || rq->part == mi->part) && in blk_mq_check_inflight()
136 dev_to_bdev(dev)->bd_partno + offset); in devt_from_partuuid()
971 if (bdev->bd_partno) { in bdev_name()977 buf = number(buf, end, bdev->bd_partno, spec); in bdev_name()