STRUCT LEAPRAID_RQ(9)
π 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 au8bestie, 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 isunion leapraid_rep_desc_union *, yes that's the whole flex.nameβ Name of the request queue. it's achararray of sizeLEAPRAID_NAME_LENGTH, so no, you cannot put your whole government name in there πbusyβ Atomic counter indicating if the queue is busy.atomic_tso 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
- 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