ne_check_cpu_in_cpu_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ne_check_cpu_in_cpu_pool(9) β€” like, the Kernel API Manual page, bestie ✨

Okay so this is from the ne_check_cpu_in_cpu_pool(9) section of the Kernel API Manual, and no cap, it's a whole vibe check for vCPUs. Sit down, grab a πŸ“, we're doing this.


πŸ¦‹ NAME

ne_check_cpu_in_cpu_pool β€” literally just checks if the given vCPU is in the available CPUs from the pool. That's it. That's the whole job. Iconic minimalism, honestly.


🌸 SYNOPSIS

int ne_check_cpu_in_cpu_pool (struct ne_enclave *ne_enclave , u32
vcpu_id );

πŸŽ€ ARGUMENTS

  • ne_enclave β€” the private data associated with the current enclave. Like, its whole lil inner world 🫢
  • vcpu_id β€” the ID of the vCPU you wanna check if it's available in the NE CPU pool. The main character we're asking about πŸ‘‘

⭐ CONTEXT

Process context, bestie. And important: this function is called with the ne_enclave mutex held. So like… don't come for it without the lock, fr fr. πŸ”’


πŸ”₯ RETURN

  • 0 on success πŸ’–
  • Negative return value on failure 😭

🌈 SEE ALSO

Okay this list is LONG, so buckle up, we're going on a tour:

Go read them all, iykyk πŸ’€βœ¨


And that's the page, bestie! This lil masterpiece lives in ./drivers/virt/nitro_enclaves, dated October 2026 β€” so like, future vibes only. Mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from