partno 186 arch/mips/include/asm/lasat/lasat.h static inline unsigned long lasat_flash_partition_start(int partno) partno 188 arch/mips/include/asm/lasat/lasat.h if (partno < 0 || partno >= LASAT_MTD_LAST) partno 191 arch/mips/include/asm/lasat/lasat.h return lasat_board_info.li_flashpart_base[partno]; partno 194 arch/mips/include/asm/lasat/lasat.h static inline unsigned long lasat_flash_partition_size(int partno) partno 196 arch/mips/include/asm/lasat/lasat.h if (partno < 0 || partno >= LASAT_MTD_LAST) partno 199 arch/mips/include/asm/lasat/lasat.h return lasat_board_info.li_flashpart_size[partno]; partno 1765 block/bio.c if (part->partno) { partno 800 block/blk-core.c bio_devname(bio, b), part->partno); partno 215 block/blk.h struct hd_struct *__disk_get_part(struct gendisk *disk, int partno); partno 55 block/genhd.c if (part->partno) partno 65 block/genhd.c if (part->partno) partno 111 block/genhd.c struct hd_struct *__disk_get_part(struct gendisk *disk, int partno) partno 115 block/genhd.c if (unlikely(partno < 0 || partno >= ptbl->len)) partno 117 block/genhd.c return rcu_dereference(ptbl->part[partno]); partno 134 block/genhd.c struct hd_struct *disk_get_part(struct gendisk *disk, int partno) partno 139 block/genhd.c part = __disk_get_part(disk, partno); partno 494 block/genhd.c if (part->partno < disk->minors) { partno 495 block/genhd.c *devt = MKDEV(disk->major, disk->first_minor + part->partno); partno 580 block/genhd.c static struct kobject *exact_match(dev_t devt, int *partno, void *data) partno 790 block/genhd.c invalidate_partition(disk, part->partno); partno 792 block/genhd.c delete_partition(disk, part->partno); partno 871 block/genhd.c struct gendisk *get_gendisk(dev_t devt, int *partno) partno 878 block/genhd.c kobj = kobj_lookup(bdev_map, devt, partno); partno 887 block/genhd.c *partno = part->partno; partno 926 block/genhd.c struct block_device *bdget_disk(struct gendisk *disk, int partno) partno 931 block/genhd.c part = disk_get_part(disk, partno); partno 978 block/genhd.c , disk_name(disk, part->partno, name_buf), partno 1071 block/genhd.c disk_name(sgp, part->partno, buf)); partno 1086 block/genhd.c static struct kobject *base_probe(dev_t devt, int *partno, void *data) partno 1286 block/genhd.c int disk_expand_part_tbl(struct gendisk *disk, int partno) partno 1298 block/genhd.c target = partno + 1; partno 1390 block/genhd.c disk_name(gp, hd->partno, buf), partno 1429 block/genhd.c dev_t blk_lookup_devt(const char *name, int partno) partno 1443 block/genhd.c if (partno < disk->minors) { partno 1448 block/genhd.c MINOR(dev->devt) + partno); partno 1451 block/genhd.c part = disk_get_part(disk, partno); partno 1604 block/genhd.c int invalidate_partition(struct gendisk *disk, int partno) partno 1607 block/genhd.c struct block_device *bdev = bdget_disk(disk, partno); partno 23 block/ioctl.c int partno; partno 34 block/ioctl.c partno = p.pno; partno 35 block/ioctl.c if (partno <= 0) partno 46 block/ioctl.c || pstart < 0 || plength < 0 || partno > 65535) partno 69 block/ioctl.c part = add_partition(disk, partno, start, length, partno 74 block/ioctl.c part = disk_get_part(disk, partno); partno 94 block/ioctl.c delete_partition(disk, partno); partno 112 block/ioctl.c part = disk_get_part(disk, partno); partno 133 block/ioctl.c if (lpart->partno != partno && partno 35 block/partition-generic.c char *disk_name(struct gendisk *hd, int partno, char *buf) partno 37 block/partition-generic.c if (!partno) partno 40 block/partition-generic.c snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); partno 42 block/partition-generic.c snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); partno 49 block/partition-generic.c return disk_name(bdev->bd_disk, bdev->bd_part->partno, buf); partno 79 block/partition-generic.c return sprintf(buf, "%d\n", p->partno); partno 235 block/partition-generic.c add_uevent_var(env, "PARTN=%u", part->partno); partno 270 block/partition-generic.c void delete_partition(struct gendisk *disk, int partno) partno 276 block/partition-generic.c if (partno >= ptbl->len) partno 279 block/partition-generic.c part = rcu_dereference_protected(ptbl->part[partno], 1); partno 283 block/partition-generic.c rcu_assign_pointer(ptbl->part[partno], NULL); partno 309 block/partition-generic.c struct hd_struct *add_partition(struct gendisk *disk, int partno, partno 321 block/partition-generic.c err = disk_expand_part_tbl(disk, partno); partno 326 block/partition-generic.c if (ptbl->part[partno]) partno 347 block/partition-generic.c p->partno = partno; partno 362 block/partition-generic.c dev_set_name(pdev, "%sp%d", dname, partno); partno 364 block/partition-generic.c dev_set_name(pdev, "%s%d", dname, partno); partno 402 block/partition-generic.c rcu_assign_pointer(ptbl->part[partno], p); partno 456 block/partition-generic.c delete_partition(disk, part->partno); partno 321 drivers/mtd/mtdpart.c const struct mtd_partition *part, int partno, partno 401 drivers/mtd/mtdpart.c if (!partno && !parent->dev.class && parent->_suspend && partno 441 drivers/mtd/mtdpart.c "0x%012llx -> 0x%012llx\n", partno, partno 683 drivers/mtd/mtdpart.c int mtd_del_partition(struct mtd_info *mtd, int partno) partno 691 drivers/mtd/mtdpart.c (slave->mtd.index == partno)) { partno 289 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c char partno[XGBE_SFP_BASE_VENDOR_PN_LEN + 1]; partno 15662 drivers/net/ethernet/broadcom/tg3.c goto partno; partno 15667 drivers/net/ethernet/broadcom/tg3.c goto partno; partno 15673 drivers/net/ethernet/broadcom/tg3.c goto partno; partno 15682 drivers/net/ethernet/broadcom/tg3.c partno: partno 589 drivers/scsi/sd.c static struct kobject *sd_default_probe(dev_t devt, int *partno, void *data) partno 1099 fs/block_dev.c static struct gendisk *bdev_get_gendisk(struct block_device *bdev, int *partno) partno 1101 fs/block_dev.c struct gendisk *disk = get_gendisk(bdev->bd_dev, partno); partno 1147 fs/block_dev.c int partno, err; partno 1155 fs/block_dev.c disk = bdev_get_gendisk(bdev, &partno); partno 1167 fs/block_dev.c if (partno) partno 1536 fs/block_dev.c int partno; partno 1558 fs/block_dev.c disk = bdev_get_gendisk(bdev, &partno); partno 1569 fs/block_dev.c bdev->bd_partno = partno; partno 1571 fs/block_dev.c if (!partno) { partno 1573 fs/block_dev.c bdev->bd_part = disk_get_part(disk, partno); partno 1624 fs/block_dev.c bdev->bd_part = disk_get_part(disk, partno); partno 121 include/linux/genhd.h int policy, partno; partno 227 include/linux/genhd.h if (part->partno) partno 258 include/linux/genhd.h extern struct hd_struct *__disk_get_part(struct gendisk *disk, int partno); partno 259 include/linux/genhd.h extern struct hd_struct *disk_get_part(struct gendisk *disk, int partno); partno 380 include/linux/genhd.h if ((part)->partno) \ partno 438 include/linux/genhd.h extern struct gendisk *get_gendisk(dev_t dev, int *partno); partno 439 include/linux/genhd.h extern struct block_device *bdget_disk(struct gendisk *disk, int partno); partno 621 include/linux/genhd.h extern dev_t blk_lookup_devt(const char *name, int partno); partno 622 include/linux/genhd.h extern char *disk_name (struct gendisk *hd, int partno, char *buf); partno 628 include/linux/genhd.h int partno, sector_t start, partno 777 include/linux/genhd.h static inline dev_t blk_lookup_devt(const char *name, int partno) partno 111 include/linux/mtd/partitions.h int mtd_del_partition(struct mtd_info *master, int partno); partno 154 init/do_mounts.c part = disk_get_part(disk, dev_to_part(dev)->partno + offset); partno 848 kernel/power/hibernate.c int partno; partno 849 kernel/power/hibernate.c while (!get_gendisk(swsusp_resume_device, &partno)) partno 900 lib/vsprintf.c if (bdev->bd_part->partno) { partno 906 lib/vsprintf.c buf = number(buf, end, bdev->bd_part->partno, spec);