asd_find_ll_by_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ asd_find_ll_by_id(9) πŸ¦‹

okay bestie, welcome to asd_find_ll_by_id(9) from the Kernel API Manual β€” yes, we're doing kernel linked-list detective work today and it's giving main-character energy πŸ’…βœ¨


🏷️ NAME

asd_find_ll_by_id β€” find a linked list entry by its id


πŸ“œ SYNOPSIS

void * asd_find_ll_by_id (void * const start , const u8 id0 , const u8 id1 );

🧸 ARGUMENTS

  • start β€” void pointer to the first element in the linked list
  • id0 β€” the first byte of the id (offs 0)
  • id1 β€” the second byte of the id (offs 1)

πŸ’… DESCRIPTION

okay so listen πŸ‘‚ β€” start has to be the _base_ element start, because the linked list entries's offset is from this pointer. no cap, that part is important 🫢

Some linked list entries use only the first id, in which case you can pass 0xFF for the second. iconic little shortcut, honestly 🌸


πŸ‘€ SEE ALSO

Kernel file ./drivers/scsi/aic94xx/aic94xx_sds.c:


that's the whole vibe, bestie πŸ’– cute little sign-off time: source/version is ./drivers/scsi/aic94xx and the date is October 2026 β€” mwah, slay, periodt πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from