Home
last modified time | relevance | path

Searched refs:bd_partno (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/block/partitions/
Dcore.c184 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()
/linux-6.1.9/include/linux/
Dpart_stat.h62 if ((part)->bd_partno) \
Dblk_types.h56 u8 bd_partno; member
Dblkdev.h1105 return bdev->bd_partno; in bdev_is_partition()
/linux-6.1.9/block/
Dblk-core.c724 if (bdev->bd_partno && unlikely(blk_partition_remap(bio))) in submit_bio_noacct()
924 if (part->bd_partno) { in update_io_ticks()
Dbdev.c496 bdev->bd_partno = partno; in bdev_alloc()
Dblk-mq.c137 (!mi->part->bd_partno || rq->part == mi->part) && in blk_mq_check_inflight()
/linux-6.1.9/init/
Ddo_mounts.c136 dev_to_bdev(dev)->bd_partno + offset); in devt_from_partuuid()
/linux-6.1.9/lib/
Dvsprintf.c971 if (bdev->bd_partno) { in bdev_name()
977 buf = number(buf, end, bdev->bd_partno, spec); in bdev_name()