Lines Matching defs:masks
273 struct cpumask *masks = NULL;
286 masks = kcalloc(nvecs, sizeof(*masks), GFP_KERNEL);
287 if (!masks)
292 cpumask_setall(&masks[curvec]);
301 kfree(masks);
306 cpumask_copy(&masks[curvec + j], &result[j]);
319 cpumask_setall(&masks[curvec]);
321 return masks;
332 struct cpumask *masks;
338 masks = create_affinity_masks(nvqs, desc);
339 if (!masks)
359 ops->set_vq_affinity(vdpa, i, &masks[i]);
366 kfree(masks);
373 kfree(masks);