Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc.h631 #define DBG_LOG_SZ 256 macro
1254 struct dbg_log_ent dbg_log[DBG_LOG_SZ];
Dlpfc_init.c14172 start_idx = (unsigned int)atomic_read(&phba->dbg_log_idx) % DBG_LOG_SZ; in lpfc_dmp_dbg()
14175 if (dbg_cnt >= DBG_LOG_SZ) { in lpfc_dmp_dbg()
14176 dbg_cnt = DBG_LOG_SZ; in lpfc_dmp_dbg()
14179 if ((start_idx + dbg_cnt) > (DBG_LOG_SZ - 1)) { in lpfc_dmp_dbg()
14180 temp_idx = (start_idx + dbg_cnt) % DBG_LOG_SZ; in lpfc_dmp_dbg()
14183 start_idx = DBG_LOG_SZ - (dbg_cnt - start_idx); in lpfc_dmp_dbg()
14192 if ((start_idx + i) < DBG_LOG_SZ) in lpfc_dmp_dbg()
14193 temp_idx = (start_idx + i) % DBG_LOG_SZ; in lpfc_dmp_dbg()
14225 DBG_LOG_SZ; in lpfc_dbg_print()