msc_win_to_user(9)
π msc_win_to_user(9) β Kernel API Manual
okay bestie, welcome to the manual page for msc_win_to_user(9) β¨ this is a little iterator helper for msc_buffer_iterate() whose whole job is copying data to user space π«Ά like it's giving "middleware but make it kernel" and honestly? iconic.
πΈ NAME πΈ
msc_win_to_user β iterator for msc_buffer_iterate() to copy data to user
no cap, that's the whole vibe: it shows up as the iterator callback so the iterate machinery can push data out to user space π
β¨ SYNOPSIS β¨
unsigned long msc_win_to_user (void *data , void *src , size_t len );
π ARGUMENTS π
dataβ callback's private data πsrcβ source buffer πΈlenβ amount of data to copy from the source buffer π¦
β RETURN β
>= 0 for success or -errno for error. fr fr, that's the contract π
π SEE ALSO π
Kernel file ./drivers/hwtracing/intel_th/msu.c plus the whole friend group: struct msc_window(9), struct msc_iter(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), intel_th_msc_window_unlock(9) π that's a lot of links but we are obsessed with cross-references actually.
okay that's the page, bestie π source is ./drivers/hwtracing/intel_th, dated October 2026, and the manual name is msc_win_to_user(9) β periodt π
π
π¦ 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