irq_calc_affinity_vectors(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this page is all about irq_calc_affinity_vectors, and its whole personality is Calculate the optimal number of vectors ✨. That's the name, that's the job, no cap.

✨ SYNOPSIS ✨

here's the signature, and yes you copy it exactly, character for character:

unsigned int irq_calc_affinity_vectors (unsigned int minvec , unsigned
       int maxvec , const struct irq_affinity *affd );

πŸŽ€ ARGUMENTS πŸŽ€

  • minvec β€” the minimum number of vectors available 🫢. it's the lower bound, the "at least this many" bestie.
  • maxvec β€” the maximum number of vectors available πŸ”₯. it's the upper bound, the "no more than this" moment.
  • affd β€” description of the affinity requirements πŸ‘‘. it's literally the struct that says what the affinity needs are.

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./kernel/irq/affinity.c β€” the source file for your reading pleasure πŸ’…
  • irq_create_affinity_masks(9) β€” another manual page, go get that lore 🌸

okay bye bestie πŸ’– this was the Kernel API Manual page for irq_calc_affinity_vectors, from ./kernel/irq, dated October 2026 βœ¨πŸŽ€

πŸ“¦ where this page comes from