/linux-6.1.9/drivers/block/ |
D | ataflop.c | 1184 set_capacity(unit[SelectedDrive].disk[0], in fd_rwsec_done1() 1199 set_capacity(unit[SelectedDrive].disk[0], in fd_rwsec_done1() 1543 set_capacity(bd->rq->q->disk, UDT->blocks); in ataflop_queue_rq() 1563 set_capacity(bd->rq->q->disk, UDT->blocks); in ataflop_queue_rq() 1687 set_capacity(disk, UDT->blocks); in fd_locked_ioctl() 1733 set_capacity(disk, UDT->blocks); in fd_locked_ioctl() 1756 set_capacity(disk, MAX_DISK_SIZE * 2); in fd_locked_ioctl() 2008 set_capacity(disk, MAX_DISK_SIZE * 2); in ataflop_alloc_disk()
|
D | n64cart.c | 144 set_capacity(disk, size >> SECTOR_SHIFT); in n64cart_probe()
|
D | z2ram.c | 280 set_capacity(z2ram_gendisk[device], z2ram_size >> 9); in z2_open()
|
D | swim.c | 637 set_capacity(fs->disk, fs->total_secs); in floppy_open() 846 set_capacity(swd->unit[drive].disk, 2880); in swim_floppy_init()
|
D | brd.c | 401 set_capacity(disk, rd_size * 2); in brd_alloc()
|
D | ps3disk.c | 462 set_capacity(gendisk, in ps3disk_probe()
|
D | amiflop.c | 1703 set_capacity(unit[drive].gendisk[system], unit[drive].blocks); in floppy_open() 1800 set_capacity(disk, 880 * 2); in fd_alloc_disk()
|
D | ps3vram.c | 751 set_capacity(gendisk, priv->size >> 9); in ps3vram_probe()
|
D | sunvdc.c | 853 set_capacity(g, port->vdisk_size); in probe_disk()
|
/linux-6.1.9/arch/xtensa/platforms/iss/ |
D | simdisk.c | 172 set_capacity(dev->gd, dev->size >> SECTOR_SHIFT); in simdisk_attach() 283 set_capacity(dev->gd, 0); in simdisk_setup()
|
/linux-6.1.9/block/ |
D | genhd.c | 58 void set_capacity(struct gendisk *disk, sector_t sectors) in set_capacity() function 67 EXPORT_SYMBOL(set_capacity); 78 set_capacity(disk, size); in set_capacity_and_notify() 615 set_capacity(disk, 0); in del_gendisk() 692 set_capacity(disk, 0); in invalidate_disk()
|
/linux-6.1.9/drivers/s390/block/ |
D | dasd_genhd.c | 100 set_capacity(block->gdp, 0); in dasd_gendisk_alloc()
|
D | scm_blk.c | 496 set_capacity(bdev->gendisk, scmdev->size >> 9); in scm_blk_dev_setup()
|
D | dasd_ioctl.c | 89 set_capacity(bdev->bd_disk, 0); in dasd_ioctl_disable()
|
D | dcssblk.c | 644 set_capacity(dev_info->gd, seg_byte_size >> 9); // size in sectors in dcssblk_add_store()
|
/linux-6.1.9/arch/m68k/emu/ |
D | nfblock.c | 130 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one()
|
/linux-6.1.9/drivers/scsi/ |
D | sr.c | 341 set_capacity(cd->disk, error_sector); in sr_done() 677 set_capacity(disk, cd->capacity); in sr_probe() 789 set_capacity(cd->disk, cd->capacity); in get_sectorsize()
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | block.c | 436 set_capacity(gd, disk_capacity); in ubiblock_create() 561 set_capacity(dev->gd, disk_capacity); in ubiblock_resize()
|
/linux-6.1.9/drivers/block/paride/ |
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()
|
D | pd.c | 942 set_capacity(disk->gd, disk->capacity); in pd_probe_drive()
|
/linux-6.1.9/drivers/block/aoe/ |
D | aoedev.c | 236 set_capacity(d->gd, 0); in aoedev_downdev()
|
D | aoeblk.c | 398 set_capacity(gd, d->ssize); in aoeblk_gdalloc()
|
/linux-6.1.9/drivers/mtd/ |
D | mtd_blkdevs.c | 365 set_capacity(gd, ((u64)new->size * tr->blksize) >> 9); in add_mtd_blktrans_dev()
|
/linux-6.1.9/block/partitions/ |
D | core.c | 684 set_capacity(disk, 0); in bdev_disk_changed()
|
/linux-6.1.9/drivers/nvdimm/ |
D | pmem.c | 574 set_capacity(disk, (pmem->size - pmem->pfn_pad - pmem->data_offset) in pmem_attach_disk()
|