asd_post_escb_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… asd_post_escb_list(9) πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” this is the asd_post_escb_list(9) page and it's literally about posting a list of 1 or more empty scb. periodt.

πŸŽ€ NAME πŸŽ€

asd_post_escb_list β€” post a list of 1 or more empty scb

✨ SYNOPSIS ✨

int asd_post_escb_list (struct asd_ha_struct *asd_ha , struct asd_ascb
*ascb , int num );

🫢 ARGUMENTS 🫢

  • asd_ha β€” pointer to a host adapter structure
  • ascb β€” pointer to the first empty SCB in the list
  • num β€” number of aSCBs in the list (to be posted)

πŸ’– DESCRIPTION πŸ’–

okay so this is essentially the same as asd_post_ascb_list, but we do not increment pending, add those to the pending list or get indexes. See asd_init_escbs and asd_init_post_escbs.

Since sending a list of ascbs is a superset of sending a single ascb, this function exists to generalize this. More specifically, when sending a list of those, we want to do only a _single_ memcpy at swap head, as opposed to for each ascb sent (in the case of sending them one by one). That is, we want to minimize the ratio of memcpy operations to the number of ascbs sent. The same logic applies to asd_post_ascb_list. πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/aic94xx/aic94xx_hwi.c: asd_init_scbs(9), asd_init_escbs(9), asd_chip_hardrst(9), asd_init_chip(9), asd_init_ctxmem(9), asd_chip_reset(9), asd_process_donelist_isr(9), asd_com_sas_isr(9), asd_dch_sas_isr(9), asd_rbi_exsi_isr(9), asd_hst_pcix_isr(9), asd_hw_isr(9), asd_ascb_alloc_list(9), asd_swap_head_scb(9), asd_start_scb_timers(9), asd_post_ascb_list(9), asd_turn_led(9), asd_control_led(9).


okay so source/version sign-off: this page comes from ./drivers/scsi/aic94xx, dated October 2026. byeee bestie, go post those empty SCBs πŸ’–βœ¨

πŸ“¦ where this page comes from