Lines Matching refs:nice
1205 int high = pool->attrs->nice == HIGHPRI_NICE_LEVEL ? 1 : 0; in bh_pool_irq_work()
1220 if (pool->attrs->nice == HIGHPRI_NICE_LEVEL) in kick_bh_pool()
2747 pool->attrs->nice < 0 ? "H" : ""); in format_worker_id()
2806 set_user_nice(worker->task, pool->attrs->nice); in create_worker()
3637 if (pool->attrs->nice == HIGHPRI_NICE_LEVEL) in drain_dead_softirq_workfn()
3669 if (pool->attrs->nice == HIGHPRI_NICE_LEVEL) in workqueue_softirq_dead()
4626 to->nice = from->nice; in copy_workqueue_attrs()
4657 hash = jhash_1word(attrs->nice, hash); in wqattrs_hash()
4671 if (a->nice != b->nice) in wqattrs_equal()
6140 pool->attrs->nice == HIGHPRI_NICE_LEVEL ? "-hi" : ""); in pr_cont_pool_info()
6142 pr_cont(" nice=%d", pool->attrs->nice); in pr_cont_pool_info()
6151 pool->attrs->nice == HIGHPRI_NICE_LEVEL ? "-hi" : ""); in pr_cont_worker_id()
7064 written = scnprintf(buf, PAGE_SIZE, "%d\n", wq->unbound_attrs->nice); in wq_nice_show()
7098 if (sscanf(buf, "%d", &attrs->nice) == 1 && in wq_nice_store()
7099 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
7221 __ATTR(nice, 0644, wq_nice_show, wq_nice_store),
7680 static void __init init_cpu_worker_pool(struct worker_pool *pool, int cpu, int nice) in init_cpu_worker_pool() argument
7686 pool->attrs->nice = nice; in init_cpu_worker_pool()
7777 attrs->nice = std_nice[i]; in workqueue_init_early()
7785 attrs->nice = std_nice[i]; in workqueue_init_early()