qdio_do_sqbs(9)
π qdio_do_sqbs β set buffer states for QEBSM β¨
okay so bestie, you're in the Kernel API Manual and this one's called qdio_do_sqbs(9) β it's a function that sets buffer states for QEBSM. lowkey iconic name, highkey niche function, we love a specialist π
πΈ SYNOPSIS πΈ
int qdio_do_sqbs (struct qdio_q *q , unsigned char state , int start ,
int count );
that's the whole vibe right there. returns an int, takes four things. slay π«Ά
π ARGUMENTS π
qβ the queue you're manipulating. this is your queue, the main character of the operation πstateβ the new state you're giving the buffers, typed asunsigned char. glow-up time β¨startβ the first buffer number to change, i.e. where the makeover begins π¬countβ how many buffers to change. like, how many of them get the treatment π
π¦ DESCRIPTION π¦
so what does it actually do? it returns the number of successfully changed buffers β that's the return value, that's the number you get back π
and here's the part that ate: it does retrying until the specified count of buffer states is set or an error occurs. fr fr, it just keeps going at it β either it sets the whole count you asked for, or something errors out and it stops. no cap π
ngl this is the kind of function where the return value is doing a lot of the talking β you asked for count buffers, and you get told how many actually changed. keep an eye on that number bestie π
π SEE ALSO π
everyone in this function's group chat:
- Kernel file
./drivers/s390/cio/qdio_main.cdo_siga_output(9) qdio_do_eqbs(9)qdio_get_ssqd_desc(9)qdio_shutdown(9)qdio_free(9)qdio_allocate(9)qdio_establish(9)qdio_activate(9)handle_inbound(9)qdio_add_bufs_to_input_queue(9)handle_outbound(9)qdio_add_bufs_to_output_queue(9)qdio_start_irq(9)qdio_stop_irq(9)
like, the whole friend group, periodt π§ββοΈ
π« cute sign-off π«
this little beauty lives in ./drivers/s390/cio, and the page is dated October 2026. go forth and set those buffer states, 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