Lines Matching refs:cap
43 * When resource control framework sets the cap to NOCAP value the cap
49 * Maximum value for the cap usage. Should be the maximum value for hrtime_t
64 struct kproject *cap_project; /* project for the cap */
65 struct zone *cap_zone; /* zone for the cap */
68 int64_t cap_gen; /* zone cap specific */
69 hrtime_t cap_value; /* scaled CPU usage cap */
73 * Per cap statistics.
75 hrtime_t cap_maxusage; /* maximum cap usage */
76 u_longlong_t cap_below; /* # of ticks spend below the cap */
77 u_longlong_t cap_above; /* # of ticks spend above the cap */
81 * Wrapper macros for checking cap state.
83 #define CAP_ENABLED(cap) ((cap)->cap_value != 0)
84 #define CAP_DISABLED(cap) (!CAP_ENABLED(cap))