STRUCT LEAPRAID_RQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct leapraid_rq(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” yes that's the manual name, don't @ me β€” and today's main character is struct leapraid_rq, which literally Represents a LeapRAID request queue. it's giving "queue but make it structured" ✨


🌈 SYNOPSIS 🌈

here's the whole vibe, verbatim, no cap:

struct leapraid_rq {
    struct leapraid_adapter *adapter;
    u8 msix_idx;
    u32 rep_post_host_idx;
    union leapraid_rep_desc_union *rep_desc;
    char name[LEAPRAID_NAME_LENGTH];
    atomic_t busy;
 };

πŸŽ€ Members πŸŽ€

okay so every field is kinda iconic in its own way, let's go one by one 🫢

  • adapter β€” Pointer to the associated LeapRAID adapter. your queue's plus-one, fr fr πŸ’…
  • msix_idx β€” MSI-X vector index used by this queue. it's a u8 bestie, small but mighty.
  • rep_post_host_idx β€” Index of the last processed reply descriptor. the "where was i again" bookmark πŸ”–
  • rep_desc β€” Pointer to the reply descriptor associated with this queue. type is union leapraid_rep_desc_union *, yes that's the whole flex.
  • name β€” Name of the request queue. it's a char array of size LEAPRAID_NAME_LENGTH, so no, you cannot put your whole government name in there 😭
  • busy β€” Atomic counter indicating if the queue is busy. atomic_t so it stays slay even when everyone's fighting over it πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

literally the whole friend group, all from the kernel file ./drivers/scsi/leapraid/leapraid_func.h β€” go say hi πŸ’œ

  • struct leapraid_adapter_features(9)
  • struct leapraid_adapter_attr(9)
  • struct leapraid_io_req_tracker(9)
  • struct leapraid_task_tracker(9)
  • struct leapraid_rep_desc_maint(9)
  • struct leapraid_rep_desc_seg_maint(9)
  • struct leapraid_mem_desc(9)
  • enum LEAPRAID_CB_INDEX(9)
  • struct leapraid_default_reply(9)
  • struct leapraid_sense_buffer(9)
  • struct leapraid_driver_cmd(9)
  • struct leapraid_driver_cmds(9)
  • struct leapraid_dynamic_task_desc(9)
  • struct leapraid_fw_evt_work(9)
  • struct leapraid_fw_evt_struct(9)
  • struct leapraid_int_rq(9)
  • struct leapraid_blk_mq_poll_rq(9)
  • struct leapraid_notification_desc(9)
  • struct leapraid_overheat_desc(9)
  • struct leapraid_reset_desc(9)
  • struct leapraid_scan_dev_desc(9)
  • struct leapraid_access_ctrl(9)
  • struct leapraid_fw_log_desc(9)
  • struct leapraid_card_port(9)
  • struct leapraid_card_phy(9)
  • struct leapraid_topo_node(9)
  • struct leapraid_dev_topo(9)
  • struct leapraid_boot_dev(9)
  • struct leapraid_boot_devs(9)
  • struct leapraid_adapter(9)
  • struct leapraid_enc_node(9)
  • struct leapraid_raid_volume(9)
  • struct leapraid_starget_priv(9)
  • struct leapraid_sdev_priv(9)
  • struct leapraid_sas_dev(9)
  • struct leapraid_sas_port(9)
  • struct leapraid_vphy(9)
  • struct leapraid_tgt_rst_list(9)
  • struct sense_info(9)
  • struct leapraid_fw_log_info(9)
  • enum reset_type(9)
  • struct leapraid_card_port_feature(9)

that's the whole page bestie, you ate that πŸ’…βœ¨

mwah πŸ’‹ β€” this little number lives at ./drivers/scsi/leapraid and it's dated October 2026, so yeah, it's from the future and it's still iconic. bye! πŸ¦‹

πŸ“¦ where this page comes from