megasas_host...e_list_query(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is the Kernel API Manual page for megasas_host...e_list_query(9) β€” yes, the header is literally doing the truncated-dots thing, it's giving filename after a wild night out. The actual function is megasas_host_device_list_query, and we're gonna go through every detail like the organized queen we are. 🫢

🌸 NAME 🌸

  • megasas_host_device_list_query β€” and that's it? The original NAME entry is the function plus a lonely - and zero description. It's giving minimalism. πŸ’…

✨ SYNOPSIS ✨

int megasas_host_device_list_query (struct megasas_instance *instance ,
bool is_probe );

The int return type, the params, the whole signature β€” copied exactly, no edits, periodt. πŸŽ€

πŸŽ€ ARGUMENTS πŸŽ€

  • instance β€” Adapter soft state. That's the adapter's soft state, bestie.
  • is_probe β€” Driver probe check. The driver probe check flag.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the DESCRIPTION is formatted like someone spilled the tea all over the terminal, but every crumb is here:

  • dcmd.opcode β€” MR_DCMD_CTRL_DEVICE_LIST_GET
  • dcmd.mbox β€” reserved
  • dcmd.sge β€” IN β€” ptr to return MR_HOST_DEVICE_LIST structure
  • Desc: This DCMD will return the combined device list
  • Status:
    • MFI_STAT_OK β€” List returned successfully
    • MFI_STAT_INVALID_CMD β€” Firmware support for the feature has been disabled

πŸ”₯ RETURN πŸ”₯

  • 0 β€” if DCMD succeeded. Slay. βœ…
  • non-zero β€” if failed. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c

the whole squad, no skips:


made with 🫢 from the ./drivers/scsi/megaraid source, dated October 2026, for megasas_host...e_list_query(9) β€” bye bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from