/linux/drivers/block/ |
A D | ataflop.c | 1183 set_capacity(unit[SelectedDrive].disk[0], in fd_rwsec_done1() 1198 set_capacity(unit[SelectedDrive].disk[0], in fd_rwsec_done1() 1541 set_capacity(bd->rq->rq_disk, UDT->blocks); in ataflop_queue_rq() 1561 set_capacity(bd->rq->rq_disk, UDT->blocks); in ataflop_queue_rq() 1685 set_capacity(disk, UDT->blocks); in fd_locked_ioctl() 1731 set_capacity(disk, UDT->blocks); in fd_locked_ioctl() 1754 set_capacity(disk, MAX_DISK_SIZE * 2); in fd_locked_ioctl() 2005 set_capacity(disk, MAX_DISK_SIZE * 2); in ataflop_alloc_disk()
|
A D | n64cart.c | 144 set_capacity(disk, size >> SECTOR_SHIFT); in n64cart_probe()
|
A D | z2ram.c | 280 set_capacity(z2ram_gendisk[device], z2ram_size >> 9); in z2_open()
|
A D | swim.c | 637 set_capacity(fs->disk, fs->total_secs); in floppy_open() 845 set_capacity(swd->unit[drive].disk, 2880); in swim_floppy_init()
|
A D | brd.c | 410 set_capacity(disk, rd_size * 2); in brd_alloc()
|
A D | ps3disk.c | 462 set_capacity(gendisk, in ps3disk_probe()
|
A D | amiflop.c | 1703 set_capacity(unit[drive].gendisk[system], unit[drive].blocks); in floppy_open() 1799 set_capacity(disk, 880 * 2); in fd_alloc_disk()
|
/linux/drivers/block/rsxx/ |
A D | dev.c | 201 set_capacity(card->gendisk, card->size8 >> 9); in rsxx_attach_dev() 203 set_capacity(card->gendisk, 0); in rsxx_attach_dev()
|
A D | core.c | 438 set_capacity(card->gendisk, card->size8 >> 9); in card_state_change() 457 set_capacity(card->gendisk, 0); in card_state_change()
|
/linux/arch/xtensa/platforms/iss/ |
A D | simdisk.c | 172 set_capacity(dev->gd, dev->size >> SECTOR_SHIFT); in simdisk_attach() 277 set_capacity(dev->gd, 0); in simdisk_setup()
|
/linux/block/ |
A D | genhd.c | 55 void set_capacity(struct gendisk *disk, sector_t sectors) in set_capacity() function 64 EXPORT_SYMBOL(set_capacity); 75 set_capacity(disk, size); in set_capacity_and_notify() 594 set_capacity(disk, 0); in del_gendisk() 653 set_capacity(disk, 0); in invalidate_disk()
|
/linux/drivers/s390/block/ |
A D | dasd_genhd.c | 82 set_capacity(block->gdp, 0); in dasd_gendisk_alloc()
|
A D | dasd_ioctl.c | 89 set_capacity(bdev->bd_disk, 0); in dasd_ioctl_disable()
|
A D | scm_blk.c | 497 set_capacity(bdev->gendisk, scmdev->size >> 9); in scm_blk_dev_setup()
|
/linux/arch/m68k/emu/ |
A D | nfblock.c | 131 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one()
|
/linux/drivers/mtd/ubi/ |
A D | block.c | 431 set_capacity(gd, disk_capacity); in ubiblock_create() 556 set_capacity(dev->gd, disk_capacity); in ubiblock_resize()
|
/linux/drivers/scsi/ |
A D | sr.c | 380 set_capacity(cd->disk, error_sector); in sr_done() 715 set_capacity(disk, cd->capacity); in sr_probe() 828 set_capacity(cd->disk, cd->capacity); in get_sectorsize()
|
/linux/include/linux/ |
A D | genhd.h | 300 void set_capacity(struct gendisk *disk, sector_t size);
|
/linux/drivers/nvdimm/ |
A D | blk.c | 266 set_capacity(disk, available_disk_size >> SECTOR_SHIFT); in nsblk_attach_disk()
|
A D | pmem.c | 491 set_capacity(disk, (pmem->size - pmem->pfn_pad - pmem->data_offset) in pmem_attach_disk()
|
/linux/drivers/block/paride/ |
A D | pf.c | 596 set_capacity(pf->disk, xl(buf, 0) + 1); in pf_get_capacity() 599 set_capacity(pf->disk, 0); in pf_get_capacity()
|
/linux/drivers/block/aoe/ |
A D | aoedev.c | 236 set_capacity(d->gd, 0); in aoedev_downdev()
|
A D | aoeblk.c | 410 set_capacity(gd, d->ssize); in aoeblk_gdalloc()
|
/linux/drivers/mtd/ |
A D | mtd_blkdevs.c | 362 set_capacity(gd, ((u64)new->size * tr->blksize) >> 9); in add_mtd_blktrans_dev()
|
/linux/block/partitions/ |
A D | core.c | 695 set_capacity(disk, 0); in bdev_disk_changed()
|