Lines Matching refs:to_o2hb_region
1480 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region() function
1492 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release()
1555 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes); in o2hb_region_block_bytes_show()
1562 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store()
1584 return sprintf(page, "%llu\n", to_o2hb_region(item)->hr_start_block); in o2hb_region_start_block_show()
1591 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_start_block_store()
1610 return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks); in o2hb_region_blocks_show()
1617 struct o2hb_region *reg = to_o2hb_region(item); 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()
1755 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_dev_store()
1909 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_pid_show()
2065 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_heartbeat_group_drop_item()