sg_miter_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to sg_miter_start(9) β€” this page lives in the Kernel API Manual and it's about starting a mapping iterator. no cap, that's the whole plot. πŸ’…

🌸 NAME 🌸

sg_miter_start β€” start mapping iteration over a sg list. literally the function's whole job, and it ate. ✨

✨ SYNOPSIS ✨

the signature, copied exactly so nobody comes for me:

void sg_miter_start (struct sg_mapping_iter *miter , struct scatterlist
       *sgl , unsigned int nents , unsigned int flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • miter β€” the sg mapping iter to be started. that's the little iterator baddie we're waking up 🫢
  • sgl β€” the sg list to iterate over. the main character list, periodt.
  • nents β€” number of sg entries. yes bestie, count them. πŸ”’
  • flags β€” sg iterator flags. the little switchboard vibes. πŸŽ›οΈ

πŸ’– DESCRIPTION πŸ’–

Starts mapping iterator miter. that's it, that's the move β€” iconic, concise, no notes. πŸ’…

πŸ¦‹ CONTEXT πŸ¦‹

Don't care. like, it really does not care. 😌

🌈 SEE ALSO 🌈

Kernel file ./lib/scatterlist.c is the home base, and the whole linked-up squad is: 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_order(9), sgl_free(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). go off, little kernel crew πŸ‘‘πŸ”₯


mwah πŸ’– β€” this page comes from ./lib, dated October 2026, and it's the sg_miter_start(9) page. periodt. πŸŽ€

πŸ“¦ where this page comes from