Lines Matching refs:hr_bdev
216 struct block_device *hr_bdev; member
289 "milliseconds\n", reg->hr_bdev, in o2hb_write_timeout()
386 config_item_name(®->hr_item), reg->hr_bdev); in o2hb_nego_timeout()
401 config_item_name(®->hr_item), reg->hr_bdev); in o2hb_nego_timeout()
422 reg->hr_bdev, master_node); in o2hb_nego_timeout()
439 nego_msg->node_num, config_item_name(®->hr_item), reg->hr_bdev); in o2hb_nego_timeout_handler()
454 config_item_name(®->hr_item), reg->hr_bdev); in o2hb_nego_approve_handler()
518 bio = bio_alloc(reg->hr_bdev, 16, opf, GFP_ATOMIC); in o2hb_setup_one_bio()
690 "ondisk(%u:0x%llx, 0x%llx)\n", errstr, reg->hr_bdev, in o2hb_check_own_slot()
864 config_item_name(®->hr_item), reg->hr_bdev); in o2hb_set_quorum_device()
923 slot->ds_node_num, reg->hr_bdev); in o2hb_check_slot()
1006 slot->ds_node_num, reg->hr_bdev, slot_dead_ms, in o2hb_check_slot()
1146 write_wc.wc_error, reg->hr_bdev); in o2hb_do_disk_heartbeat()
1172 reg->hr_bdev); in o2hb_do_disk_heartbeat()
1494 mlog(ML_HEARTBEAT, "hb region release (%pg)\n", reg->hr_bdev); in o2hb_region_release()
1507 if (reg->hr_bdev) in o2hb_region_release()
1508 blkdev_put(reg->hr_bdev, FMODE_READ|FMODE_WRITE); in o2hb_region_release()
1567 if (reg->hr_bdev) in o2hb_region_block_bytes_store()
1596 if (reg->hr_bdev) in o2hb_region_start_block_store()
1621 if (reg->hr_bdev) in o2hb_region_blocks_store()
1640 if (to_o2hb_region(item)->hr_bdev) in o2hb_region_dev_show()
1641 ret = sprintf(page, "%pg\n", to_o2hb_region(item)->hr_bdev); in o2hb_region_dev_show()
1764 if (reg->hr_bdev) in o2hb_region_dev_store()
1790 reg->hr_bdev = blkdev_get_by_dev(f.file->f_mapping->host->i_rdev, in o2hb_region_dev_store()
1792 if (IS_ERR(reg->hr_bdev)) { in o2hb_region_dev_store()
1793 ret = PTR_ERR(reg->hr_bdev); in o2hb_region_dev_store()
1794 reg->hr_bdev = NULL; in o2hb_region_dev_store()
1798 sectsize = bdev_logical_block_size(reg->hr_bdev); in o2hb_region_dev_store()
1894 config_item_name(®->hr_item), reg->hr_bdev); in o2hb_region_dev_store()
1898 blkdev_put(reg->hr_bdev, FMODE_READ | FMODE_WRITE); in o2hb_region_dev_store()
1899 reg->hr_bdev = NULL; in o2hb_region_dev_store()
2089 reg->hr_bdev); in o2hb_heartbeat_group_drop_item()