Searched refs:pmsMaxStates (Results 1 - 2 of 2) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dpms.h34 #define pmsMaxStates 64 macro
83 pmsStat (*pmsStats)[pmsMaxStates]; /* Pointer to statistics information, 0 if not enabled */
84 pmsDef *pmsDefs[pmsMaxStates]; /* Indexed pointers to steps */
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dpms.c58 .pmsStepID = pmsMaxStates - 1, /* Use the very last ID number for the dummy */
65 pmsStat pmsStatsd[4][pmsMaxStates]; /* Generate enough statistics blocks for 4 processors */
95 for(i = 0; i < pmsMaxStates; i++) pmsCtls.pmsDefs[i] = &pmsDummy; /* Initialize the table to dummy steps */
371 for(i = 0; i < pmsMaxStates; i++) { /* Step through the steps and clear the statistics since we were parked */
434 if((reqsize > (pmsMaxStates * sizeof(pmsDef))) || (reqsize < (pmsFree * sizeof(pmsDef)))) { /* Check that the size is reasonable */
587 if((steps >= pmsMaxStates) || (steps < pmsFree)) /* Complain if too big or too small */
711 for(i = 0; i < pmsMaxStates; i++) pmsCtls.pmsDefs[i] = &pmsDummy; /* Initialize the table to point to the dummy step */

Completed in 26 milliseconds