bd_part 96 block/blk-zoned.c return __blkdev_nr_zones(q, bdev->bd_part->nr_sects); bd_part 112 block/blk-zoned.c if (rep->start + rep->len > bdev->bd_part->nr_sects) bd_part 181 block/blk-zoned.c if (!*nr_zones || sector >= bdev->bd_part->nr_sects) { bd_part 187 block/blk-zoned.c __blkdev_nr_zones(q, bdev->bd_part->nr_sects - sector)); bd_part 230 block/blk-zoned.c if (nr_sectors != part_nr_sects_read(bdev->bd_part)) bd_part 238 block/blk-zoned.c part_nr_sects_read(bdev->bd_part) == get_capacity(bdev->bd_disk); bd_part 270 block/blk-zoned.c if (!nr_sectors || end_sector > bdev->bd_part->nr_sects) bd_part 283 block/blk-zoned.c end_sector != bdev->bd_part->nr_sects) bd_part 1572 block/genhd.c bdev->bd_part->policy = flag; bd_part 1599 block/genhd.c return bdev->bd_part->policy; bd_part 49 block/partition-generic.c return disk_name(bdev->bd_disk, bdev->bd_part->partno, buf); bd_part 361 drivers/block/xen-blkback/common.h #define vbd_sz(_v) ((_v)->bdev->bd_part ? \ bd_part 362 drivers/block/xen-blkback/common.h (_v)->bdev->bd_part->nr_sects : \ bd_part 1334 drivers/md/bcache/super.c dc->bdev->bd_part->nr_sects - dc->sb.data_offset); bd_part 1377 drivers/md/bcache/super.c if (kobject_add(&dc->disk.kobj, &part_to_dev(bdev->bd_part)->kobj, bd_part 2299 drivers/md/bcache/super.c &part_to_dev(bdev->bd_part)->kobj, bd_part 2345 drivers/md/md.c ko = &part_to_dev(rdev->bdev->bd_part)->kobj; bd_part 81 drivers/nvme/target/admin-cmd.c host_reads = part_stat_read(ns->bdev->bd_part, ios[READ]); bd_part 82 drivers/nvme/target/admin-cmd.c data_units_read = DIV_ROUND_UP(part_stat_read(ns->bdev->bd_part, bd_part 84 drivers/nvme/target/admin-cmd.c host_writes = part_stat_read(ns->bdev->bd_part, ios[WRITE]); bd_part 85 drivers/nvme/target/admin-cmd.c data_units_written = DIV_ROUND_UP(part_stat_read(ns->bdev->bd_part, bd_part 113 drivers/nvme/target/admin-cmd.c host_reads += part_stat_read(ns->bdev->bd_part, ios[READ]); bd_part 115 drivers/nvme/target/admin-cmd.c part_stat_read(ns->bdev->bd_part, sectors[READ]), 1000); bd_part 116 drivers/nvme/target/admin-cmd.c host_writes += part_stat_read(ns->bdev->bd_part, ios[WRITE]); bd_part 118 drivers/nvme/target/admin-cmd.c part_stat_read(ns->bdev->bd_part, sectors[WRITE]), 1000); bd_part 1032 drivers/target/target_core_pscsi.c if (pdv->pdv_bd && pdv->pdv_bd->bd_part) bd_part 1033 drivers/target/target_core_pscsi.c return pdv->pdv_bd->bd_part->nr_sects; bd_part 1313 fs/block_dev.c if (WARN_ON(!disk->slave_dir || !bdev->bd_part->holder_dir)) bd_part 1332 fs/block_dev.c ret = add_symlink(disk->slave_dir, &part_to_dev(bdev->bd_part)->kobj); bd_part 1336 fs/block_dev.c ret = add_symlink(bdev->bd_part->holder_dir, &disk_to_dev(disk)->kobj); bd_part 1343 fs/block_dev.c kobject_get(bdev->bd_part->holder_dir); bd_part 1349 fs/block_dev.c del_symlink(disk->slave_dir, &part_to_dev(bdev->bd_part)->kobj); bd_part 1377 fs/block_dev.c del_symlink(disk->slave_dir, &part_to_dev(bdev->bd_part)->kobj); bd_part 1378 fs/block_dev.c del_symlink(bdev->bd_part->holder_dir, bd_part 1380 fs/block_dev.c kobject_put(bdev->bd_part->holder_dir); bd_part 1573 fs/block_dev.c bdev->bd_part = disk_get_part(disk, partno); bd_part 1574 fs/block_dev.c if (!bdev->bd_part) bd_part 1585 fs/block_dev.c disk_put_part(bdev->bd_part); bd_part 1586 fs/block_dev.c bdev->bd_part = NULL; bd_part 1624 fs/block_dev.c bdev->bd_part = disk_get_part(disk, partno); bd_part 1626 fs/block_dev.c !bdev->bd_part || !bdev->bd_part->nr_sects) { bd_part 1630 fs/block_dev.c bd_set_size(bdev, (loff_t)bdev->bd_part->nr_sects << 9); bd_part 1660 fs/block_dev.c disk_put_part(bdev->bd_part); bd_part 1662 fs/block_dev.c bdev->bd_part = NULL; bd_part 1874 fs/block_dev.c disk_put_part(bdev->bd_part); bd_part 1875 fs/block_dev.c bdev->bd_part = NULL; bd_part 937 fs/btrfs/sysfs.c disk = one_device->bdev->bd_part; bd_part 951 fs/btrfs/sysfs.c disk = one_device->bdev->bd_part; bd_part 989 fs/btrfs/sysfs.c disk = dev->bdev->bd_part; bd_part 3651 fs/ext4/super.c if (sb->s_bdev->bd_part) bd_part 3653 fs/ext4/super.c part_stat_read(sb->s_bdev->bd_part, sectors[STAT_WRITE]); bd_part 5045 fs/ext4/super.c if (sb->s_bdev->bd_part) bd_part 5048 fs/ext4/super.c ((part_stat_read(sb->s_bdev->bd_part, bd_part 59 fs/ext4/sysfs.c if (!sb->s_bdev->bd_part) bd_part 62 fs/ext4/sysfs.c (part_stat_read(sb->s_bdev->bd_part, bd_part 71 fs/ext4/sysfs.c if (!sb->s_bdev->bd_part) bd_part 75 fs/ext4/sysfs.c ((part_stat_read(sb->s_bdev->bd_part, bd_part 1482 fs/f2fs/checkpoint.c if (sb->s_bdev->bd_part) bd_part 1414 fs/f2fs/f2fs.h (((u64)part_stat_read((s)->sb->s_bdev->bd_part, sectors[STAT_WRITE]) - \ bd_part 2868 fs/f2fs/super.c sector_t nr_sectors = bdev->bd_part->nr_sects; bd_part 3428 fs/f2fs/super.c if (sb->s_bdev->bd_part) bd_part 3430 fs/f2fs/super.c (u64)part_stat_read(sb->s_bdev->bd_part, bd_part 104 fs/f2fs/sysfs.c if (!sb->s_bdev->bd_part) bd_part 118 fs/f2fs/sysfs.c if (!sb->s_bdev->bd_part) bd_part 1367 include/linux/blkdev.h return bdev->bd_part->alignment_offset; bd_part 1408 include/linux/blkdev.h return bdev->bd_part->discard_alignment; bd_part 489 include/linux/fs.h struct hd_struct * bd_part; bd_part 460 include/linux/genhd.h return bdev->bd_part->start_sect; bd_part 461 kernel/trace/blktrace.c part = bdev->bd_part; bd_part 900 lib/vsprintf.c if (bdev->bd_part->partno) { bd_part 906 lib/vsprintf.c buf = number(buf, end, bdev->bd_part->partno, spec);