Home
last modified time | relevance | path

Searched refs:affvecs (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/kernel/irq/
H A Daffinity.c12 static void default_calc_sets(struct irq_affinity *affd, unsigned int affvecs) in default_calc_sets() argument
15 affd->set_size[0] = affvecs; in default_calc_sets()
28 unsigned int affvecs, curvec, usedvecs, i; in irq_create_affinity_masks() local
38 affvecs = nvecs - affd->pre_vectors - affd->post_vectors; in irq_create_affinity_masks()
40 affvecs = 0; in irq_create_affinity_masks()
50 affd->calc_sets(affd, affvecs); in irq_create_affinity_masks()
56 if (!affvecs) in irq_create_affinity_masks()
90 if (usedvecs >= affvecs) in irq_create_affinity_masks()
91 curvec = affd->pre_vectors + affvecs; in irq_create_affinity_masks()
/openbmc/linux/drivers/virtio/
H A Dvirtio_vdpa.c296 static void default_calc_sets(struct irq_affinity *affd, unsigned int affvecs) in default_calc_sets() argument
299 affd->set_size[0] = affvecs; in default_calc_sets()
305 unsigned int affvecs = 0, curvec, usedvecs, i; in create_affinity_masks() local
309 affvecs = nvecs - affd->pre_vectors - affd->post_vectors; in create_affinity_masks()
314 affd->calc_sets(affd, affvecs); in create_affinity_masks()
316 if (!affvecs) in create_affinity_masks()
346 if (usedvecs >= affvecs) in create_affinity_masks()
347 curvec = affd->pre_vectors + affvecs; in create_affinity_masks()