/linux-6.6.21/block/partitions/ |
D | core.c | 299 static struct block_device *add_partition(struct gendisk *disk, int partno, in add_partition() argument 312 if (partno >= DISK_MAX_PARTS) in add_partition() 333 if (xa_load(&disk->part_tbl, partno)) in add_partition() 340 bdev = bdev_alloc(disk, partno); in add_partition() 350 dev_set_name(pdev, "%sp%d", dname, partno); in add_partition() 352 dev_set_name(pdev, "%s%d", dname, partno); in add_partition() 396 err = xa_insert(&disk->part_tbl, partno, bdev, GFP_KERNEL); in add_partition() 438 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, in bdev_add_partition() argument 471 part = add_partition(disk, partno, start, length, in bdev_add_partition() 479 int bdev_del_partition(struct gendisk *disk, int partno) in bdev_del_partition() argument [all …]
|
/linux-6.6.21/block/ |
D | early-lookup.c | 124 static dev_t __init blk_lookup_devt(const char *name, int partno) in blk_lookup_devt() argument 137 if (partno < disk->minors) { in blk_lookup_devt() 142 MINOR(dev->devt) + partno); in blk_lookup_devt() 144 devt = part_devt(disk, partno); in blk_lookup_devt()
|
D | blk.h | 418 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno); 426 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, 428 int bdev_del_partition(struct gendisk *disk, int partno); 429 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start,
|
D | bdev.c | 385 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno) in bdev_alloc() argument 402 bdev->bd_partno = partno; in bdev_alloc() 405 if (partno) in bdev_alloc()
|
D | genhd.c | 1314 dev_t part_devt(struct gendisk *disk, u8 partno) in part_devt() argument 1320 part = xa_load(&disk->part_tbl, partno); in part_devt()
|
/linux-6.6.21/drivers/soc/ti/ |
D | k3-socinfo.c | 52 k3_chipinfo_partno_to_names(unsigned int partno, in k3_chipinfo_partno_to_names() argument 58 if (partno == k3_soc_ids[i].id) { in k3_chipinfo_partno_to_names()
|
/linux-6.6.21/include/linux/mtd/ |
D | partitions.h | 112 int mtd_del_partition(struct mtd_info *master, int partno);
|
/linux-6.6.21/drivers/mtd/ |
D | mtdpart.c | 43 int partno, uint64_t cur_offset) in allocate_partition() argument 105 "0x%012llx -> 0x%012llx\n", partno, in allocate_partition() 367 int mtd_del_partition(struct mtd_info *mtd, int partno) in mtd_del_partition() argument 374 if (child->index == partno) { in mtd_del_partition()
|
/linux-6.6.21/include/linux/ |
D | blkdev.h | 831 dev_t part_devt(struct gendisk *disk, u8 partno);
|
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-phy-v2.c | 292 char partno[XGBE_SFP_BASE_VENDOR_PN_LEN + 1]; member
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | tg3.c | 15640 goto partno; in tg3_read_vpd() 15643 goto partno; in tg3_read_vpd() 15648 goto partno; in tg3_read_vpd() 15653 partno: in tg3_read_vpd()
|