Searched refs:bd_partno (Results 1 – 10 of 10) sorted by relevance
/linux/block/partitions/ |
A D | core.c | 187 return sprintf(buf, "%d\n", dev_to_bdev(dev)->bd_partno); in part_partition_show() 272 add_uevent_var(env, "PARTN=%u", part->bd_partno); in part_uevent() 292 xa_erase(&part->bd_disk->part_tbl, part->bd_partno); in delete_partition() 377 if (bdev->bd_partno < disk->minors) { in add_partition() 378 devt = MKDEV(disk->major, disk->first_minor + bdev->bd_partno); in add_partition() 443 if (part->bd_partno != skip_partno && in partition_overlaps()
|
/linux/include/linux/ |
A D | part_stat.h | 62 if ((part)->bd_partno) \
|
A D | blk_types.h | 56 u8 bd_partno; member
|
A D | blkdev.h | 880 return bdev->bd_partno; in bdev_is_partition()
|
/linux/block/ |
A D | blk-core.c | 632 bio_devname(bio, b), bio->bi_bdev->bd_partno); in bio_check_ro() 748 if (bdev->bd_partno && unlikely(blk_partition_remap(bio))) in submit_bio_checks() 1230 if (part->bd_partno) { in update_io_ticks()
|
A D | bdev.c | 495 bdev->bd_partno = partno; in bdev_alloc()
|
A D | genhd.c | 111 int partno = bdev->bd_partno; in bdevname()
|
A D | blk-mq.c | 135 if ((!mi->part->bd_partno || rq->part == mi->part) && in blk_mq_check_inflight()
|
/linux/init/ |
A D | do_mounts.c | 137 dev_to_bdev(dev)->bd_partno + offset); in devt_from_partuuid()
|
/linux/lib/ |
A D | vsprintf.c | 970 if (bdev->bd_partno) { in bdev_name() 976 buf = number(buf, end, bdev->bd_partno, spec); in bdev_name()
|
Completed in 45 milliseconds