queue_cmd_ring(9)
okay bestie, this is the Kernel API Manual page for queue_cmd_ring(9), and we're gonna make it make sense together π
β¨ NAME β¨
queue_cmd_ring β queue cmd to ring or internally π
it's giving "put the cmd where it needs to go" energy, fr fr.
π« SYNOPSIS π«
int queue_cmd_ring (struct tcmu_cmd *tcmu_cmd , sense_reason_t *scsi_err );
that's literally the whole signature, no cap β¨
π¦ ARGUMENTS π¦
tcmu_cmdβ cmd to queue. like, this is the cmd bestie, and it's getting queued πscsi_errβ TCM error code if failure (-1) returned. so if things go-1, this is where the TCM error code lands π
π₯ RETURN π₯
-1β we cannot queue internally or to the ring. not slay. π0β success. periodt. π1β internally queued to wait for ring memory to free. it's lowkey waiting its turn π«Ά
π SEE ALSO π
- Kernel file
./drivers/target/target_core_user.c Userspace I/O(9)queue_tmr_ring(9)
go read those too, bestie, iykyk π§
source/version: ./drivers/target β’ date: October 2026 β bye bestie, go queue responsibly π
β¨
π¦ 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