Lines Matching refs:n_layers
68 for (i = 0; i < mci->n_layers; i++) { in edac_dimm_info_location()
293 for (layer = 0; layer < mci->n_layers; layer++) { in edac_mc_alloc_dimms()
323 for (layer = mci->n_layers - 1; layer >= 0; layer--) { in edac_mc_alloc_dimms()
335 unsigned int n_layers, in edac_mc_alloc() argument
345 if (WARN_ON(n_layers > EDAC_MAX_LAYERS || n_layers == 0)) in edac_mc_alloc()
352 for (idx = 0; idx < n_layers; idx++) { in edac_mc_alloc()
368 mci->layers = kcalloc(n_layers, sizeof(struct edac_mc_layer), GFP_KERNEL); in edac_mc_alloc()
382 mci->n_layers = n_layers; in edac_mc_alloc()
383 memcpy(mci->layers, layers, sizeof(*layer) * n_layers); in edac_mc_alloc()
985 for (i = 0; i < mci->n_layers; i++) { in edac_mc_handle_error()
1080 for (i = 0; i < mci->n_layers; i++) { in edac_mc_handle_error()