Lines Matching refs:to_o2hb_region
1489 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region() function
1501 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release()
1564 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes); in o2hb_region_block_bytes_show()
1571 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store()
1593 return sprintf(page, "%llu\n", to_o2hb_region(item)->hr_start_block); in o2hb_region_start_block_show()
1600 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_start_block_store()
1618 return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks); in o2hb_region_blocks_show()
1625 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_blocks_store()
1648 if (to_o2hb_region(item)->hr_bdev) in o2hb_region_dev_show()
1649 ret = sprintf(page, "%s\n", to_o2hb_region(item)->hr_dev_name); in o2hb_region_dev_show()
1763 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_dev_store()
1919 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_pid_show()
2069 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_heartbeat_group_drop_item()