msc_buffer_win_free(9)
π msc_buffer_win_free(9) π
okay bestie, welcome to the Kernel API Manual page for msc_buffer_win_free β the little βfree a window from MSCβs window listβ moment. itβs giving cleanup era, and weβre obsessed. π
β¨
β¨ NAME β¨
msc_buffer_win_free β free a window from MSC's window list. no cap, thatβs the whole vibe. π¦
π SYNOPSIS π
void msc_buffer_win_free (struct msc *msc , struct msc_window *win );
π«Ά ARGUMENTS π«Ά
mscβ MSC device. the main character device in this situation. πwinβ window to free. bye bestie, youβre getting freed. π
π DESCRIPTION π
okay so hereβs the tea: this modifies msc::win_list and msc::base, which requires msc::buf_mutex to serialize, so the caller is expected to hold it. itβs giving lock-having main character energy β no cap. π₯
β οΈ lock-vibe check, bestie: the caller is expected to hold msc::buf_mutex for this. that part is literally the requirement. π
π SEE ALSO π
the whole squad, direct from the Kernel file ./drivers/hwtracing/intel_th/msu.c:
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_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)
okay thatβs the page, bestie π«Ά this cutie came from source/version ./drivers/hwtracing/intel_th, and the date stamp is October 2026. 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