Searched refs:partno (Results 1 – 11 of 11) sorted by relevance
/linux/block/partitions/ |
A D | core.c | 329 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 D | genhd.c | 111 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 D | blk.h | 460 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 D | bdev.c | 479 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 D | k3-socinfo.c | 47 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 D | genhd.h | 322 dev_t part_devt(struct gendisk *disk, u8 partno); 324 dev_t blk_lookup_devt(const char *name, int partno);
|
A D | blkdev.h | 1298 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno);
|
/linux/drivers/mtd/ |
A D | mtdpart.c | 36 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 D | partitions.h | 112 int mtd_del_partition(struct mtd_info *master, int partno);
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-phy-v2.c | 290 char partno[XGBE_SFP_BASE_VENDOR_PN_LEN + 1]; member
|
/linux/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 15602 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