Home
last modified time | relevance | path

Searched refs:dbg_cnt (Results 1 – 1 of 1) sorted by relevance

/drivers/scsi/lpfc/
Dlpfc_init.c14074 unsigned int dbg_cnt; in lpfc_dmp_dbg() local
14087 dbg_cnt = (unsigned int)atomic_read(&phba->dbg_log_cnt); in lpfc_dmp_dbg()
14089 if (dbg_cnt >= DBG_LOG_SZ) { in lpfc_dmp_dbg()
14090 dbg_cnt = DBG_LOG_SZ; in lpfc_dmp_dbg()
14093 if ((start_idx + dbg_cnt) > (DBG_LOG_SZ - 1)) { in lpfc_dmp_dbg()
14094 temp_idx = (start_idx + dbg_cnt) % DBG_LOG_SZ; in lpfc_dmp_dbg()
14096 if (start_idx < dbg_cnt) in lpfc_dmp_dbg()
14097 start_idx = DBG_LOG_SZ - (dbg_cnt - start_idx); in lpfc_dmp_dbg()
14099 start_idx -= dbg_cnt; in lpfc_dmp_dbg()
14103 start_idx, temp_idx, dbg_cnt); in lpfc_dmp_dbg()
[all …]