Home
last modified time | relevance | path

Searched refs:color (Results 1 – 2 of 2) sorted by relevance

/mm/
Dhighmem.c73 static inline unsigned int get_next_pkmap_nr(unsigned int color) in get_next_pkmap_nr() argument
86 static inline int no_more_pkmaps(unsigned int pkmap_nr, unsigned int color) in no_more_pkmaps() argument
96 static inline int get_pkmap_entries_count(unsigned int color) in get_pkmap_entries_count() argument
106 static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color) in get_pkmap_wait_queue_head() argument
239 unsigned int color = get_pkmap_color(page); in map_new_virtual() local
242 count = get_pkmap_entries_count(color); in map_new_virtual()
245 last_pkmap_nr = get_next_pkmap_nr(color); in map_new_virtual()
246 if (no_more_pkmaps(last_pkmap_nr, color)) { in map_new_virtual()
248 count = get_pkmap_entries_count(color); in map_new_virtual()
261 get_pkmap_wait_queue_head(color); in map_new_virtual()
[all …]
Dkmemleak.c814 static void __paint_it(struct kmemleak_object *object, int color) in __paint_it() argument
816 object->min_count = color; in __paint_it()
817 if (color == KMEMLEAK_BLACK) in __paint_it()
821 static void paint_it(struct kmemleak_object *object, int color) in paint_it() argument
826 __paint_it(object, color); in paint_it()
830 static void paint_ptr(unsigned long ptr, int color, bool is_phys) in paint_ptr() argument
838 (color == KMEMLEAK_GREY) ? "Grey" : in paint_ptr()
839 (color == KMEMLEAK_BLACK) ? "Black" : "Unknown"); in paint_ptr()
842 paint_it(object, color); in paint_ptr()