Lines Matching refs:to_o2hb_region
1485 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region() function
1497 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release()
1560 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes); in o2hb_region_block_bytes_show()
1567 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store()
1589 return sprintf(page, "%llu\n", to_o2hb_region(item)->hr_start_block); in o2hb_region_start_block_show()
1596 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_start_block_store()
1615 return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks); in o2hb_region_blocks_show()
1622 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_blocks_store()
1645 if (to_o2hb_region(item)->hr_bdev_file) in o2hb_region_dev_show()
1646 ret = sprintf(page, "%pg\n", reg_bdev(to_o2hb_region(item))); in o2hb_region_dev_show()
1763 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_dev_store()
1917 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_pid_show()
2073 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_heartbeat_group_drop_item()