Lines Matching refs:to_o2hb_region
1553 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region() function
1565 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release()
1632 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes); in o2hb_region_block_bytes_show()
1639 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store()
1661 return sprintf(page, "%llu\n", to_o2hb_region(item)->hr_start_block); in o2hb_region_start_block_show()
1668 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_start_block_store()
1686 return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks); in o2hb_region_blocks_show()
1693 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_blocks_store()
1716 if (to_o2hb_region(item)->hr_bdev) in o2hb_region_dev_show()
1717 ret = sprintf(page, "%s\n", to_o2hb_region(item)->hr_dev_name); in o2hb_region_dev_show()
1831 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_dev_store()
1995 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_pid_show()
2185 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_heartbeat_group_drop_item()