STRUCT MSC_ITER(9)
πΈ NAME πΈ
okay so this is struct msc_iter(9) from the Kernel API Manual, and bestie, it's literally the iterator for msc buffer π
no cap, that's the whole vibe.
β¨ SYNOPSIS β¨
struct msc_iter {
struct list_head entry;
struct msc *msc;
struct msc_window *start_win;
struct msc_window *win;
unsigned long offset;
struct scatterlist *start_block;
struct scatterlist *block;
unsigned int block_off;
unsigned int wrap_count;
unsigned int eof;
};
π«Ά Members π«Ά
okay so here's the member-by-member breakdown, bestie β every field, every vibe, zero skipped details π
entryβ themsc::iter_listlinkage π¦mscβ pointer to the MSC device, iconic π₯start_winβ oldest window, the beginning of the story πΈwinβ current window, main character energy πoffsetβ current logical offset into the buffer, periodt β¨start_blockβ oldest block in the window, fr fr π«Άblockβ block number in the window πblock_offβ offset into current block, lowkey important πwrap_countβ block wrapping handling, iykyk πeofβ end of buffer reached, like when the group chat hits the last message π
π SEE ALSO π
go read these too, bestie β the whole msc cinematic universe is right here π
- Kernel file
./drivers/hwtracing/intel_th/msu.c struct msc_window(9)struct msc(9)struct msu_buffer_entry(9)msc_is_last_win(9)msc_next_window(9)msc_find_window(9)msc_oldest_window(9)msc_win_oldest_sg(9)msc_buffer_iterate(9)msc_buffer_clear_hw_header(9)msc_configure(9)msc_disable(9)msc_buffer_contig_alloc(9)msc_buffer_contig_free(9)msc_buffer_contig_get_page(9)msc_buffer_win_alloc(9)msc_buffer_win_free(9)msc_buffer_relink(9)msc_buffer_free(9)msc_buffer_alloc(9)msc_buffer_unlocked_free_unless_used(9)msc_buffer_free_unless_used(9)msc_buffer_get_page(9)struct msc_win_to_user_struct(9)msc_win_to_user(9)intel_th_msc_window_unlock(9)
xoxo, this page was served fresh from ./drivers/hwtracing/intel_th π October 2026 edition π slay β¨
π¦ 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