pidfs_register_pid_gfp(9)
pidfs_register_pid_gfp π
okay so bestie, this is the Kernel API Manual page for pidfs_register_pid_gfp β tiny page, but it's got main-character kernel energy β¨
NAME π
pidfs_register_pid_gfp β register a struct pid in pidfs with custom GFP flags π
SYNOPSIS β¨
the whole signature, no cap:
int pidfs_register_pid_gfp (struct pid *pid , gfp_t gfp );
ARGUMENTS πΈ
two little cuties walk into the function:
pidβ pid to pin π«Άgfpβ GFP flags for memory allocation β¨
DESCRIPTION π
Register a struct pid in pidfs with custom GFP flags.
literally that: you're registering the struct pid in pidfs, and you're bringing your own GFP flags to the memory-allocation vibe check π¦
RETURN π
On success zero, on error a negative error code is returned.
so: success = 0 β¨, error = negative error code π β periodt.
SEE ALSO π
- Kernel file
./fs/pidfs.cπ pidfd_show_fdinfo(9)π«Ά
xoxo, your kernel bestie π β source/version: ./fs Β· date: October 2026 Β· page: pidfs_register_pid_gfp(9) π
π¦ 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