Lines Matching refs:o2hb_region

195 struct o2hb_region {  struct
288 struct o2hb_region *reg = in o2hb_write_timeout() argument
289 container_of(work, struct o2hb_region, in o2hb_write_timeout()
320 static void o2hb_arm_timeout(struct o2hb_region *reg) in o2hb_arm_timeout()
345 static void o2hb_disarm_timeout(struct o2hb_region *reg) in o2hb_disarm_timeout()
373 struct o2hb_region *reg; in o2hb_nego_timeout()
375 reg = container_of(work, struct o2hb_region, hr_nego_timeout_work.work); in o2hb_nego_timeout()
438 struct o2hb_region *reg = data; in o2hb_nego_timeout_handler()
455 struct o2hb_region *reg = data; in o2hb_nego_approve_handler()
505 static struct bio *o2hb_setup_one_bio(struct o2hb_region *reg, in o2hb_setup_one_bio()
560 static int o2hb_read_slots(struct o2hb_region *reg, in o2hb_read_slots()
594 static int o2hb_issue_node_write(struct o2hb_region *reg, in o2hb_issue_node_write()
621 static u32 o2hb_compute_block_crc_le(struct o2hb_region *reg, in o2hb_compute_block_crc_le()
649 static int o2hb_verify_crc(struct o2hb_region *reg, in o2hb_verify_crc()
667 static int o2hb_check_own_slot(struct o2hb_region *reg) in o2hb_check_own_slot()
706 static inline void o2hb_prepare_block(struct o2hb_region *reg, in o2hb_prepare_block()
843 static void o2hb_set_quorum_device(struct o2hb_region *reg) in o2hb_set_quorum_device()
886 static int o2hb_check_slot(struct o2hb_region *reg, in o2hb_check_slot()
1078 static int o2hb_do_disk_heartbeat(struct o2hb_region *reg) in o2hb_do_disk_heartbeat()
1198 struct o2hb_region *reg = data; in o2hb_thread()
1277 struct o2hb_region *reg; in o2hb_debug_open()
1303 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1309 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1315 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1324 reg = (struct o2hb_region *)db->db_data; in o2hb_debug_open()
1489 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region()
1491 return item ? container_of(item, struct o2hb_region, hr_item) : NULL; in to_o2hb_region()
1501 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release()
1535 static int o2hb_read_block_input(struct o2hb_region *reg, in o2hb_read_block_input()
1571 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store()
1600 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_start_block_store()
1625 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_blocks_store()
1654 static void o2hb_init_region_params(struct o2hb_region *reg) in o2hb_init_region_params()
1667 static int o2hb_map_slot_data(struct o2hb_region *reg) in o2hb_map_slot_data()
1730 static int o2hb_populate_slot_data(struct o2hb_region *reg) in o2hb_populate_slot_data()
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()
1972 static void o2hb_debug_region_init(struct o2hb_region *reg, in o2hb_debug_region_init()
2004 struct o2hb_region *reg = NULL; in o2hb_heartbeat_group_make_item()
2007 reg = kzalloc(sizeof(struct o2hb_region), GFP_KERNEL); in o2hb_heartbeat_group_make_item()
2075 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_heartbeat_group_drop_item()
2271 struct o2hb_region *reg; in o2hb_region_pin()
2323 struct o2hb_region *reg; in o2hb_region_unpin()
2508 struct o2hb_region *reg; in o2hb_stop_all_regions()
2523 struct o2hb_region *reg; in o2hb_get_all_regions()