Lines Matching defs:erp
381 * @erp: erp_action running
383 void zfcp_dbf_rec_run_lvl(int level, char *tag, struct zfcp_erp_action *erp)
385 struct zfcp_dbf *dbf = erp->adapter->dbf;
397 zfcp_dbf_set_common(rec, erp->adapter, erp->port, erp->sdev);
399 rec->u.run.fsf_req_id = erp->fsf_req_id;
400 rec->u.run.rec_status = erp->status;
401 rec->u.run.rec_step = erp->step;
402 rec->u.run.rec_action = erp->type;
404 if (erp->sdev)
406 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter);
407 else if (erp->port)
408 rec->u.run.rec_count = atomic_read(&erp->port->erp_counter);
410 rec->u.run.rec_count = atomic_read(&erp->adapter->erp_counter);
419 * @erp: erp_action running
421 void zfcp_dbf_rec_run(char *tag, struct zfcp_erp_action *erp)
423 zfcp_dbf_rec_run_lvl(1, tag, erp);