Searched refs:this_bdev (Results 1 – 7 of 7) sorted by relevance
997 p->c_size = cpu_to_be64(trigger_reply ? 0 : drbd_get_capacity(device->this_bdev)); in drbd_send_sizes()2229 if (device->this_bdev) in drbd_destroy_device()2230 bdput(device->this_bdev); in drbd_destroy_device()2815 device->this_bdev = bdget(MKDEV(DRBD_MAJOR, minor)); in drbd_create_device()2817 device->this_bdev->bd_contains = device->this_bdev; in drbd_create_device()3099 buffer->la_size_sect = cpu_to_be64(drbd_get_capacity(device->this_bdev)); in drbd_md_write()3157 device->ldev->md.la_size_sect = drbd_get_capacity(device->this_bdev); in drbd_md_sync()
851 struct block_device *this_bdev; member1616 device->this_bdev->bd_inode->i_size = (loff_t)size << 9; in drbd_set_my_capacity()
606 const sector_t capacity = drbd_get_capacity(device->this_bdev); in make_resync_request()784 const sector_t capacity = drbd_get_capacity(device->this_bdev); in make_ov_request()
983 if (drbd_get_capacity(device->this_bdev) != size || in drbd_determine_dev_size()1893 drbd_get_capacity(device->this_bdev)) { in drbd_adm_attach()3340 s->dev_size = drbd_get_capacity(device->this_bdev); in device_to_statistics()3781 drbd_get_capacity(device->this_bdev)) || in nla_put_status_info()
880 nr_sectors = drbd_get_capacity(device->this_bdev); in __drbd_change_sync()
1759 const sector_t capacity = drbd_get_capacity(device->this_bdev); in read_in_block()2724 capacity = drbd_get_capacity(device->this_bdev); in receive_DataRequest()4017 cur_size = drbd_get_capacity(device->this_bdev); in receive_sizes()4098 drbd_get_capacity(device->this_bdev) || ldsc) { in receive_sizes()
921 nr_sectors = drbd_get_capacity(device->this_bdev); in drbd_may_do_local_read()