__lpfc_updat...f_record_pri(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __lpfc_updat...f_record_pri(9) β€” from the Kernel API Manual, bestie ✨

okay so picture this: you're deep in the kernel, SCSCI lpfc land, and there's this one little function that just wants to keep your FCF priority record cute and up to date. she's not flashy, she's just doing her job πŸŽ€ and honestly? iconic behavior.


🌸 NAME 🌸

__lpfc_update_fcf_record_pri β€” literally just updates the lpfc_fcf_pri record. that's the whole vibe. no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void __lpfc_update_fcf_record_pri (struct lpfc_hba *phba , uint16_t
fcf_index , struct fcf_record *new_fcf_record );

look at her go. returns void, takes three args, zero drama ✨


πŸ’– ARGUMENTS πŸ’–

  • phba β€” pointer to the lpfc hba data structure. yes queen, this is the main character 🫢
  • fcf_index β€” the index for the lpfc_fcf_record. like her little address in the group chat, iykyk
  • new_fcf_record β€” pointer to the hba fcf record. this is the fresh new tea that's getting copied over β˜•

⭐ DESCRIPTION ⭐

so here's what's happening: this routine updates the driver's FCF priority record using the new HBA FCF record. she's a copy-paste girly, but make it kernel-grade πŸ’…

also β€” important β€” the hbalock is asserted held in the code path that calls this routine. so do NOT come in here un-locked, that's not the move 😭 lock it first, periodt.

πŸ”₯ real talk: this isn't a "call me whenever" function. the caller has already grabbed hbalock and is holding it. respect the lock, bestie.

🌈 SEE ALSO 🌈

she runs in ./drivers/scsi/lpfc/lpfc_hbadisc.c β€” go say hi to the whole family πŸ’œ

like. fifty functions. one friend group. we love a connected community πŸ§šπŸ’œ


okay that's the whole page, you ate that 🫢 giving you a lil sign-off: this one lives in ./drivers/scsi/lpfc and it's dated October 2026, and the page itself is __lpfc_updat...f_record_pri(9) β€” yes the title is truncated, no that's not a typo, that's just how she's filed πŸ’…βœ¨

πŸ“¦ where this page comes from