lpfc_next_online_cpu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_next_online_cpu(9) πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” today's main character is lpfc_next_online_cpu, and it's literally a lil CPU-finder. ✨


🌸 NAME 🌸

lpfc_next_online_cpu β€” finds the next online CPU on a cpumask. no cap, that's the whole vibe. πŸ¦‹

✨ SYNOPSIS ✨

unsigned int lpfc_next_online_cpu (const struct cpumask *mask , unsigned
       int start );

πŸŽ€ ARGUMENTS πŸŽ€

  • mask β€” pointer to phba's cpumask member. it's giving "where we're looking" energy. πŸ‘€
  • start β€” starting cpu index. your little starting point, bestie. 🎯

πŸ’– RETURN πŸ’–

next online CPU in mask on success. slay. πŸ’…

πŸ¦‹ NOTE πŸ¦‹

if no valid cpu found, then nr_cpu_ids is returned. so yeah, that's the fallback, periodt. 😭

🌈 SEE ALSO 🌈


that's the whole page, bestie β€” no crumbs left. 🫢 xoxo, source/version ./drivers/scsi/lpfc, dated October 2026 πŸ’–

πŸ“¦ where this page comes from