zfcp_qdio_sbal_get(9)
π zfcp_qdio_sbal_get(9) π
πΈ NAME πΈ
okay so welcome to the Kernel API Manual, bestie β this is the page for zfcp_qdio_sbal_get, aka βget free sbal in request queue, wait if necessary.β Sheβs giving patient-queue energy: if thereβs no free sbal, she waits. π
β¨ SYNOPSIS β¨
int zfcp_qdio_sbal_get (struct zfcp_qdio *qdio );
π ARGUMENTS π
qdioβ pointer tostruct zfcp_qdio. Thatβs the whole arg, bestie β just hand her the pointer. π«Ά
π DESCRIPTION π
okay so the rules are lowkey important: req_q_lock must be held by the caller of this function. And this function may only be called from process context. It will sleep when itβs waiting for a free sbal β so do not bring her into atomic context, bestie, she needs her nap. π
β οΈ no cap: hold req_q_lock first, and only call this from process context. The waiting-for-a-free-sbal part sleeps.
π₯ RETURN π₯
0β success, we love to see it. β¨-EIOβ there is no free sbal after waiting. π
π¦ SEE ALSO π¦
Kernel file: ./drivers/s390/scsi/zfcp_qdio.c
zfcp_qdio_sbals_from_sg(9)zfcp_qdio_send(9)zfcp_qdio_allocate(9)zfcp_qdio_close(9)zfcp_qdio_open(9)zfcp_qdio_siosl(9)
catch you later, bestie β this page is from ./drivers/s390/scsi, October 2026, and itβs serving Kernel API Manual realness πβ¨
π¦ 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