bvec_phys(9)
π bvec_phys(9) β like, the Kernel API Manual page you didn't know you needed
okay so bestie, we're in the Kernel API Manual today and honestly? This one's a little snack. Short, sweet, does exactly one thing. Main character energy fr.
β¨ NAME β¨
bvec_phys β return the physical address for a bvec π«Ά
That's it. That's the whole gig. You hand it a bvec, it hands you back a physical address. Iconic behaviour, no notes.
πΈ SYNOPSIS πΈ
phys_addr_t bvec_phys (const struct bio_vec *bvec );
Look at that signature. phys_addr_t out, const struct bio_vec * in. She's not even modifying your bvec β const queen! β she's just looking, respectfully. π
π¦ ARGUMENTS π¦
bvecβ the bvec you want the physical address for. That's the vibe check you're submitting. Give her the bvec, she gives you the physical address. Mutual exchange, very healthy, we stan. π
π SEE ALSO π
The whole bvec friend group showed up, no cap. Go say hi to:
struct bio_vec(9)β the struct itself, defined in the kernel file./include/linux/bvec.hπbvec_set_page(9)bvec_set_folio(9)bvec_set_virt(9)bvec_folio(9)bvec_kmap_local(9)memcpy_from_bvec(9)memcpy_to_bvec(9)memzero_bvec(9)bvec_virt(9)
That's the whole squad, all linked, all slaying in their own lane. iykyk. π
ngl bestie, phys_addr_t bvec_phys (const struct bio_vec *bvec ); is literally the entire personality of this page β one argument, one return, zero drama. Take the physical address and go. π§
β okay that's the page!! brought to you straight from ./include/linux, dated October 2026, and yeah β it's bvec_phys(9) until the very last line. mwah, go read the rest of the kernel, ily, bye ππβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms