copy_data(9)
π copy_data(9) β like, the Kernel API Manual's own little data-copying icon π
okay so bestie, we're in the Kernel API Manual today and this one is a whole function. it's copy_data(9) and honestly? she does exactly what it says on the tin π
β¨ NAME β¨
copy_data β implements data copying function
like yes that's the whole name, she said what she said π
πΈ SYNOPSIS πΈ
bool copy_data (struct channel *channel , struct mbo *mbo );
that's the whole signature, copy it exactly, no cap π«Ά
π¦ ARGUMENTS π¦
channelβ a channel. that's it. that's the whole description. a channel πmboβ the MBO from core β (yes, capital-M-B-O, from core, that's what the manpage says, iykyk)
π DESCRIPTION π
okay so here's the vibe: copy_data copies data from/to the ring buffer to/from the MBO, and then it updates the buffer position. that's the entire job. she's a one-task queen and she ate π
lowkey iconic that the description is one line and doesn't need more. she's efficient like that β¨
π SEE ALSO π
bestie, the reading list is LONG and every single one of these is required, no skipping π check out the kernel file ./drivers/most/most_snd.c and then:
struct channel(9)get_channel(9)playback_thread(9)pcm_open(9)pcm_close(9)pcm_prepare(9)pcm_trigger(9)pcm_pointer(9)audio_probe_channel(9)audio_disconnect_channel(9)audio_rx_completion(9)audio_tx_completion(9)
that's twelve cross-refs, she keeps good company π§
ngl bestie, this page is short and sweet, but the full manual is living in ./drivers/most and it's dated October 2026, so jot that down π
and that's the whole page!! source is ./drivers/most, version/date is October 2026, and the manpage is copy_data(9) β mwah, go read the SEE ALSO list, i'm obsessed with you for making it this far πππ¦β¨
π¦ 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