Lines Matching refs:erp
358 void zfcp_dbf_rec_run_lvl(int level, char *tag, struct zfcp_erp_action *erp) in zfcp_dbf_rec_run_lvl() argument
360 struct zfcp_dbf *dbf = erp->adapter->dbf; in zfcp_dbf_rec_run_lvl()
372 zfcp_dbf_set_common(rec, erp->adapter, erp->port, erp->sdev); in zfcp_dbf_rec_run_lvl()
374 rec->u.run.fsf_req_id = erp->fsf_req_id; in zfcp_dbf_rec_run_lvl()
375 rec->u.run.rec_status = erp->status; in zfcp_dbf_rec_run_lvl()
376 rec->u.run.rec_step = erp->step; in zfcp_dbf_rec_run_lvl()
377 rec->u.run.rec_action = erp->type; in zfcp_dbf_rec_run_lvl()
379 if (erp->sdev) in zfcp_dbf_rec_run_lvl()
381 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter); in zfcp_dbf_rec_run_lvl()
382 else if (erp->port) in zfcp_dbf_rec_run_lvl()
383 rec->u.run.rec_count = atomic_read(&erp->port->erp_counter); in zfcp_dbf_rec_run_lvl()
385 rec->u.run.rec_count = atomic_read(&erp->adapter->erp_counter); in zfcp_dbf_rec_run_lvl()
396 void zfcp_dbf_rec_run(char *tag, struct zfcp_erp_action *erp) in zfcp_dbf_rec_run() argument
398 zfcp_dbf_rec_run_lvl(1, tag, erp); in zfcp_dbf_rec_run()