ne_get_vcpu_...rom_cpu_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so welcome to the Kernel API Manual page for ne_get_vcpu_core_from_cpu_pool(9), bestie ✨ this one is short and sweet, and yes, we're keeping all the deets.

🌸 NAME 🌸

ne_get_vcpu_core_from_cpu_pool β€” get from the NE CPU pool the id of the core associated with the provided vCPU. That's literally the whole vibe of this function, and the way it just does that one job? iconic.

✨ SYNOPSIS ✨

int ne_get_vcpu_core_from_cpu_pool (u32 vcpu_id );

πŸŽ€ ARGUMENTS πŸŽ€

  • vcpu_id β€” the provided vCPU id you're giving it so it can get its associated core id. That's the input, bestie.

🧚 CONTEXT 🧚

Context check, no cap: process context. This function is called with the ne_enclave and ne_cpu_pool mutexes held. fr fr, those mutexes are part of the situation.

πŸ’– RETURN πŸ’–

  • Core id. πŸ’…
  • -1 if the provided vCPU is not in the pool.

🌈 SEE ALSO 🌈

go peek at these, bestie 🫢


and that's the page, bestie πŸ’– cute little sign-off: source/version location ./drivers/virt/nitro_enclaves, dated October 2026, page tag ne_get_vcpu_...rom_cpu_pool(9). periodt ✨

πŸ“¦ where this page comes from