Home
last modified time | relevance | path

Searched refs:partno (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/block/partitions/
Dcore.c299 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/
Dearly-lookup.c124 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()
Dblk.h418 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,
Dbdev.c385 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()
Dgenhd.c1314 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/
Dk3-socinfo.c52 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/
Dpartitions.h112 int mtd_del_partition(struct mtd_info *master, int partno);
/linux-6.6.21/drivers/mtd/
Dmtdpart.c43 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/
Dblkdev.h831 dev_t part_devt(struct gendisk *disk, u8 partno);
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c292 char partno[XGBE_SFP_BASE_VENDOR_PN_LEN + 1]; member
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dtg3.c15640 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()