Home
last modified time | relevance | path

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

/linux-6.12.1/block/
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);
/linux-6.12.1/drivers/md/
Dmd-cluster.c605 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()
Dmd.c5500 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()
Ddm-raid.c705 set_capacity_and_notify(gendisk, rs->md.array_sectors); in rs_set_capacity()
/linux-6.12.1/drivers/block/zram/
Dzram_drv.c2139 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/
Dblkdev.h770 bool set_capacity_and_notify(struct gendisk *disk, sector_t size);
/linux-6.12.1/drivers/block/
Dvirtio_blk.c945 set_capacity_and_notify(vblk->disk, capacity); in virtblk_update_capacity()
Dloop.c232 if (!set_capacity_and_notify(lo->lo_disk, size)) in loop_set_size()
Dxen-blkfront.c2335 set_capacity_and_notify(info->gd, sectors); in blkfront_connect()
Dnbd.c377 if (!set_capacity_and_notify(nbd->disk, bytesize >> 9)) in __nbd_set_size()
Dpktcdvd.c2191 set_capacity_and_notify(file_bdev(pd->bdev_file)->bd_disk, lba << 2); in pkt_open_dev()
Drbd.c4941 set_capacity_and_notify(rbd_dev->disk, size); in rbd_dev_update_size()
/linux-6.12.1/drivers/block/rnbd/
Drnbd-clt.c82 set_capacity_and_notify(dev->gd, new_nsectors); in rnbd_clt_change_capacity()
/linux-6.12.1/drivers/scsi/
Dsd.c3802 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/
Ddrbd_main.c1999 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/
Daoecmd.c905 set_capacity_and_notify(d->gd, d->ssize); in aoecmd_sleepwork()
/linux-6.12.1/drivers/nvme/host/
Dcore.c2208 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()