Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/edac/
Dedac_mc.c284 const unsigned int tot_csrows = mci->nr_csrows; in _edac_mc_free() local
292 for (row = 0; row < tot_csrows; row++) { in _edac_mc_free()
321 unsigned tot_csrows = 1, tot_channels = 1, tot_errcount = 0; in edac_mc_alloc() local
334 tot_csrows *= layers[i].size; in edac_mc_alloc()
365 tot_csrows * tot_channels); in edac_mc_alloc()
388 mci->nr_csrows = tot_csrows; in edac_mc_alloc()
395 mci->csrows = kcalloc(tot_csrows, sizeof(*mci->csrows), GFP_KERNEL); in edac_mc_alloc()
398 for (row = 0; row < tot_csrows; row++) { in edac_mc_alloc()
479 if (row == tot_csrows) { in edac_mc_alloc()