Lines Matching defs:color
209 * one per color.
1662 unsigned int color;
1696 color = PROCESSOR_DATA(current_processor(), start_color);
1703 while (queue_empty(&vm_page_queue_free[color]))
1704 color = (color + 1) & vm_color_mask;
1706 queue_remove_first(&vm_page_queue_free[color],
1713 color = (color + 1) & vm_color_mask;
1737 PROCESSOR_DATA(current_processor(), start_color) = color;
1799 unsigned int color;
1841 color = mem->phys_page & vm_color_mask;
1842 queue_enter_first(&vm_page_queue_free[color],
2135 * each color.
2145 int color;
2151 for (color = 0; color < (signed) vm_colors; color++) {
2152 queue_init(&free_list[color]);
2180 color = mem->phys_page & vm_color_mask;
2181 if (queue_empty(&free_list[color])) {
2182 inuse[color] = inuse_list_head;
2183 inuse_list_head = color;
2185 queue_enter_first(&free_list[color],
2203 color = inuse_list_head;
2205 while( color != -1 ) {
2209 first = (vm_page_t) queue_first(&free_list[color]);
2210 last = (vm_page_t) queue_last(&free_list[color]);
2211 first_free = (vm_page_t) queue_first(&vm_page_queue_free[color]);
2213 if (queue_empty(&vm_page_queue_free[color])) {
2214 queue_last(&vm_page_queue_free[color]) =
2220 queue_first(&vm_page_queue_free[color]) =
2223 (queue_entry_t) &vm_page_queue_free[color];
2226 color = inuse[color];
2919 unsigned int color, npages;
2927 for( color = 0; color < vm_colors; color++ ) {
2928 prev_m = (vm_page_t) &vm_page_queue_free[color];
2929 queue_iterate(&vm_page_queue_free[color],
2939 if ( (m->phys_page & vm_color_mask) != color)
2940 panic("vm_page_verify_free_lists: wrong color");
3203 unsigned int color;
3205 color = m1->phys_page & vm_color_mask;
3206 queue_remove(&vm_page_queue_free[color],