Lines Matching refs:units
68 /* If debug size > 1MB then bump default crash size to keep the same units */
75 /* Convert to correct units */
77 log->sizes[i].units = SZ_1M;
80 log->sizes[i].units = SZ_4K;
84 if (!IS_ALIGNED(log->sizes[i].bytes, log->sizes[i].units))
86 sections[i].name, log->sizes[i].bytes, log->sizes[i].units);
87 log->sizes[i].count = log->sizes[i].bytes / log->sizes[i].units;
104 if (log->sizes[GUC_LOG_SECTIONS_CRASH].units != log->sizes[GUC_LOG_SECTIONS_DEBUG].units) {
106 log->sizes[GUC_LOG_SECTIONS_CRASH].units,
107 log->sizes[GUC_LOG_SECTIONS_DEBUG].units);
108 log->sizes[GUC_LOG_SECTIONS_CRASH].units = log->sizes[GUC_LOG_SECTIONS_DEBUG].units;