lpfc_wwn_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_wwn_set(9) πŸ’–

okay bestie, this is the Kernel API Manual page for lpfc_wwn_set(9), and it is literally here to convert a string into the 8 byte WWN value. no cap, the main character energy is real. πŸ’…βœ¨


🌸 NAME 🌸

lpfc_wwn_set β€” Convert string to the 8 byte WWN value.

πŸ¦‹ SYNOPSIS πŸ¦‹

the signature is giving:

size_t lpfc_wwn_set (const char *buf , size_t cnt , char wwn[] );

πŸŽ€ ARGUMENTS πŸŽ€

  • buf β€” WWN string. that's the string itself, bestie.
  • cnt β€” Length of string. lowkey important.
  • wwn β€” Array to receive converted wwn value. the destination, periodt.

πŸ’€ RETURN πŸ’€

return vibe check:

  • -EINVAL β€” if the buffer does not contain a valid wwn.
  • 0 β€” success.

🌈 SEE ALSO 🌈

Kernel file: ./drivers/scsi/lpfc/lpfc_attr.c β€” and the whole friend group is:

mwah πŸ’‹ β€” signing off from ./drivers/scsi/lpfc, October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from