sgl_free_order(9)
πΈ sgl_free_order β free a scatterlist and its pages π
okay so bestie, welcome to sgl_free_order(9) from the Kernel API Manual, section 9 β yes, the kernel section, we're fancy now π this one's short and sweet and it does exactly what it says on the tin: it frees a scatterlist, and it frees the pages that go with it β¨ like, cleanup era π
π SYNOPSIS
void sgl_free_order (struct scatterlist *sgl , int order );
that's it. that's the whole vibe check. no return value, it's a void function, she just does her thing and leaves π«Ά
π ARGUMENTS
sglβ the scatterlist, and bestie she can have one or more elements in her, no caporderβ this is literally the second argument you hand to__free_pagesπ₯ that's the whole job description
π SEE ALSO
the kernel file lives at ./lib/scatterlist.c and if you're obsessed with this one (and why wouldn't you be), here's the whole scattered family, all 28 of them, in the exact order they came in β not me reorganizing, i would never π
sg_nents(9)sg_nents_for_len(9)sg_nents_for_dma(9)sg_last(9)sg_init_table(9)sg_init_one(9)__sg_free_table(9)sg_free_append_table(9)sg_free_table(9)__sg_alloc_table(9)sg_alloc_table(9)sg_alloc_append_table_from_pages(9)sg_alloc_table_from_pages_segment(9)sgl_alloc_order(9)sgl_alloc(9)sgl_free_n_order(9)sgl_free(9)sg_miter_start(9)sg_miter_skip(9)sg_miter_next(9)sg_miter_stop(9)sg_copy_buffer(9)sg_copy_from_buffer(9)sg_copy_to_buffer(9)sg_pcopy_from_buffer(9)sg_pcopy_to_buffer(9)sg_zero_buffer(9)extract_iter_to_sg(9)
π¦ and that's the page!! signed, sealed, delivered from ./lib, dated October 2026, and yes the header of this whole thing is sgl_free_order(9) β go free your scatterlists responsibly bestie, mwah ππ
π¦ 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