Lines Matching refs:erp
400 void zfcp_dbf_rec_run_lvl(int level, char *tag, struct zfcp_erp_action *erp) in zfcp_dbf_rec_run_lvl() argument
402 struct zfcp_dbf *dbf = erp->adapter->dbf; in zfcp_dbf_rec_run_lvl()
414 zfcp_dbf_set_common(rec, erp->adapter, erp->port, erp->sdev); in zfcp_dbf_rec_run_lvl()
416 rec->u.run.fsf_req_id = erp->fsf_req_id; in zfcp_dbf_rec_run_lvl()
417 rec->u.run.rec_status = erp->status; in zfcp_dbf_rec_run_lvl()
418 rec->u.run.rec_step = erp->step; in zfcp_dbf_rec_run_lvl()
419 rec->u.run.rec_action = erp->type; in zfcp_dbf_rec_run_lvl()
421 if (erp->sdev) in zfcp_dbf_rec_run_lvl()
423 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter); in zfcp_dbf_rec_run_lvl()
424 else if (erp->port) in zfcp_dbf_rec_run_lvl()
425 rec->u.run.rec_count = atomic_read(&erp->port->erp_counter); in zfcp_dbf_rec_run_lvl()
427 rec->u.run.rec_count = atomic_read(&erp->adapter->erp_counter); in zfcp_dbf_rec_run_lvl()
438 void zfcp_dbf_rec_run(char *tag, struct zfcp_erp_action *erp) in zfcp_dbf_rec_run() argument
440 zfcp_dbf_rec_run_lvl(1, tag, erp); in zfcp_dbf_rec_run()