Searched refs:set_capacity_and_notify (Results 1 – 18 of 18) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | md-linear.c | 194 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in linear_add()
|
H A D | md-cluster.c | 588 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 D | md.c | 5387 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 D | dm-raid.c | 704 set_capacity_and_notify(gendisk, rs->md.array_sectors); in rs_set_capacity()
|
/openbmc/linux/block/ |
H A D | genhd.c | 69 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 D | virtio_blk.c | 740 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 D | loop.c | 232 if (!set_capacity_and_notify(lo->lo_disk, size)) in loop_set_size()
|
H A D | nbd.c | 357 if (!set_capacity_and_notify(nbd->disk, bytesize >> 9)) in nbd_set_size()
|
H A D | xen-blkfront.c | 2334 set_capacity_and_notify(info->gd, sectors); in blkfront_connect()
|
H A D | pktcdvd.c | 2183 set_capacity_and_notify(pd->bdev->bd_disk, lba << 2); in pkt_open_dev()
|
H A D | rbd.c | 4941 set_capacity_and_notify(rbd_dev->disk, size); in rbd_dev_update_size()
|
/openbmc/linux/drivers/block/zram/ |
H A D | zram_drv.c | 2030 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 D | blkdev.h | 766 bool set_capacity_and_notify(struct gendisk *disk, sector_t size);
|
/openbmc/linux/drivers/scsi/ |
H A D | sd.c | 3556 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 D | rnbd-clt.c | 82 set_capacity_and_notify(dev->gd, new_nsectors); in rnbd_clt_change_capacity()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_main.c | 2013 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 D | aoecmd.c | 905 set_capacity_and_notify(d->gd, d->ssize); in aoecmd_sleepwork()
|
/openbmc/linux/drivers/nvme/host/ |
H A D | core.c | 1933 set_capacity_and_notify(disk, capacity); in nvme_update_disk_info()
|