qla_sts_cont_data_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qla_sts_cont_data_size(9) β€” bestie's guide to the status-continuation payload πŸŽ€

okay so real talk, this is from the Kernel API Manual (section 9, the kernel-flavored one, iykyk) and it's genuinely one of the shorter reads in qla2xxx land, so grab your iced coffee and let's go ✨


🌸 NAME 🌸

qla_sts_cont_data_size β€” literally just: the size of the status-continuation IOCB data payload. that's it. that's the whole vibe πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

u32 qla_sts_cont_data_size (struct qla_hw_data *ha );

notice how it hands you back a u32? yeah. no drama, no -ERRNO surprises, just a number. slay πŸ”₯


✨ ARGUMENTS ✨

  • ha β€” HBA pointer. that's the whole description bestie, the manpage is not gonna elaborate. it's your host bus adapter and it's the main character here πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea 🍡 β€” sts_cont_entry_t and struct sts_cont_entry_ext are lowkey the same thing at the top. they share the same header and data offset; the only thing that's different is the size of that trailing data[], which is 60 bytes in one and 124 bytes in the other. not me being obsessed with a 64-byte difference 😭

so what does this function do? it returns that size for you, so callers don't have to sit there branching on the adapter type like some kind of clown 🀑 fr fr, it's a convenience wrapper and it ate. periodt.

no cap: the whole point is "don't branch on adapter type, just ask me." one call, one number, done 🫢

🌈 SEE ALSO 🌈

like, go read the whole friend group, they're all in qla_inline.h together being iconic πŸ’…


that's the page!! brought to you by ./drivers/scsi/qla2xxx, dated October 2026, and yes it's still qla_sts_cont_data_size(9) in the Kernel API Manual β€” bye bestie, go read your rings πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from