lpfc_nodev_tmo_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, meet lpfc_nodev_tmo_show(9) from the Kernel API Manual β€” it's literally the function that returns the hba dev loss timeout value. That's the whole vibe: it hands you the timeout info, formatted and ready. Slay. ✨

✨ SYNOPSIS ✨

The signature is highkey exactly this:

ssize_t lpfc_nodev_tmo_show (struct device *dev , struct
device_attribute *attr , char *buf );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the class converted to a Scsi_host structure. It's giving "I hold the device info" main character energy.
  • attr β€” device attribute, not used. Not me worrying about this one, because it's literally unused.
  • buf β€” on return contains the dev loss timeout in decimal. So after the call, this is where the decimal timeout is chilling.

🌸 RETURN 🌸

size of formatted string. That's what you get back β€” size of formatted string, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file alert: ./drivers/scsi/lpfc/lpfc_attr.c is the source spot. The whole friend group, no cap:


That's the page, bestie πŸ’… β€” footer vibes: source tree ./drivers/scsi/lpfc, dated October 2026, page lpfc_nodev_tmo_show(9) from the Kernel API Manual. Bye 🫢

πŸ“¦ where this page comes from