bvec_set_folio(9)
π bvec_set_folio(9) β Kernel API Manual β¨
Okay bestie, welcome to bvec_set_folio(9) from the Kernel API Manual. This is the function that initializes a bvec based off a struct folio. Lowkey iconic setup energy. π«Ά
πΈ NAME πΈ
bvec_set_folio β initialize a bvec based off a struct folio
β¨ SYNOPSIS β¨
void bvec_set_folio (struct bio_vec *bv , struct folio *folio , size_t
len , size_t offset );
π ARGUMENTS π
bvβ bvec to initialize. This is the main character getting set up. πfolioβ folio the bvec should point to. It's giving "this is your assigned folio, bestie." π―lenβ length of the bvec. An actual length, not a vibe. πoffsetβ offset into the folio. Like, where in the folio we're hanging out. πΈ
π¦ SEE ALSO π¦
Kernel file ./include/linux/bvec.h, plus these faves:
struct bio_vec(9)bvec_set_page(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)bvec_phys(9)
xoxo, your kernel bestie π β source/version: ./include/linux, dated 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