Lines Matching refs:new_attrs
3986 struct workqueue_attrs *new_attrs, *tmp_attrs; in apply_wqattrs_prepare() local
3993 new_attrs = alloc_workqueue_attrs(); in apply_wqattrs_prepare()
3995 if (!ctx || !new_attrs || !tmp_attrs) in apply_wqattrs_prepare()
4003 copy_workqueue_attrs(new_attrs, attrs); in apply_wqattrs_prepare()
4004 cpumask_and(new_attrs->cpumask, new_attrs->cpumask, wq_unbound_cpumask); in apply_wqattrs_prepare()
4005 if (unlikely(cpumask_empty(new_attrs->cpumask))) in apply_wqattrs_prepare()
4006 cpumask_copy(new_attrs->cpumask, wq_unbound_cpumask); in apply_wqattrs_prepare()
4013 copy_workqueue_attrs(tmp_attrs, new_attrs); in apply_wqattrs_prepare()
4020 ctx->dfl_pwq = alloc_unbound_pwq(wq, new_attrs); in apply_wqattrs_prepare()
4025 if (wq_calc_node_cpumask(new_attrs, node, -1, tmp_attrs->cpumask)) { in apply_wqattrs_prepare()
4036 copy_workqueue_attrs(new_attrs, attrs); in apply_wqattrs_prepare()
4037 cpumask_and(new_attrs->cpumask, new_attrs->cpumask, cpu_possible_mask); in apply_wqattrs_prepare()
4038 ctx->attrs = new_attrs; in apply_wqattrs_prepare()
4046 free_workqueue_attrs(new_attrs); in apply_wqattrs_prepare()