Searched refs:new_attrs (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | workqueue.c | 3959 struct workqueue_attrs *new_attrs, *tmp_attrs; in apply_wqattrs_prepare() local 3966 new_attrs = alloc_workqueue_attrs(); in apply_wqattrs_prepare() 3968 if (!ctx || !new_attrs || !tmp_attrs) in apply_wqattrs_prepare() 3976 copy_workqueue_attrs(new_attrs, attrs); in apply_wqattrs_prepare() 3977 cpumask_and(new_attrs->cpumask, new_attrs->cpumask, wq_unbound_cpumask); in apply_wqattrs_prepare() 3978 if (unlikely(cpumask_empty(new_attrs->cpumask))) in apply_wqattrs_prepare() 3979 cpumask_copy(new_attrs->cpumask, wq_unbound_cpumask); in apply_wqattrs_prepare() 3986 copy_workqueue_attrs(tmp_attrs, new_attrs); in apply_wqattrs_prepare() 3993 ctx->dfl_pwq = alloc_unbound_pwq(wq, new_attrs); in apply_wqattrs_prepare() 3998 if (wq_calc_node_cpumask(new_attrs, node, -1, tmp_attrs->cpumask)) { in apply_wqattrs_prepare() [all …]
|
D | params.c | 612 struct attribute **new_attrs; in add_sysfs_param() local 642 new_attrs = krealloc(mk->mp->grp.attrs, in add_sysfs_param() 645 if (!new_attrs) in add_sysfs_param() 647 mk->mp->grp.attrs = new_attrs; in add_sysfs_param()
|