Searched refs:set_capacity_and_notify (Results 1 – 17 of 17) sorted by relevance
/linux-6.12.1/block/ |
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);
|
/linux-6.12.1/drivers/md/ |
D | md-cluster.c | 605 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in process_recvd_msg() 1343 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in update_size()
|
D | md.c | 5500 set_capacity_and_notify(mddev->gendisk, in array_size_store() 6284 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in do_md_run() 6576 set_capacity_and_notify(disk, 0); in do_md_stop() 7398 set_capacity_and_notify(mddev->gendisk, in update_size() 9259 set_capacity_and_notify(mddev->gendisk, in md_do_sync()
|
D | dm-raid.c | 705 set_capacity_and_notify(gendisk, rs->md.array_sectors); in rs_set_capacity()
|
/linux-6.12.1/drivers/block/zram/ |
D | zram_drv.c | 2139 set_capacity_and_notify(zram->disk, 0); in zram_reset_device() 2196 set_capacity_and_notify(zram->disk, zram->disksize >> SECTOR_SHIFT); in disksize_store()
|
/linux-6.12.1/include/linux/ |
D | blkdev.h | 770 bool set_capacity_and_notify(struct gendisk *disk, sector_t size);
|
/linux-6.12.1/drivers/block/ |
D | virtio_blk.c | 945 set_capacity_and_notify(vblk->disk, capacity); in virtblk_update_capacity()
|
D | loop.c | 232 if (!set_capacity_and_notify(lo->lo_disk, size)) in loop_set_size()
|
D | xen-blkfront.c | 2335 set_capacity_and_notify(info->gd, sectors); in blkfront_connect()
|
D | nbd.c | 377 if (!set_capacity_and_notify(nbd->disk, bytesize >> 9)) in __nbd_set_size()
|
D | pktcdvd.c | 2191 set_capacity_and_notify(file_bdev(pd->bdev_file)->bd_disk, lba << 2); in pkt_open_dev()
|
D | rbd.c | 4941 set_capacity_and_notify(rbd_dev->disk, size); in rbd_dev_update_size()
|
/linux-6.12.1/drivers/block/rnbd/ |
D | rnbd-clt.c | 82 set_capacity_and_notify(dev->gd, new_nsectors); in rnbd_clt_change_capacity()
|
/linux-6.12.1/drivers/scsi/ |
D | sd.c | 3802 set_capacity_and_notify(disk, logical_to_sectors(sdp, sdkp->capacity)); in sd_revalidate_disk() 3826 set_capacity_and_notify(disk, 0); in sd_revalidate_disk()
|
/linux-6.12.1/drivers/block/drbd/ |
D | drbd_main.c | 1999 set_capacity_and_notify(device->vdisk, size); in drbd_set_my_capacity() 2030 set_capacity_and_notify(device->vdisk, 0); in drbd_device_cleanup()
|
/linux-6.12.1/drivers/block/aoe/ |
D | aoecmd.c | 905 set_capacity_and_notify(d->gd, d->ssize); in aoecmd_sleepwork()
|
/linux-6.12.1/drivers/nvme/host/ |
D | core.c | 2208 set_capacity_and_notify(ns->disk, capacity); in nvme_update_ns_info_block() 2306 set_capacity_and_notify(ns->head->disk, get_capacity(ns->disk)); in nvme_update_ns_info()
|