lpfc_nodev_tmo_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_nodev_tmo_init(9) πŸ’…

bestie, welcome to the Kernel API Manual β€” this page is all about <pink>lpfc_nodev_tmo_init</pink>, and it’s lowkey a little timeout-setting goblin. let’s get into it. ✨

🌸 NAME 🌸

lpfc_nodev_tmo_init β€” Set the hba nodev timeout value. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

int lpfc_nodev_tmo_init (struct lpfc_vport *vport , int val );

πŸŽ€ ARGUMENTS πŸŽ€

  • vport β€” lpfc vport structure pointer. 🫢
  • val β€” contains the nodev timeout value. ⏳

✨ DESCRIPTION ✨

okay so here’s the tea: if the devloss tmo is already set, then nodev tmo is set to devloss tmo, a kernel error message is printed, and zero is returned. no cap, that’s the first branch. πŸ’…

else if val is in range, then nodev tmo and devloss tmo are set to val. otherwise, nodev tmo is set to the default value. that’s the whole flow, bestie. πŸ¦‹

πŸ’« RETURN πŸ’«

  • 0 β€” zero if already set or if val is in range. πŸ’–
  • -EINVAL β€” if val is out of range. πŸ’€

🌈 SEE ALSO 🌈

there’s a whole squad here, and yes every single one is part of the reference list:


okay bye bestie πŸ’– this page’s source/version is ./drivers/scsi/lpfc, it’s dated October 2026, and the manual name is lpfc_nodev_tmo_init(9) β€” periodt. 🌟

πŸ“¦ where this page comes from