ibmvscsis_create_command_q(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ibmvscsis_create_command_q β€” Create Command Queue

okay so bestie, this is a page from the Kernel API Manual, and it's about ibmvscsis_create_command_q β€” the little function that literally builds you a command queue from scratch. yes queen, allocation era πŸ’–


✨ NAME ✨

ibmvscsis_create_command_q β€” Create Command Queue

πŸŽ€ SYNOPSIS πŸŽ€

long ibmvscsis_create_command_q (struct scsi_info *vscsi , int num_cmds
);

like, it returns a long, takes a struct scsi_info * and an int, and yes the formatting is giving "wrapped by the manpage generator" but we respect it 🫢

🌸 ARGUMENTS 🌸

  • vscsi β€” Pointer to our adapter structure. that's our adapter, the main character πŸ‘‘
  • num_cmds β€” Currently unused. In the future, may be used to determine the size of the CRQ. so rn it's just… vibing there πŸ™ˆ but bestie, someday it'll matter, iykyk

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what does it actually do? three things, and honestly it ate:

  • Allocates memory for command queue
  • maps remote memory into an ioba
  • initializes the command response queue

three-step icon behavior, no cap πŸ’…

EXECUTION ENVIRONMENT: Process level only ⭐

fr fr, process level only β€” don't be out here calling this from interrupt context, that's not the vibe 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c β€” that's where the lore lives πŸ“–

and the whole friend group, alphabetically-unhinged as ever:

like, that's the whole group chat right there πŸ’€ every single one, we don't skip the boring parts, that's not how we do things ✨


okay that's the whole page bestie!! 🧚 mwah πŸ’‹

this masterpiece lives under ./drivers/scsi/ibmvscsi_tgt, dated October 2026, and it's part of the Kernel API Manual β€” slay, periodt πŸŽ€πŸ’œπŸ”₯

πŸ“¦ where this page comes from