Home
last modified time | relevance | path

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

/linux/block/partitions/
A Dcore.c329 if (partno >= disk_max_parts(disk)) in add_partition()
350 if (xa_load(&disk->part_tbl, partno)) in add_partition()
357 bdev = bdev_alloc(disk, partno); in add_partition()
367 dev_set_name(pdev, "%sp%d", dname, partno); in add_partition()
369 dev_set_name(pdev, "%s%d", dname, partno); in add_partition()
413 err = xa_insert(&disk->part_tbl, partno, bdev, GFP_KERNEL); in add_partition()
472 part = add_partition(disk, partno, start, length, in bdev_add_partition()
480 int bdev_del_partition(struct gendisk *disk, int partno) in bdev_del_partition() argument
486 part = xa_load(&disk->part_tbl, partno); in bdev_del_partition()
508 part = xa_load(&disk->part_tbl, partno); in bdev_resize_partition()
[all …]
/linux/block/
A Dgenhd.c111 int partno = bdev->bd_partno; in bdevname() local
113 if (!partno) in bdevname()
116 snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); in bdevname()
118 snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); in bdevname()
1243 dev_t part_devt(struct gendisk *disk, u8 partno) in part_devt() argument
1249 part = xa_load(&disk->part_tbl, partno); in part_devt()
1257 dev_t blk_lookup_devt(const char *name, int partno) in blk_lookup_devt() argument
1270 if (partno < disk->minors) { in blk_lookup_devt()
1275 MINOR(dev->devt) + partno); in blk_lookup_devt()
1277 devt = part_devt(disk, partno); in blk_lookup_devt()
A Dblk.h460 int bdev_add_partition(struct gendisk *disk, int partno, sector_t start,
462 int bdev_del_partition(struct gendisk *disk, int partno);
463 int bdev_resize_partition(struct gendisk *disk, int partno, sector_t start,
A Dbdev.c479 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno) in bdev_alloc() argument
495 bdev->bd_partno = partno; in bdev_alloc()
/linux/drivers/soc/ti/
A Dk3-socinfo.c47 k3_chipinfo_partno_to_names(unsigned int partno, in k3_chipinfo_partno_to_names() argument
53 if (partno == k3_soc_ids[i].id) { in k3_chipinfo_partno_to_names()
/linux/include/linux/
A Dgenhd.h322 dev_t part_devt(struct gendisk *disk, u8 partno);
324 dev_t blk_lookup_devt(const char *name, int partno);
A Dblkdev.h1298 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno);
/linux/drivers/mtd/
A Dmtdpart.c36 int partno, uint64_t cur_offset) in allocate_partition() argument
98 "0x%012llx -> 0x%012llx\n", partno, in allocate_partition()
365 int mtd_del_partition(struct mtd_info *mtd, int partno) in mtd_del_partition() argument
372 if (child->index == partno) { in mtd_del_partition()
/linux/include/linux/mtd/
A Dpartitions.h112 int mtd_del_partition(struct mtd_info *master, int partno);
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-phy-v2.c290 char partno[XGBE_SFP_BASE_VENDOR_PN_LEN + 1]; member
/linux/drivers/net/ethernet/broadcom/
A Dtg3.c15602 goto partno; in tg3_read_vpd()
15605 goto partno; in tg3_read_vpd()
15610 goto partno; in tg3_read_vpd()
15615 partno: in tg3_read_vpd()

Completed in 47 milliseconds