bvec_set_virt(9)
Hey bestie!! π Welcome to the bvec_set_virt(9) page from the Kernel API Manual β yes, the manual name is right there, we're official and everything. π
πΈ NAME πΈ
bvec_set_virt β initialize a bvec based on a virtual address. That's the whole assignment, and it ate. β¨
β¨ SYNOPSIS β¨
void bvec_set_virt (struct bio_vec *bv , void *vaddr , unsigned int len );
It's void, so don't go hunting for a return value, bestie. π
π ARGUMENTS π
bvβ the bvec to initialize, periodt.vaddrβ the virtual address to set the bvec to.lenβ the length of the bvec.
π¦ SEE ALSO π¦
Kernel file ./include/linux/bvec.h is the home base, and these are the linked faves:
struct bio_vec(9)bvec_set_page(9)bvec_set_folio(9)bvec_folio(9)bvec_kmap_local(9)memcpy_from_bvec(9)memcpy_to_bvec(9)memzero_bvec(9)bvec_virt(9)bvec_phys(9)
Signed off with love from ./include/linux, October 2026. π«Άπ
π¦ 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