STRUCT LEAPRAID_MEM_DESC(9)
π NAME π
okay so bestie, welcome to struct leapraid_mem_desc(9) from the Kernel API Manual β it's literally the Memory descriptor for LeapRAID adapter, and it's kind of the main-character little black book for this driver. No cap. π
β¨ SYNOPSIS β¨
struct leapraid_mem_desc {
void *task_desc;
dma_addr_t task_desc_dma;
struct dma_pool *sg_chain_pool;
u16 sg_chain_pool_size;
u16 *taskid_to_uniq_tag;
u8 *sense_data;
dma_addr_t sense_data_dma;
u8 *rep_msg;
dma_addr_t rep_msg_dma;
__le32 *rep_msg_addr;
dma_addr_t rep_msg_addr_dma;
struct leapraid_rep_desc_seg_maint *rep_desc_seg_maint;
struct leapraid_rep_desc_q_arr *rep_desc_q_arr;
dma_addr_t rep_desc_q_arr_dma;
};
π«Ά Members π«Ά
okay so here's the whole squad, one by one β every single member is carrying something important, fr fr:
task_descβ Pointer to task descriptor. iconic little pointer behavior.task_desc_dmaβ DMA address of task descriptor. yes bestie, it has its own DMA address.sg_chain_poolβ DMA pool for SGL chain allocations. it's giving dedicated pool energy.sg_chain_pool_sizeβ Size of thesg_chain_pool. lowkey important.taskid_to_uniq_tagβ Mapping from task ID to unique tag. the way that this maps task ID to unique tagβ¦ yeah.sense_dataβ Buffer for SCSI sense data. very βwe need the sense dataβ of it all.sense_data_dmaβ DMA address ofsense_databuffer. matched set, slay.rep_msgβ Buffer for reply message. reply message buffer core.rep_msg_dmaβ DMA address of reply message buffer. another DMA address, another day.rep_msg_addrβ Pointer to reply message address. yes, a pointer to the reply message address.rep_msg_addr_dmaβ DMA address of reply message address. the DMA address of the reply message address, periodt.rep_desc_seg_maintβ Pointer to reply descriptor segment. maintenance-coded but make it fashion.rep_desc_q_arrβ Pointer to reply descriptor queue array. queue array behavior.rep_desc_q_arr_dmaβ DMA address of reply descriptor queue array. and that's the DMA address of the reply descriptor queue array. π
π SEE ALSO π
Kernel file: ./drivers/scsi/leapraid/leapraid_func.h β and then the whole extended friend group, iykyk:
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)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_rq(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)
mwah π this little page comes from ./drivers/scsi/leapraid and it's dated October 2026 β periodt. π
π¦ 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