Lines Matching refs:new_value
141 cpumask_var_t new_value; in write_irq_affinity() local
147 if (!zalloc_cpumask_var(&new_value, GFP_KERNEL)) in write_irq_affinity()
151 err = cpumask_parselist_user(buffer, count, new_value); in write_irq_affinity()
153 err = cpumask_parse_user(buffer, count, new_value); in write_irq_affinity()
162 if (!cpumask_intersects(new_value, cpu_online_mask)) { in write_irq_affinity()
169 err = irq_set_affinity(irq, new_value); in write_irq_affinity()
175 free_cpumask_var(new_value); in write_irq_affinity()
238 cpumask_var_t new_value; in default_affinity_write() local
241 if (!zalloc_cpumask_var(&new_value, GFP_KERNEL)) in default_affinity_write()
244 err = cpumask_parse_user(buffer, count, new_value); in default_affinity_write()
253 if (!cpumask_intersects(new_value, cpu_online_mask)) { in default_affinity_write()
258 cpumask_copy(irq_default_affinity, new_value); in default_affinity_write()
262 free_cpumask_var(new_value); in default_affinity_write()