ev_byte_channel_poll(9)
π ev_byte_channel_poll(9) π
okay so this is a page from the Kernel API Manual, section 9 β yes bestie, the kernel one, we're in the big leagues now π₯ the star of the show is ev_byte_channel_poll, and she is literally just here to tell you what's up with the byte channel buffers β¨
πΈ NAME πΈ
ev_byte_channel_poll β returns the status of the byte channel buffers, periodt π
π SYNOPSIS π
unsigned int ev_byte_channel_poll (unsigned int handle , unsigned int
*rx_count , unsigned int *tx_count );
no cap, that's the whole signature β three args, one unsigned int coming back at you π«Ά
π¦ ARGUMENTS π¦
handleβ the byte channel handle. your lil ID for the channel in question π«rx_countβ returned count of bytes in receive queue π₯ (yes, returned β she writes into this pointer, she doesn't read it)tx_countβ returned count of free space in transmit queue π€ (also written, also a pointer, keep up bestie π)
β¨ DESCRIPTION β¨
okay so here's the vibe π this function reports the amount of data in the receive queue β i.e. the number of bytes you can read β and the amount of free space in the transmit queue β i.e. the number of bytes you can write. literally a vibe check for your buffers π
Returns 0 for success, or an error code. that's it, that's the whole function, she's lowkey iconic for it π
π SEE ALSO π
- Kernel file
./arch/powerpc/include/asm/epapr_hcalls.h ev_int_set_config(9)ev_int_get_config(9)ev_int_set_mask(9)ev_int_get_mask(9)ev_int_eoi(9)ev_byte_channel_send(9)ev_byte_channel_receive(9)ev_int_iack(9)ev_doorbell_send(9)ev_idle(9)
like, go read her friends too, they're all slaying in their own lanes π§π
mwah π this page came from ./arch/powerpc/include/asm and was dated October 2026 β so fresh, so demure, so very much giving main character energy πΈβ¨ go poll those buffers bestie, iykyk π
π¦ 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