irdma_get_objs_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ irdma_get_objs_pages β€” section 9 of the Kernel API Manual πŸ‘‘

okay so bestie, welcome to the group chat πŸ’– this page is a <pink>section 9</pink> man page from the <purple>Kernel API Manual</purple>, and it's about literally one tiny little number-crunching baddie. Small page, big main character energy, let's go πŸŽ€


✨ NAME ✨

irdma_get_objs_pages β€” get number of 2M pages needed πŸ’…

That's the whole pitch, no cap. It tells you how many <hotpink>2M pages</hotpink> you need. Periodt.


🌸 SYNOPSIS 🌸

u32 irdma_get_objs_pages (struct irdma_sc_dev *dev , struct
irdma_hmc_info *hmc_info , enum irdma_hmc_obj_mem mem_loc );

so she takes three things and hands you back a u32 🫢 like, hand it the device, hand it the HMC info, tell it which memory you're talking about, and it comes back with a page count. iconic behaviour honestly.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the sc device struct 🧚 that's your device, bestie, the whole sc situation.
  • hmc_info β€” pointer to the HMC configuration information struct ⭐ it's a pointer, so yes, it's pointing at the config info for HMC. love that for us.
  • mem_loc β€” pages for local or host memory 🌈 this is the <cyan>local</cyan>-or-<cyan>host</cyan> selector. pick your memory lane.

πŸ’œ SEE ALSO πŸ’œ

the source file lives at ./drivers/infiniband/hw/irdma/ctrl.c β€” that's the <mint>Kernel file</mint> right there πŸ“‚

and now, the friend group πŸ’€ (this is a LOT of besties, buckle up):

yeah that's all 131 of them bestie, i counted, and i did NOT skip a single one because that would be rude to the <rainbow>SEE ALSO</rainbow> section 🌈

that's the whole page, short and sweet, no notes πŸ’… ok bye, love u, stay paged 🫢

β€” <lavender>./drivers/infiniband/hw/irdma</lavender>, <peach>October 2026</peach>, page irdma_get_objs_pages(9) signing off πŸŽ€βœ¨

πŸ“¦ where this page comes from