Lines Matching refs:color
50 * helper functions in its asm/highmem.h to control cache color of virtual
56 * Determine color of virtual address where the page should be mapped.
65 * Get next index for mapping inside PKMAP region for page with given color.
67 static inline unsigned int get_next_pkmap_nr(unsigned int color)
76 * Determine if page index inside PKMAP region (pkmap_nr) of given color
80 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color)
86 * Get the number of PKMAP entries of the given color. If no free slot is
90 static inline int get_pkmap_entries_count(unsigned int color)
96 * Get head of a wait queue for PKMAP entries of the given color.
100 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color)
218 unsigned int color = get_pkmap_color(page);
221 count = get_pkmap_entries_count(color);
224 last_pkmap_nr = get_next_pkmap_nr(color);
225 if (no_more_pkmaps(last_pkmap_nr, color)) {
227 count = get_pkmap_entries_count(color);
240 get_pkmap_wait_queue_head(color);
334 unsigned int color = get_pkmap_color(page);
361 pkmap_map_wait = get_pkmap_wait_queue_head(color);