Home
last modified time | relevance | path

Searched refs:set_capacity_and_notify (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/md/
H A Dmd-linear.c194 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in linear_add()
H A Dmd-cluster.c588 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in process_recvd_msg()
1311 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in update_size()
H A Dmd.c5387 set_capacity_and_notify(mddev->gendisk, in array_size_store()
6159 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in do_md_run()
6496 set_capacity_and_notify(disk, 0); in do_md_stop()
7340 set_capacity_and_notify(mddev->gendisk, in update_size()
9192 set_capacity_and_notify(mddev->gendisk, in md_do_sync()
H A Ddm-raid.c704 set_capacity_and_notify(gendisk, rs->md.array_sectors); in rs_set_capacity()
/openbmc/linux/block/
H A Dgenhd.c69 bool set_capacity_and_notify(struct gendisk *disk, sector_t size) in set_capacity_and_notify() function
98 EXPORT_SYMBOL_GPL(set_capacity_and_notify);
/openbmc/linux/drivers/block/
H A Dvirtio_blk.c740 set_capacity_and_notify(vblk->disk, 0); in virtblk_revalidate_zones()
998 set_capacity_and_notify(vblk->disk, capacity); in virtblk_update_capacity()
H A Dloop.c232 if (!set_capacity_and_notify(lo->lo_disk, size)) in loop_set_size()
H A Dnbd.c357 if (!set_capacity_and_notify(nbd->disk, bytesize >> 9)) in nbd_set_size()
H A Dxen-blkfront.c2334 set_capacity_and_notify(info->gd, sectors); in blkfront_connect()
H A Dpktcdvd.c2183 set_capacity_and_notify(pd->bdev->bd_disk, lba << 2); in pkt_open_dev()
H A Drbd.c4941 set_capacity_and_notify(rbd_dev->disk, size); in rbd_dev_update_size()
/openbmc/linux/drivers/block/zram/
H A Dzram_drv.c2030 set_capacity_and_notify(zram->disk, 0); in zram_reset_device()
2086 set_capacity_and_notify(zram->disk, zram->disksize >> SECTOR_SHIFT); in disksize_store()
/openbmc/linux/include/linux/
H A Dblkdev.h766 bool set_capacity_and_notify(struct gendisk *disk, sector_t size);
/openbmc/linux/drivers/scsi/
H A Dsd.c3556 set_capacity_and_notify(disk, logical_to_sectors(sdp, sdkp->capacity)); in sd_revalidate_disk()
3566 set_capacity_and_notify(disk, 0); in sd_revalidate_disk()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-clt.c82 set_capacity_and_notify(dev->gd, new_nsectors); in rnbd_clt_change_capacity()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_main.c2013 set_capacity_and_notify(device->vdisk, size); in drbd_set_my_capacity()
2044 set_capacity_and_notify(device->vdisk, 0); in drbd_device_cleanup()
/openbmc/linux/drivers/block/aoe/
H A Daoecmd.c905 set_capacity_and_notify(d->gd, d->ssize); in aoecmd_sleepwork()
/openbmc/linux/drivers/nvme/host/
H A Dcore.c1933 set_capacity_and_notify(disk, capacity); in nvme_update_disk_info()