bvec_virt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bvec_virt(9) β€” from the Kernel API Manual, bestie ✨

okay so picture this: you're deep in kernel land, you've got a struct bio_vec in your hot little hands, and you just want the virtual address for it. That's the whole gig. This is bvec_virt(9), straight out of the Kernel API Manual, and honestly? iconic. πŸŽ€


✨ NAME ✨

bvec_virt β€” returns the virtual address for a bvec. that's it. that's the function. 🫢


🌸 SYNOPSIS 🌸

void * bvec_virt (struct bio_vec *bvec );

like, verbatim, no cap. one pointer in, one pointer out. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bvec β€” the bvec you want the virtual address for. that's the one. hand it over, bestie. πŸ’–

⭐ NOTE ⭐

⚠️ listen up because this part is important: the caller must ensure that bvec->bv_page is not a highmem page. not me stressing about this on your behalf 😭 β€” that check is your job, not the function's. do not skip it. periodt.

πŸ”₯ SEE ALSO πŸ”₯

so there's a whole little friend group here, and you should absolutely meet all of them:

all in the same clique, all doing their own cute little thing. go read them. iykyk. 🌈


mwah πŸ’œ that's the whole page! this lil gem lives in ./include/linux, it's dated October 2026, and it answers to the name bvec_virt(9) β€” take care of it, she's iconic. πŸ‘‘βœ¨

πŸ“¦ where this page comes from