Searched refs:L1_SZ (Results 1 – 5 of 5) sorted by relevance
311 #define L1_SZ 30 /* # of OVERTEMP_TIMEOUT_SEC samples */ macro320 #define L2_INDEX(i) ((i) / L1_SZ)321 #define L2_REM(i) ((i) % L1_SZ)322 #define L3_INDEX(i) ((i) / (L1_SZ * L2_SZ))323 #define L3_REM(i) ((i) % (L1_SZ * L2_SZ))324 #define L4_INDEX(i) ((i) / (L1_SZ * L2_SZ * L3_SZ))325 #define L4_REM(i) ((i) % (L1_SZ * L2_SZ * L3_SZ))326 #define L5_INDEX(i) ((i) / (L1_SZ * L2_SZ * L3_SZ * L4_SZ))327 #define L5_REM(i) ((i) % (L1_SZ * L2_SZ * L3_SZ * L4_SZ))388 short l1[L1_SZ]; /* OVERTEMP_TIMEOUT_SEC samples */
1589 for (i = 0; i < L1_SZ; i++) { in init_temp_arrays()1740 for (i = 0, count = 0, total = 0; i < L1_SZ; i++) { in update_temp()1769 envstat->l1[index % L1_SZ] = real_temp; in update_temp()2092 for (i = 0; i < L1_SZ; i++) { in overtemp_kstat_update()
1622 curr_temp = bksp->tempstat.l1[bksp->tempstat.index % L1_SZ]; in disp_env_status()1647 curr_temp = kstats->tempstat.l1[kstats->tempstat.index % L1_SZ]; in disp_env_status()
1281 buf = short_array_to_string(temps->l1, L1_SZ); in save_temperature()
607 hv_store(self, "l1", 2, short_array_to_SV(tempsp->l1, L1_SZ), 0); in save_temperature()