hdm_poison_channel(9)
π hdm_poison_channel(9) π
okay so this is a page from the Kernel API Manual bestie, and it's about one very specific little function that does a very specific little thing. no cap, it's a short one β but every detail matters, so let's go β¨
πΈ NAME πΈ
hdm_poison_channel β mark buffers of this channel as invalid π«Ά
like, it's giving "these buffers? no longer valid, sweeetie" energy π
β¨ SYNOPSIS β¨
int hdm_poison_channel (struct most_interface *iface , int channel );
that's the whole signature, bestie β two args, returns an int, iconic π
π ARGUMENTS π
ifaceβ pointer to the interface π¦ (yes, it's astruct most_interface *, keep up)channelβ channel ID π₯ (just anint, she's simple like that)
π DESCRIPTION π
okay so here's what actually happens when you call her:
This unlinks all URBs submitted to the HCD, calls the associated completion function of the core, and removes them from the list. π
read that again, because it's honestly kind of a lot β unlink all the URBs, call the associated completion function of the core, remove them from the list. three whole steps, one function call, main character energy fr fr π§
Returns 0 on success or error code otherwise. π
β heads up bestie: 0 means slay, anything else means something went sideways β so like, actually check the return value, okay? don't just ignore it π
π SEE ALSO π
- Kernel file
./drivers/most/most_usb.cπ struct most_dci_obj(9)struct most_dev(9)drci_rd_reg(9)drci_wr_reg(9)get_stream_frame_size(9)hdm_add_padding(9)hdm_remove_padding(9)hdm_write_completion(9)hdm_read_completion(9)hdm_enqueue(9)hdm_configure_channel(9)hdm_request_netinfo(9)link_stat_timer_handler(9)wq_netinfo(9)wq_clear_halt(9)hdm_probe(9)hdm_disconnect(9)
that's the whole friend group, go say hi to all of them ππ
and that's the page!! π¦ this little beauty lives in ./drivers/most, and she was dated October 2026 β so like, mark your calendar bestie, she's from the future πβ¨ mwah, go poison some channels responsibly ππ
π¦ 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