lpfc_next_online_cpu(9)
π 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 π
- Kernel file
./drivers/scsi/lpfc/lpfc.h lpfc_next_present_cpu(9)lpfc_sli4_mod_hba_eq_delay(9)lpfc_is_vmid_enabled(9)
that's the whole page, bestie β no crumbs left. π«Ά xoxo, source/version ./drivers/scsi/lpfc, dated October 2026 π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms