qla2x00_get_cmd_direction(9)
π¦ qla2x00_get_cmd_direction π¦
okay so this one's from the Kernel API Manual, section 9, and honestly bestie it's a tiny little icon that does one job and does it flawlessly π welcome to the group chat.
β¨ NAME β¨
qla2x00_get_cmd_direction β figures out the control_flag data direction, no cap π
πΈ SYNOPSIS πΈ
uint16_t qla2x00_get_cmd_direction (srb_t *sp );
that's it. that's the whole vibe. one argument, one uint16_t coming back at you π«Ά
β ARGUMENTS β
spβ the SCSI command π¦ (yes that's literally the whole description, she's lowkey mysterious like that)
π DESCRIPTION π
so what does she actually do? she takes a look at the CDB and hands you back the correct CF_* direction. that's the assignment, and she ate π₯
like β proper direction flag, based on the CDB, returned to you. no drama, no side quests, main character energy only π
π§ SEE ALSO π§
the kernel file you wanna peek at is ./drivers/scsi/qla2xxx/qla_iocb.c β and here's the whole friend group, fr fr:
qla2x00_calc_iocbs_32(9)qla2x00_calc_iocbs_64(9)qla2x00_prep_cont_type0_iocb(9)qla2x00_prep_cont_type1_iocb(9)qla2x00_build_scsi_iocbs_64(9)qla2x00_start_scsi(9)qla2x00_start_iocbs(9)__qla2x00_marker(9)qla24xx_build_scsi_iocbs(9)qla24xx_build_scsi_crc_2_iocbs(9)qla24xx_start_scsi(9)qla24xx_dif_start_scsi(9)qla2xxx_start_scsi_mq(9)qla2xxx_dif_start_scsi_mq(9)qla_start_scsi_type6(9)qla2900_prep_cont_type1_iocb(9)qla29xx_build_scsi_type_6_iocbs(9)qla29xx_build_scsi_iocbs(9)qla29xx_build_scsi_crc_2_iocbs(9)qla29xx_copy_dif_iocb_data(9)
ngl this page is short and sweet and that's her prerogative π don't come for her.
okay bye bestie, this was brought to you by ./drivers/scsi/qla2xxx, dated October 2026, from the Kernel API Manual β stay slaying, mwah πβ¨π
π¦ 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