Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4u/sunfire/sys/
H A Dfhc.h310 #define L2_SZ 15 /* size of array for level 2 samples */ macro
320 #define L3_INDEX(i) ((i) / (L1_SZ * L2_SZ))
321 #define L3_REM(i) ((i) % (L1_SZ * L2_SZ))
322 #define L4_INDEX(i) ((i) / (L1_SZ * L2_SZ * L3_SZ))
323 #define L4_REM(i) ((i) % (L1_SZ * L2_SZ * L3_SZ))
324 #define L5_INDEX(i) ((i) / (L1_SZ * L2_SZ * L3_SZ * L4_SZ))
325 #define L5_REM(i) ((i) % (L1_SZ * L2_SZ * L3_SZ * L4_SZ))
387 short l2[L2_SZ]; /* level 2 samples */
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dfhc.c1592 for (i = 0; i < L2_SZ; i++) { in init_temp_arrays()
1713 for (i = 0, count = 0, total = 0; i < L2_SZ; i++) { in update_temp()
1736 tmp_index = tmp_index % L2_SZ; in update_temp()
1960 #define PREV_L2_INDEX(x) ((x) ? ((x) - 1) : (L2_SZ - 1))
1982 curr_index = (L2_INDEX(tempstat->index) - 1) % L2_SZ; in temp_trend()
1987 for (read_cnt = 0; read_cnt < L2_SZ - 1; read_cnt++) { in temp_trend()
2104 for (i = 0; i < L2_SZ; i++) { in overtemp_kstat_update()