STRUCT LEAPRAID_MEM_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 the sg_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 of sense_data buffer. 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