qla4xxx_get_req_pkt(9)
π qla4xxx_get_req_pkt π
okay so this is a page from the Kernel API Manual, bestie, and it's all about qla4xxx_get_req_pkt β literally the lil' function that hands you a spot in the request queue. yes we're in kernel land. yes it's giving β¨driver internalsβ¨. stay with me π«Ά
β¨ NAME β¨
qla4xxx_get_req_pkt β returns a valid entry in request queue.
like, that's the whole gig. it gets you a request queue entry that is, and I quote, valid. no cap π
πΈ SYNOPSIS πΈ
int qla4xxx_get_req_pkt (struct scsi_qla_host *ha , struct queue_entry
**queue_entry );
so it returns an int, and it takes two things. she's not complicated, she's just booked and busy π
π¦ ARGUMENTS π¦
haβ Pointer to host adapter structure. that's your host adapter, the main character of this whole situation πqueue_entryβ Pointer to pointer to queue entry structure. yes bestie, a pointer to a pointer. double pointer. double the drama, double the indirection π like it's pointing at a thing that points at a thing. iconic behaviour honestly
π DESCRIPTION π
okay so this routine performs the following tasks (and yes I'm listing all of them, we don't skip):
- returns the current
request_inpointer (if queue not full) β β note the if, she's conditional - advances the
request_inpointer β‘οΈ β we move forward, we don't look back - checks for queue full π β somebody has to check, might as well be her
so the vibe is: hand over the current request_in pointer when there's room, scoot that pointer along, and do a little queue-full vibe check while she's at it. that's the whole routine. no notes π₯
π SEE ALSO π
- Kernel file
./drivers/scsi/qla4xxx/ql4_iocb.cβ the source file, go read it if you're nosy (respectfully) π qla4xxx_send_marker_iocb(9)qla4_82xx_queue_iocb(9)qla4_82xx_complete_iocb(9)qla4xxx_queue_iocb(9)qla4xxx_complete_iocb(9)qla4xxx_send_command_to_isp(9)
the whole iocb friend group fr fr π«Ά
reminder bestie: request_in only gets returned if the queue is not full. don't forget the condition, it's literally the first bullet πΈ
and that's the page!! brought to you by ./drivers/scsi/qla4xxx, dated October 2026 β mwah, thanks for reading, ily, go touch some iocb code ππ§ββοΈ β¨
π¦ 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