Home
last modified time | relevance | path

Searched refs:this_bdev (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/block/drbd/
Ddrbd_main.c986 p->c_size = cpu_to_be64(trigger_reply ? 0 : drbd_get_capacity(device->this_bdev)); in drbd_send_sizes()
2035 device->this_bdev->bd_inode->i_size = (loff_t)size << 9; in _drbd_set_my_capacity()
2238 if (device->this_bdev) in drbd_destroy_device()
2239 bdput(device->this_bdev); in drbd_destroy_device()
2824 device->this_bdev = bdget(MKDEV(DRBD_MAJOR, minor)); in drbd_create_device()
2826 device->this_bdev->bd_contains = device->this_bdev; in drbd_create_device()
3107 buffer->la_size_sect = cpu_to_be64(drbd_get_capacity(device->this_bdev)); in drbd_md_write()
3165 device->ldev->md.la_size_sect = drbd_get_capacity(device->this_bdev); in drbd_md_sync()
Ddrbd_worker.c593 const sector_t capacity = drbd_get_capacity(device->this_bdev); in make_resync_request()
771 const sector_t capacity = drbd_get_capacity(device->this_bdev); in make_ov_request()
Ddrbd_nl.c1000 if (drbd_get_capacity(device->this_bdev) != size || in drbd_determine_dev_size()
1945 drbd_get_capacity(device->this_bdev)) { in drbd_adm_attach()
3394 s->dev_size = drbd_get_capacity(device->this_bdev); in device_to_statistics()
3835 drbd_get_capacity(device->this_bdev)) || in nla_put_status_info()
Ddrbd_actlog.c868 nr_sectors = drbd_get_capacity(device->this_bdev); in __drbd_change_sync()
Ddrbd_receiver.c1862 const sector_t capacity = drbd_get_capacity(device->this_bdev); in read_in_block()
2851 capacity = drbd_get_capacity(device->this_bdev); in receive_DataRequest()
4119 cur_size = drbd_get_capacity(device->this_bdev); in receive_sizes()
4255 drbd_get_capacity(device->this_bdev) || ldsc) { in receive_sizes()
Ddrbd_req.c909 nr_sectors = drbd_get_capacity(device->this_bdev); in drbd_may_do_local_read()
Ddrbd_int.h844 struct block_device *this_bdev; member