Lines Matching refs:new_attrs
3960 struct workqueue_attrs *new_attrs, *tmp_attrs; in apply_wqattrs_prepare() local
3967 new_attrs = alloc_workqueue_attrs(); in apply_wqattrs_prepare()
3969 if (!ctx || !new_attrs || !tmp_attrs) in apply_wqattrs_prepare()
3977 copy_workqueue_attrs(new_attrs, attrs); in apply_wqattrs_prepare()
3978 cpumask_and(new_attrs->cpumask, new_attrs->cpumask, wq_unbound_cpumask); in apply_wqattrs_prepare()
3979 if (unlikely(cpumask_empty(new_attrs->cpumask))) in apply_wqattrs_prepare()
3980 cpumask_copy(new_attrs->cpumask, wq_unbound_cpumask); in apply_wqattrs_prepare()
3987 copy_workqueue_attrs(tmp_attrs, new_attrs); in apply_wqattrs_prepare()
3994 ctx->dfl_pwq = alloc_unbound_pwq(wq, new_attrs); in apply_wqattrs_prepare()
3999 if (wq_calc_node_cpumask(new_attrs, node, -1, tmp_attrs->cpumask)) { in apply_wqattrs_prepare()
4010 copy_workqueue_attrs(new_attrs, attrs); in apply_wqattrs_prepare()
4011 cpumask_and(new_attrs->cpumask, new_attrs->cpumask, cpu_possible_mask); in apply_wqattrs_prepare()
4012 ctx->attrs = new_attrs; in apply_wqattrs_prepare()
4020 free_workqueue_attrs(new_attrs); in apply_wqattrs_prepare()