cpumask_parselist_user(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– cpumask_parselist_user πŸ’–

Kernel API Manual check-in, bestie: this is the little helper that extracts a cpumask from a user string, and it’s giving β€œsmall function, big main character energy.” ✨

🌸 NAME 🌸

cpumask_parselist_user β€” extract a cpumask from a user string. Periodt. πŸ’…

✨ SYNOPSIS ✨

int cpumask_parselist_user (const char __user *buf , int len , struct
       cpumask *dstp );

πŸŽ€ ARGUMENTS πŸŽ€

Okay so it takes three things, no cap:

  • buf β€” the buffer to extract from. 🫢
  • len β€” the length of the buffer. πŸ“
  • dstp β€” the cpumask to set. 🎯

πŸ”₯ RETURN πŸ”₯

The return vibe check: -errno, or 0 for success. That’s the whole tea. β˜•πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/cpumask.h β€” yes, the whole cpumask cinematic universe lives there. πŸ‘‘


Source/version: ./include/linux Β· date: October 2026 Β· page: cpumask_parselist_user(9). Bye bestie, go parse something cute πŸ’…πŸ’–

πŸ“¦ where this page comes from