qla_chk_cont_iocb_avail(9)
π qla_chk_cont_iocb_avail(9) β from the Kernel API Manual, bestie
Okay so picture this: you're deep in the kernel, section 9, and you need to know if all the continuation iocbs have shown up before you're even allowed to start processing iocbs. That's literally the whole job of qla_chk_cont_iocb_avail β it checks whether every single continuation iocb is available before iocb processing can start. No cap. π
β¨ SYNOPSIS β¨
int qla_chk_cont_iocb_avail (struct scsi_qla_host *vha , struct rsp_que
*rsp , response_t *pkt , u32 rsp_q_in );
Four arguments, one int coming back at you. Let's get into who's who π«Ά
πΈ ARGUMENTS πΈ
vhaβ the host adapter pointer. Your main character struct, honestly.rspβ the respond queue. (Yes, the manpage says "respond queue" β we're keeping it exactly like that, periodt.)pktβ the head iocb, the one that describes how many continuation iocb there are. It's giving "leader of the pack" energy πrsp_q_inβ-- undescribed --π like the docs literally did not describe this one. We're not gonna invent lore for it either, bestie. It exists. That's what we know.
β RETURN β
0β all iocbs has arrived π (yes, "has" β we're quoting the vibes exactly)xxβ all iocbs have not arrived π not yet, come back later
π¦ SEE ALSO π¦
Everything lives over in the kernel file ./drivers/scsi/qla2xxx/qla_isr.c, and here's the whole friend group:
__qla_consume_iocb(9)__qla_copy_purex_to_buffer(9)qla2100_intr_handler(9)qla2300_intr_handler(9)qla2x00_mbx_completion(9)qla27xx_copy_multiple_pkt(9)qla24xx_copy_std_pkt(9)qla27xx_copy_fpin_pkt(9)qla2x00_async_event(9)qla2x00_process_completed_request(9)qla2x00_process_response_queue(9)qla2x00_status_entry(9)qla2x00_status_cont_entry(9)qla2x00_error_entry(9)qla24xx_mbx_completion(9)qla24xx_process_response_queue(9)qla24xx_intr_handler(9)
Like, that's a whole squad. Go read them all, iykyk π
And that's the page, bestie! Signing off from ./drivers/scsi/qla2xxx, dated October 2026 β slay, see you in the next interrupt handler πβ¨π
π¦ 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