netfs_alloc_folioq_buffer(9)
π¦ netfs_alloc_folioq_buffer(9) π¦
Okay bestie, welcome to the Kernel API Manual β this page is literally all about netfs_alloc_folioq_buffer(9), aka the function that allocates buffer space into a folio queue. Itβs giving kernel-core main character energy, and weβre gonna read it together. Periodt. π
β¨ NAME β¨
netfs_alloc_folioq_buffer β Allocate buffer space into a folio queue. Thatβs the vibe check, and it passed. π
π SYNOPSIS π
The exact signature is right here, no cap:
int netfs_alloc_folioq_buffer (struct address_space *mapping , struct
folio_queue **_buffer , size_t *_cur_size , ssize_t size , gfp_t gfp );
π ARGUMENTS π
mappingβ Address space to set on the folio (orNULL). Simple as that, bestie._bufferβ Pointer to the folio queue to add to. It may point to aNULL; it gets updated. Not me loving an in-place update π_cur_sizeβ Current size of the buffer. And yes, itβs updated too. β¨sizeβ Target size of the buffer.gfpβ The allocation constraints. Respect the constraints, fr fr.
π SEE ALSO π
Go peek at these besties, iykyk:
- Kernel file
./fs/netfs/misc.c netfs_free_folioq_buffer(9)netfs_dirty_folio(9)netfs_unpin_writeback(9)netfs_clear_inode_writeback(9)netfs_invalidate_folio(9)netfs_release_folio(9)netfs_clear_stale_isize(9)
And thatβs the page, bestie π«Ά This one comes from ./fs/netfs, dated October 2026, and its manual tag is netfs_alloc_folioq_buffer(9). Iconic footer behavior, honestly. 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