rvt_create_mmap_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the rvt_create_mmap_info(9) page from the Kernel API Manual β€” this one is all about allocating info for hfi1_mmap, and we’re gonna get through it together πŸ’–βœ¨

🌸 NAME 🌸

rvt_create_mmap_info β€” allocate information for hfi1_mmap

πŸ¦‹ SYNOPSIS πŸ¦‹

struct rvt_mmap_info * rvt_create_mmap_info (struct rvt_dev_info *rdi ,
       u32 size , struct ib_udata *udata , void *obj );

πŸŽ€ ARGUMENTS πŸŽ€

  • rdi β€” the rvt dev struct, aka the main character of this function’s little world πŸ‘‘
  • size β€” size in bytes to map, so like… how much we’re mapping, bestie πŸ“
  • udata β€” user data, and heads up: it must be valid! not optional, not β€œmaybe later,” valid fr fr 😭
  • obj β€” opaque pointer to a cq, wq etc β€” mysterious, iconic, we don’t peek inside πŸ’…

⭐ RETURN ⭐

On success you get an rvt_mmap struct, slay 🫢 On failure you get ERR_PTR, which is the β€œnope, something went wrong” vibe check πŸ’€

🌈 SEE ALSO 🌈


and that’s the whole page, bestie ✨ this one comes from ./drivers/infiniband/sw/rdmavt, dated October 2026, and it’s literally rvt_create_mmap_info(9) β€” periodt πŸ’œπŸŽ€

πŸ“¦ where this page comes from