/linux-4.1.27/block/partitions/ |
H A D | check.h | 33 if (n >= get_capacity(state->bdev->bd_disk)) { read_part_sector()
|
H A D | cmdline.c | 92 disk_size = get_capacity(state->bdev->bd_disk) << 9; cmdline_partition()
|
H A D | acorn.c | 549 size = get_capacity(state->bdev->bd_disk); adfspart_check_EESOX()
|
/linux-4.1.27/block/ |
H A D | partition-generic.c | 433 if (!get_capacity(disk) || !(state = check_partition(disk, bdev))) rescan_partitions() 485 if (from >= get_capacity(disk)) { rescan_partitions() 494 if (from + size > get_capacity(disk)) { rescan_partitions() 509 size = get_capacity(disk) - from; rescan_partitions()
|
H A D | genhd.c | 548 if (!get_capacity(disk)) register_disk() 755 if (get_capacity(disk) == 0 || printk_all_partitions() 852 if (!get_capacity(sgp) || (!disk_max_parts(sgp) && show_partition() 1278 * set_capacity() and get_capacity() currently don't use alloc_disk_node() 1283 * TODO: Ideally set_capacity() and get_capacity() should be alloc_disk_node()
|
/linux-4.1.27/drivers/power/ |
H A D | ipaq_micro_battery.c | 94 static int get_capacity(struct power_supply *b) get_capacity() function 164 val->intval = get_capacity(b); micro_batt_get_property()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-gd.c | 102 (void)drive->disk_ops->get_capacity(drive); ide_gd_resume() 327 drive->disk_ops->get_capacity(drive); ide_gd_revalidate_disk()
|
H A D | ide-floppy.c | 535 .get_capacity = ide_floppy_get_capacity,
|
H A D | ide-disk.c | 790 .get_capacity = ide_disk_get_capacity,
|
H A D | ide-cd.c | 201 if (sector < get_capacity(info->disk) && cdrom_analyze_sense_data()
|
/linux-4.1.27/drivers/block/ |
H A D | hd.c | 606 if (block >= get_capacity(req->rq_disk) || hd_request() 607 ((block+nsect) > get_capacity(req->rq_disk))) { hd_request() 750 disk->disk_name, (unsigned long)get_capacity(disk)/2048, hd_init()
|
H A D | pmem.c | 70 if (bio_end_sector(bio) > get_capacity(bdev->bd_disk)) { pmem_make_request()
|
H A D | brd.c | 337 if (bio_end_sector(bio) > get_capacity(bdev->bd_disk)) brd_make_request()
|
H A D | ps3disk.c | 500 get_capacity(gendisk) >> 11); ps3disk_probe()
|
H A D | mg_disk.c | 748 if (sect_num >= get_capacity(req->rq_disk) || mg_request() 750 get_capacity(req->rq_disk))) { mg_request()
|
H A D | ps3vram.c | 776 gendisk->disk_name, get_capacity(gendisk) >> 11); ps3vram_probe()
|
H A D | virtio_blk.c | 294 geo->cylinders = get_capacity(bd->bd_disk) >> 11; virtblk_getgeo()
|
H A D | xen-blkfront.c | 337 sector_t nsect = get_capacity(bd->bd_disk); blkif_getgeo() 669 blk_queue_max_discard_sectors(rq, get_capacity(gd)); xlvbd_init_blk_queue()
|
H A D | sunvdc.c | 113 sector_t nsect = get_capacity(disk); vdc_getgeo()
|
H A D | loop.c | 181 bd_set_size(bdev, (loff_t)get_capacity(bdev->bd_disk) << 9); figure_loop_size()
|
H A D | nvme-core.c | 1975 geo->cylinders = get_capacity(bd->bd_disk) >> 11; nvme_getgeo()
|
H A D | skd_main.c | 4740 capacity = get_capacity(skdev->disk); skd_bdev_getgeo()
|
H A D | DAC960.c | 99 if (!get_capacity(p->disks[drive_nr])) DAC960_open()
|
/linux-4.1.27/drivers/block/rsxx/ |
H A D | dev.c | 156 if (bio_end_sector(bio) > get_capacity(card->gendisk)) rsxx_make_request()
|
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | block.c | 285 geo->sectors = get_capacity(bdev->bd_disk); ubiblock_getgeo() 523 if (get_capacity(dev->gd) != disk_capacity) { ubiblock_resize()
|
/linux-4.1.27/drivers/block/paride/ |
H A D | pf.c | 332 sector_t capacity = get_capacity(pf->disk); pf_getgeo() 666 (unsigned long long)get_capacity(pf->disk)); pf_identify() 792 if (pf_block + pf_count > get_capacity(pf_req->rq_disk)) { do_pf_request()
|
H A D | pd.c | 454 if (pd_block + pd_count > get_capacity(pd_req->rq_disk)) do_pd_io_start()
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtd_blkdevs.c | 94 get_capacity(req->rq_disk)) do_blktrans_request()
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_ioctl.c | 59 (loff_t)get_capacity(base->block->gdp) << 9); dasd_ioctl_enable()
|
H A D | dcssblk.c | 837 if (bio_end_sector(bio) > get_capacity(bio->bi_bdev->bd_disk)) { dcssblk_make_request()
|
/linux-4.1.27/drivers/block/xen-blkback/ |
H A D | common.h | 364 get_capacity((_v)->bdev->bd_disk))
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | block.c | 327 geo->cylinders = get_capacity(bdev->bd_disk) / (4 * 16); mmc_blk_getgeo() 2249 string_get_size((u64)get_capacity(part_md->disk), 512, STRING_UNITS_2, mmc_blk_alloc_part() 2455 string_get_size((u64)get_capacity(md->disk), 512, STRING_UNITS_2, mmc_blk_probe()
|
/linux-4.1.27/include/linux/ |
H A D | genhd.h | 445 static inline sector_t get_capacity(struct gendisk *disk) get_capacity() function
|
H A D | ide.h | 360 int (*get_capacity)(struct ide_drive_s *); member in struct:ide_disk_ops
|
/linux-4.1.27/fs/ |
H A D | block_dev.c | 1041 disk_size = (loff_t)get_capacity(disk) << 9; check_disk_size_change() 1203 bd_set_size(bdev,(loff_t)get_capacity(disk)<<9); __blkdev_get()
|
/linux-4.1.27/drivers/scsi/ |
H A D | sr.c | 369 if (error_sector < get_capacity(cd->disk) && sr_done()
|
H A D | sd.c | 912 block + blk_rq_sectors(rq) > get_capacity(disk)) { sd_setup_read_write_cmnd() 934 threshold = get_capacity(disk) - SD_LAST_BUGGY_SECTORS * sd_setup_read_write_cmnd()
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | i2o_block.c | 636 i2o_block_biosparam(get_capacity(bdev->bd_disk), i2o_block_getgeo()
|
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoecmd.c | 964 ssize = get_capacity(d->gd); aoecmd_sleepwork()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | super.c | 182 if (get_capacity(bdev->bd_disk) < sb->bucket_size * sb->nbuckets) read_super()
|
/linux-4.1.27/drivers/md/ |
H A D | dm.c | 536 return get_capacity(md->disk); dm_get_size()
|
/linux-4.1.27/drivers/block/drbd/ |
H A D | drbd_int.h | 1844 /* return bdev ? get_capacity(bdev->bd_disk) : 0; */ drbd_get_capacity()
|