Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c15784 unsigned int dbg_cnt; in lpfc_dmp_dbg() local
15795 if (!dbg_cnt) in lpfc_dmp_dbg()
15798 if (dbg_cnt >= DBG_LOG_SZ) { in lpfc_dmp_dbg()
15799 dbg_cnt = DBG_LOG_SZ; in lpfc_dmp_dbg()
15802 if ((start_idx + dbg_cnt) > (DBG_LOG_SZ - 1)) { in lpfc_dmp_dbg()
15803 temp_idx = (start_idx + dbg_cnt) % DBG_LOG_SZ; in lpfc_dmp_dbg()
15805 if (start_idx < dbg_cnt) in lpfc_dmp_dbg()
15806 start_idx = DBG_LOG_SZ - (dbg_cnt - start_idx); in lpfc_dmp_dbg()
15808 start_idx -= dbg_cnt; in lpfc_dmp_dbg()
15812 start_idx, temp_idx, dbg_cnt); in lpfc_dmp_dbg()
[all …]