Lines Matching refs:o2hb_region
193 struct o2hb_region { struct
286 struct o2hb_region *reg = in o2hb_write_timeout() argument
287 container_of(work, struct o2hb_region, in o2hb_write_timeout()
318 static void o2hb_arm_timeout(struct o2hb_region *reg) in o2hb_arm_timeout()
343 static void o2hb_disarm_timeout(struct o2hb_region *reg) in o2hb_disarm_timeout()
371 struct o2hb_region *reg; in o2hb_nego_timeout()
373 reg = container_of(work, struct o2hb_region, hr_nego_timeout_work.work); in o2hb_nego_timeout()
436 struct o2hb_region *reg = data; in o2hb_nego_timeout_handler()
453 struct o2hb_region *reg = data; in o2hb_nego_approve_handler()
503 static struct bio *o2hb_setup_one_bio(struct o2hb_region *reg, in o2hb_setup_one_bio()
558 static int o2hb_read_slots(struct o2hb_region *reg, in o2hb_read_slots()
592 static int o2hb_issue_node_write(struct o2hb_region *reg, in o2hb_issue_node_write()
619 static u32 o2hb_compute_block_crc_le(struct o2hb_region *reg, in o2hb_compute_block_crc_le()
647 static int o2hb_verify_crc(struct o2hb_region *reg, in o2hb_verify_crc()
665 static int o2hb_check_own_slot(struct o2hb_region *reg) in o2hb_check_own_slot()
704 static inline void o2hb_prepare_block(struct o2hb_region *reg, in o2hb_prepare_block()
841 static void o2hb_set_quorum_device(struct o2hb_region *reg) in o2hb_set_quorum_device()
884 static int o2hb_check_slot(struct o2hb_region *reg, in o2hb_check_slot()
1076 static int o2hb_do_disk_heartbeat(struct o2hb_region *reg) in o2hb_do_disk_heartbeat()
1196 struct o2hb_region *reg = data; in o2hb_thread()
1275 struct o2hb_region *reg; in o2hb_debug_open()
1301 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1307 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1313 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1322 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1485 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region()
1487 return item ? container_of(item, struct o2hb_region, hr_item) : NULL; in to_o2hb_region()
1497 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release()
1531 static int o2hb_read_block_input(struct o2hb_region *reg, in o2hb_read_block_input()
1567 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store()
1596 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_start_block_store()
1622 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_blocks_store()
1651 static void o2hb_init_region_params(struct o2hb_region *reg) in o2hb_init_region_params()
1664 static int o2hb_map_slot_data(struct o2hb_region *reg) in o2hb_map_slot_data()
1727 static int o2hb_populate_slot_data(struct o2hb_region *reg) in o2hb_populate_slot_data()
1760 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_dev_store()
1916 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_pid_show()
1969 static void o2hb_debug_region_init(struct o2hb_region *reg, in o2hb_debug_region_init()
2001 struct o2hb_region *reg = NULL; in o2hb_heartbeat_group_make_item()
2004 reg = kzalloc(sizeof(struct o2hb_region), GFP_KERNEL); in o2hb_heartbeat_group_make_item()
2072 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_heartbeat_group_drop_item()
2268 struct o2hb_region *reg; in o2hb_region_pin()
2320 struct o2hb_region *reg; in o2hb_region_unpin()
2505 struct o2hb_region *reg; in o2hb_stop_all_regions()
2520 struct o2hb_region *reg; in o2hb_get_all_regions()