get_capacity 904 block/blk-core.c if (unlikely(bio_check_eod(bio, get_capacity(bio->bi_disk)))) get_capacity 127 block/blk-zoned.c sector_t capacity = get_capacity(disk); get_capacity 238 block/blk-zoned.c part_nr_sects_read(bdev->bd_part) == get_capacity(bdev->bd_disk); get_capacity 456 block/blk-zoned.c unsigned int nr_zones = __blkdev_nr_zones(q, get_capacity(disk)); get_capacity 647 block/genhd.c if (!get_capacity(disk)) get_capacity 962 block/genhd.c if (get_capacity(disk) == 0 || get_capacity 1059 block/genhd.c if (!get_capacity(sgp) || (!disk_max_parts(sgp) && get_capacity 493 block/partition-generic.c if ((from + size) < get_capacity(disk)) { get_capacity 503 block/partition-generic.c if ((from + size) < get_capacity(disk) && get_capacity 531 block/partition-generic.c if (!get_capacity(disk) || !(state = check_partition(disk, bdev))) get_capacity 582 block/partition-generic.c if (from >= get_capacity(disk)) { get_capacity 591 block/partition-generic.c if (from + size > get_capacity(disk)) { get_capacity 606 block/partition-generic.c size = get_capacity(disk) - from; get_capacity 544 block/partitions/acorn.c size = get_capacity(state->bdev->bd_disk); get_capacity 34 block/partitions/check.h if (n >= get_capacity(state->bdev->bd_disk)) { get_capacity 149 block/partitions/cmdline.c disk_size = get_capacity(state->bdev->bd_disk) << 9; get_capacity 900 drivers/block/aoe/aoecmd.c ssize = get_capacity(d->gd); get_capacity 293 drivers/block/brd.c if (bio_end_sector(bio) > get_capacity(bio->bi_disk)) get_capacity 243 drivers/block/loop.c bd_set_size(bdev, (loff_t)get_capacity(bdev->bd_disk) << 9); get_capacity 495 drivers/block/paride/pd.c if (pd_block + pd_count > get_capacity(pd_req->rq_disk)) get_capacity 356 drivers/block/paride/pf.c sector_t capacity = get_capacity(pf->disk); get_capacity 690 drivers/block/paride/pf.c (unsigned long long)get_capacity(pf->disk)); get_capacity 850 drivers/block/paride/pf.c if (pf_block + pf_count > get_capacity(pf_req->rq_disk)) { get_capacity 489 drivers/block/ps3disk.c get_capacity(gendisk) >> 11); get_capacity 771 drivers/block/ps3vram.c gendisk->disk_name, get_capacity(gendisk) >> 11); get_capacity 7137 drivers/block/rbd.c (unsigned long long)get_capacity(rbd_dev->disk) << SECTOR_SHIFT, get_capacity 147 drivers/block/rsxx/dev.c if (bio_end_sector(bio) > get_capacity(card->gendisk)) get_capacity 3099 drivers/block/skd_main.c capacity = get_capacity(skdev->disk); get_capacity 126 drivers/block/sunvdc.c sector_t nsect = get_capacity(disk); get_capacity 469 drivers/block/virtio_blk.c geo->cylinders = get_capacity(bd->bd_disk) >> 11; get_capacity 363 drivers/block/xen-blkback/common.h get_capacity((_v)->bdev->bd_disk)) get_capacity 480 drivers/block/xen-blkfront.c sector_t nsect = get_capacity(bd->bd_disk); get_capacity 938 drivers/block/xen-blkfront.c blk_queue_max_discard_sectors(rq, get_capacity(gd)); get_capacity 202 drivers/ide/ide-cd.c if (sector < get_capacity(info->disk) && get_capacity 790 drivers/ide/ide-disk.c .get_capacity = ide_disk_get_capacity, get_capacity 542 drivers/ide/ide-floppy.c .get_capacity = ide_floppy_get_capacity, get_capacity 103 drivers/ide/ide-gd.c (void)drive->disk_ops->get_capacity(drive); get_capacity 329 drivers/ide/ide-gd.c drive->disk_ops->get_capacity(drive); get_capacity 908 drivers/md/bcache/request.c get_capacity(bio->bi_disk) - bio_end_sector(bio)); get_capacity 156 drivers/md/bcache/super.c if (get_capacity(bdev->bd_disk) < get_capacity 423 drivers/md/dm.c return get_capacity(md->disk); get_capacity 337 drivers/mmc/core/block.c geo->cylinders = get_capacity(bdev->bd_disk) / (4 * 16); get_capacity 1341 drivers/mmc/core/block.c get_capacity(md->disk))) get_capacity 2411 drivers/mmc/core/block.c string_get_size((u64)get_capacity(part_md->disk), 512, STRING_UNITS_2, get_capacity 2891 drivers/mmc/core/block.c string_get_size((u64)get_capacity(md->disk), 512, STRING_UNITS_2, get_capacity 82 drivers/mtd/mtd_blkdevs.c get_capacity(req->rq_disk)) get_capacity 280 drivers/mtd/ubi/block.c geo->sectors = get_capacity(bdev->bd_disk); get_capacity 559 drivers/mtd/ubi/block.c if (get_capacity(dev->gd) != disk_capacity) { get_capacity 1507 drivers/nvdimm/btt.c geo->cylinders = get_capacity(bd->bd_disk) >> 11; get_capacity 1640 drivers/nvme/host/core.c geo->cylinders = get_capacity(bdev->bd_disk) >> 11; get_capacity 161 drivers/power/supply/ipaq_micro_battery.c val->intval = get_capacity(b); get_capacity 59 drivers/s390/block/dasd_ioctl.c (loff_t)get_capacity(base->block->gdp) << 9); get_capacity 875 drivers/s390/block/dcssblk.c if (bio_end_sector(bio) > get_capacity(bio->bi_disk)) { get_capacity 1185 drivers/scsi/sd.c if (blk_rq_pos(rq) + blk_rq_sectors(rq) > get_capacity(rq->rq_disk)) { get_capacity 371 drivers/scsi/sr.c if (error_sector < get_capacity(cd->disk) && get_capacity 1425 fs/block_dev.c disk_size = (loff_t)get_capacity(disk) << 9; get_capacity 1597 fs/block_dev.c bd_set_size(bdev,(loff_t)get_capacity(disk)<<9); get_capacity 3015 fs/buffer.c maxsector = get_capacity(bio->bi_disk); get_capacity 405 include/linux/ide.h int (*get_capacity)(struct ide_drive_s *);