Home
last modified time | relevance | path

Searched refs:set_capacity (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/block/
A Dataflop.c1183 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 Dn64cart.c144 set_capacity(disk, size >> SECTOR_SHIFT); in n64cart_probe()
A Dz2ram.c280 set_capacity(z2ram_gendisk[device], z2ram_size >> 9); in z2_open()
A Dswim.c637 set_capacity(fs->disk, fs->total_secs); in floppy_open()
845 set_capacity(swd->unit[drive].disk, 2880); in swim_floppy_init()
A Dbrd.c410 set_capacity(disk, rd_size * 2); in brd_alloc()
A Dps3disk.c462 set_capacity(gendisk, in ps3disk_probe()
A Damiflop.c1703 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 Ddev.c201 set_capacity(card->gendisk, card->size8 >> 9); in rsxx_attach_dev()
203 set_capacity(card->gendisk, 0); in rsxx_attach_dev()
A Dcore.c438 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 Dsimdisk.c172 set_capacity(dev->gd, dev->size >> SECTOR_SHIFT); in simdisk_attach()
277 set_capacity(dev->gd, 0); in simdisk_setup()
/linux/block/
A Dgenhd.c55 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 Ddasd_genhd.c82 set_capacity(block->gdp, 0); in dasd_gendisk_alloc()
A Ddasd_ioctl.c89 set_capacity(bdev->bd_disk, 0); in dasd_ioctl_disable()
A Dscm_blk.c497 set_capacity(bdev->gendisk, scmdev->size >> 9); in scm_blk_dev_setup()
/linux/arch/m68k/emu/
A Dnfblock.c131 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one()
/linux/drivers/mtd/ubi/
A Dblock.c431 set_capacity(gd, disk_capacity); in ubiblock_create()
556 set_capacity(dev->gd, disk_capacity); in ubiblock_resize()
/linux/drivers/scsi/
A Dsr.c380 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 Dgenhd.h300 void set_capacity(struct gendisk *disk, sector_t size);
/linux/drivers/nvdimm/
A Dblk.c266 set_capacity(disk, available_disk_size >> SECTOR_SHIFT); in nsblk_attach_disk()
A Dpmem.c491 set_capacity(disk, (pmem->size - pmem->pfn_pad - pmem->data_offset) in pmem_attach_disk()
/linux/drivers/block/paride/
A Dpf.c596 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 Daoedev.c236 set_capacity(d->gd, 0); in aoedev_downdev()
A Daoeblk.c410 set_capacity(gd, d->ssize); in aoeblk_gdalloc()
/linux/drivers/mtd/
A Dmtd_blkdevs.c362 set_capacity(gd, ((u64)new->size * tr->blksize) >> 9); in add_mtd_blktrans_dev()
/linux/block/partitions/
A Dcore.c695 set_capacity(disk, 0); in bdev_disk_changed()

Completed in 39 milliseconds

123