Lines Matching defs:masks
306 struct cpumask *masks = NULL;
319 masks = kcalloc(nvecs, sizeof(*masks), GFP_KERNEL);
320 if (!masks)
325 cpumask_setall(&masks[curvec]);
333 kfree(masks);
338 cpumask_copy(&masks[curvec + j], &result[j]);
351 cpumask_setall(&masks[curvec]);
353 return masks;
367 struct cpumask *masks;
373 masks = create_affinity_masks(nvqs, desc ? desc : &default_affd);
374 if (!masks)
393 ops->set_vq_affinity(vdpa, i, &masks[i]);
400 kfree(masks);
407 kfree(masks);