Lines Matching refs:zfcp_erp_action
64 static int zfcp_erp_action_exists(struct zfcp_erp_action *act) in zfcp_erp_action_exists()
66 struct zfcp_erp_action *curr_act; in zfcp_erp_action_exists()
74 static void zfcp_erp_action_ready(struct zfcp_erp_action *act) in zfcp_erp_action_ready()
84 static void zfcp_erp_action_dismiss(struct zfcp_erp_action *act) in zfcp_erp_action_dismiss()
176 static struct zfcp_erp_action *zfcp_erp_setup_act(int need, u32 act_status, in zfcp_erp_setup_act()
181 struct zfcp_erp_action *erp_action; in zfcp_erp_setup_act()
193 memset(erp_action, 0, sizeof(struct zfcp_erp_action)); in zfcp_erp_setup_act()
208 memset(erp_action, 0, sizeof(struct zfcp_erp_action)); in zfcp_erp_setup_act()
219 memset(erp_action, 0, sizeof(struct zfcp_erp_action)); in zfcp_erp_setup_act()
242 struct zfcp_erp_action *act; in zfcp_erp_action_enqueue()
505 static void zfcp_erp_action_to_running(struct zfcp_erp_action *erp_action) in zfcp_erp_action_to_running()
511 static void zfcp_erp_strategy_check_fsfreq(struct zfcp_erp_action *act) in zfcp_erp_strategy_check_fsfreq()
542 void zfcp_erp_notify(struct zfcp_erp_action *erp_action, unsigned long set_mask) in zfcp_erp_notify()
561 struct zfcp_erp_action *act = (struct zfcp_erp_action *) data; in zfcp_erp_timeout_handler()
567 zfcp_erp_notify((struct zfcp_erp_action *)data, 0); in zfcp_erp_memwait_handler()
570 static void zfcp_erp_strategy_memwait(struct zfcp_erp_action *erp_action) in zfcp_erp_strategy_memwait()
600 static void zfcp_erp_strategy_followup_failed(struct zfcp_erp_action *act) in zfcp_erp_strategy_followup_failed()
618 static void zfcp_erp_strategy_followup_success(struct zfcp_erp_action *act) in zfcp_erp_strategy_followup_success()
657 static int zfcp_erp_adapter_strat_fsf_xconf(struct zfcp_erp_action *erp_action) in zfcp_erp_adapter_strat_fsf_xconf()
702 static int zfcp_erp_adapter_strategy_open_fsf_xport(struct zfcp_erp_action *act) in zfcp_erp_adapter_strategy_open_fsf_xport()
727 static int zfcp_erp_adapter_strategy_open_fsf(struct zfcp_erp_action *act) in zfcp_erp_adapter_strategy_open_fsf()
750 static void zfcp_erp_adapter_strategy_close(struct zfcp_erp_action *act) in zfcp_erp_adapter_strategy_close()
766 static int zfcp_erp_adapter_strategy_open(struct zfcp_erp_action *act) in zfcp_erp_adapter_strategy_open()
787 static int zfcp_erp_adapter_strategy(struct zfcp_erp_action *act) in zfcp_erp_adapter_strategy()
805 static int zfcp_erp_port_forced_strategy_close(struct zfcp_erp_action *act) in zfcp_erp_port_forced_strategy_close()
824 static int zfcp_erp_port_forced_strategy(struct zfcp_erp_action *erp_action) in zfcp_erp_port_forced_strategy()
845 static int zfcp_erp_port_strategy_close(struct zfcp_erp_action *erp_action) in zfcp_erp_port_strategy_close()
858 static int zfcp_erp_port_strategy_open_port(struct zfcp_erp_action *erp_action) in zfcp_erp_port_strategy_open_port()
871 static int zfcp_erp_open_ptp_port(struct zfcp_erp_action *act) in zfcp_erp_open_ptp_port()
884 static int zfcp_erp_port_strategy_open_common(struct zfcp_erp_action *act) in zfcp_erp_port_strategy_open_common()
920 static int zfcp_erp_port_strategy(struct zfcp_erp_action *erp_action) in zfcp_erp_port_strategy()
958 static int zfcp_erp_lun_strategy_close(struct zfcp_erp_action *erp_action) in zfcp_erp_lun_strategy_close()
969 static int zfcp_erp_lun_strategy_open(struct zfcp_erp_action *erp_action) in zfcp_erp_lun_strategy_open()
980 static int zfcp_erp_lun_strategy(struct zfcp_erp_action *erp_action) in zfcp_erp_lun_strategy()
1094 static int zfcp_erp_strategy_check_target(struct zfcp_erp_action *erp_action, in zfcp_erp_strategy_check_target()
1134 static int zfcp_erp_strategy_statechange(struct zfcp_erp_action *act, int ret) in zfcp_erp_strategy_statechange()
1176 static void zfcp_erp_action_dequeue(struct zfcp_erp_action *erp_action) in zfcp_erp_action_dequeue()
1210 static void zfcp_erp_action_cleanup(struct zfcp_erp_action *act, int result) in zfcp_erp_action_cleanup()
1243 static int zfcp_erp_strategy_do_action(struct zfcp_erp_action *erp_action) in zfcp_erp_strategy_do_action()
1258 static int zfcp_erp_strategy(struct zfcp_erp_action *erp_action) in zfcp_erp_strategy()
1337 struct zfcp_erp_action *act; in zfcp_erp_thread()
1353 act = list_entry(next, struct zfcp_erp_action, list); in zfcp_erp_thread()