Lines Matching refs:o2hb_region

193 struct o2hb_region {  struct
284 struct o2hb_region *reg = in o2hb_write_timeout() argument
285 container_of(work, struct o2hb_region, in o2hb_write_timeout()
316 static void o2hb_arm_timeout(struct o2hb_region *reg) in o2hb_arm_timeout()
341 static void o2hb_disarm_timeout(struct o2hb_region *reg) in o2hb_disarm_timeout()
369 struct o2hb_region *reg; in o2hb_nego_timeout()
371 reg = container_of(work, struct o2hb_region, hr_nego_timeout_work.work); in o2hb_nego_timeout()
434 struct o2hb_region *reg = data; in o2hb_nego_timeout_handler()
451 struct o2hb_region *reg = data; in o2hb_nego_approve_handler()
501 static struct bio *o2hb_setup_one_bio(struct o2hb_region *reg, in o2hb_setup_one_bio()
553 static int o2hb_read_slots(struct o2hb_region *reg, in o2hb_read_slots()
587 static int o2hb_issue_node_write(struct o2hb_region *reg, in o2hb_issue_node_write()
614 static u32 o2hb_compute_block_crc_le(struct o2hb_region *reg, in o2hb_compute_block_crc_le()
642 static int o2hb_verify_crc(struct o2hb_region *reg, in o2hb_verify_crc()
660 static int o2hb_check_own_slot(struct o2hb_region *reg) in o2hb_check_own_slot()
699 static inline void o2hb_prepare_block(struct o2hb_region *reg, in o2hb_prepare_block()
836 static void o2hb_set_quorum_device(struct o2hb_region *reg) in o2hb_set_quorum_device()
879 static int o2hb_check_slot(struct o2hb_region *reg, in o2hb_check_slot()
1071 static int o2hb_do_disk_heartbeat(struct o2hb_region *reg) in o2hb_do_disk_heartbeat()
1191 struct o2hb_region *reg = data; in o2hb_thread()
1270 struct o2hb_region *reg; in o2hb_debug_open()
1296 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1302 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1308 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1317 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1480 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region()
1482 return item ? container_of(item, struct o2hb_region, hr_item) : NULL; in to_o2hb_region()
1492 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release()
1526 static int o2hb_read_block_input(struct o2hb_region *reg, in o2hb_read_block_input()
1562 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store()
1591 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_start_block_store()
1617 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_blocks_store()
1646 static void o2hb_init_region_params(struct o2hb_region *reg) in o2hb_init_region_params()
1659 static int o2hb_map_slot_data(struct o2hb_region *reg) in o2hb_map_slot_data()
1722 static int o2hb_populate_slot_data(struct o2hb_region *reg) in o2hb_populate_slot_data()
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()
1962 static void o2hb_debug_region_init(struct o2hb_region *reg, in o2hb_debug_region_init()
1994 struct o2hb_region *reg = NULL; in o2hb_heartbeat_group_make_item()
1997 reg = kzalloc(sizeof(struct o2hb_region), GFP_KERNEL); in o2hb_heartbeat_group_make_item()
2065 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_heartbeat_group_drop_item()
2261 struct o2hb_region *reg; in o2hb_region_pin()
2313 struct o2hb_region *reg; in o2hb_region_unpin()
2498 struct o2hb_region *reg; in o2hb_stop_all_regions()
2513 struct o2hb_region *reg; in o2hb_get_all_regions()