lpfc_reset_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_reset_stats(9) πŸ’–

okay so bestie, welcome to the kernel API manual β€” this is the section 9 zone, where all the in-kernel functions live, and today's main character is lpfc_reset_stats. pull up a chair, grab a strawberry πŸ“, it's a short one but she's cute.


✨ NAME ✨

lpfc_reset_stats β€” Copy the adapter link stats information

yep, that's the whole vibe. the name says "reset" but the description says "copy" β€” she's a little mysterious like that, and we're just reporting the facts, bestie. πŸ™ˆ


🌸 SYNOPSIS 🌸

void lpfc_reset_stats (struct Scsi_Host *shost );

it returns void β€” no return value, no little gift back, she just does the thing. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • shost β€” the kernel scsi host pointer. that's it. that's the one argument. one single pointer and off she goes πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

okay so this is where it gets iconic, because this page has an entire friend group. like, a whole group chat of lpfc functions. the kernel file it lives in is ./drivers/scsi/lpfc/lpfc_attr.c, and here's literally every single one of her besties so you can go read them too:

the way that list just kept going… she said "you're coming with me" and dragged the whole directory along 😭 but ngl that's how you know the page is thorough. no cap. πŸ”₯


heads up bestie: every one of those references has to stay exactly as written β€” them's kernel symbols, don't go renaming them πŸ’€

and that's the whole page! short, sweet, one pointer, one void return, and one absolutely massive friend list. she's giving minimalist with a huge social circle energy πŸ‘‘

β€” from ./drivers/scsi/lpfc, dated October 2026 πŸŽ€ happy hacking, bestie πŸ’œ

πŸ“¦ where this page comes from