Searched refs:MAX_COLORS (Results 1 – 5 of 5) sorted by relevance
12 #define MAX_COLORS 256 macro21 static pixel_t clut[MAX_COLORS];35 if (clut_size >= MAX_COLORS) {
61 #define MAX_COLORS 128 macro71 struct vm_page_queue_free_head vmpfq_queues[MAX_COLORS];129 static const ppnum_t pmap_first_pnum = 42 * MAX_COLORS;
1325 #define MAX_COLORS 128 macro1339 struct vm_page_queue_free_head vmpfq_queues[MAX_COLORS];
738 for (unsigned int color = 0; color < MAX_COLORS; color++) { in vm_page_free_queue_init()863 static_assert(8 * sizeof(__uint128_t) == MAX_COLORS); in vm_pages_free_mask_len()864 return (uint32_t)((pnums + MAX_COLORS - 1) / MAX_COLORS); in vm_pages_free_mask_len()870 return (int8_t)(pnum & (MAX_COLORS - 1)); in vm_pages_free_mask_bit()876 return (pnum - pmap_first_pnum) / MAX_COLORS; in vm_pages_free_mask_index()1585 pnum = (pnum & -MAX_COLORS) + bit; in vm_page_free_queue_remove()1699 ppnum_t first_pnum = pnum & -MAX_COLORS; in vm_page_free_queue_grab()1708 bit = (bit + 1) & (MAX_COLORS - 1); in vm_page_free_queue_grab()1798 if (n > MAX_COLORS) { in vm_page_set_colors()1799 n = MAX_COLORS; in vm_page_set_colors()[all …]
3055 for (uint32_t i = 0; i < MAX_COLORS; i++) { in mteinfo_init()