Searched refs:color (Results 1 – 1 of 1) sorted by relevance
584 static unsigned int work_color_to_flags(int color) in work_color_to_flags() argument586 return color << WORK_STRUCT_COLOR_SHIFT; in work_color_to_flags()595 static int work_next_color(int color) in work_next_color() argument597 return (color + 1) % WORK_NR_COLORS; in work_next_color()1189 static void pwq_dec_nr_in_flight(struct pool_workqueue *pwq, int color) in pwq_dec_nr_in_flight() argument1192 if (color == WORK_NO_COLOR) in pwq_dec_nr_in_flight()1195 pwq->nr_in_flight[color]--; in pwq_dec_nr_in_flight()1205 if (likely(pwq->flush_color != color)) in pwq_dec_nr_in_flight()1209 if (pwq->nr_in_flight[color]) in pwq_dec_nr_in_flight()