Home
last modified time | relevance | path

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

/linux-6.12.1/block/partitions/ !
Dcore.c288 static struct block_device *add_partition(struct gendisk *disk, int partno, in add_partition() argument
301 if (partno >= DISK_MAX_PARTS) in add_partition()
314 if (xa_load(&disk->part_tbl, partno)) in add_partition()
321 bdev = bdev_alloc(disk, partno); in add_partition()
331 dev_set_name(pdev, "%sp%d", dname, partno); in add_partition()
333 dev_set_name(pdev, "%s%d", dname, partno); in add_partition()
377 err = xa_insert(&disk->part_tbl, partno, bdev, GFP_KERNEL); in add_partition()
419 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start, in bdev_add_partition() argument
441 part = add_partition(disk, partno, start, length, in bdev_add_partition()
449 int bdev_del_partition(struct gendisk *disk, int partno) in bdev_del_partition() argument
[all …]
/linux-6.12.1/drivers/soc/ti/ !
Dk3-socinfo.c68 k3_chipinfo_partno_to_names(unsigned int partno, in k3_chipinfo_partno_to_names() argument
74 if (partno == k3_soc_ids[i].id) { in k3_chipinfo_partno_to_names()
83 k3_chipinfo_variant_to_sr(unsigned int partno, unsigned int variant, in k3_chipinfo_variant_to_sr() argument
86 switch (partno) { in k3_chipinfo_variant_to_sr()
/linux-6.12.1/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.h551 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno);
561 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start,
563 int bdev_del_partition(struct gendisk *disk, int partno);
564 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start,
Dbdev.c415 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno) in bdev_alloc() argument
432 atomic_set(&bdev->__bd_flags, partno); in bdev_alloc()
435 if (partno && bdev_test_flag(disk->part0, BD_HAS_SUBMIT_BIO)) in bdev_alloc()
Dgenhd.c1323 dev_t part_devt(struct gendisk *disk, u8 partno) in part_devt() argument
1329 part = xa_load(&disk->part_tbl, partno); in part_devt()
/linux-6.12.1/include/linux/mtd/ !
Dpartitions.h112 int mtd_del_partition(struct mtd_info *master, int partno);
/linux-6.12.1/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.12.1/include/linux/ !
Dblkdev.h852 dev_t part_devt(struct gendisk *disk, u8 partno);
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ !
Dxgbe-phy-v2.c292 char partno[XGBE_SFP_BASE_VENDOR_PN_LEN + 1]; member
/linux-6.12.1/drivers/net/ethernet/broadcom/ !
Dtg3.c15710 goto partno; in tg3_read_vpd()
15713 goto partno; in tg3_read_vpd()
15718 goto partno; in tg3_read_vpd()
15723 partno: in tg3_read_vpd()