cgroup_v1v2_get_from_file(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is cgroup_v1v2_get_from_file(9) from the Kernel API Manual πŸ’– it's a whole little function, and we're gonna get you comfy with it ✨

πŸ’– NAME πŸ’–

cgroup_v1v2_get_from_file β€” get a cgroup pointer from a file pointer 🫢

✨ SYNOPSIS ✨

struct cgroup * cgroup_v1v2_get_from_file (struct file *f );

πŸŽ€ ARGUMENTS πŸŽ€

  • f β€” the file corresponding to cgroup_dir. That's the whole assignment, bestie πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Find the cgroup from a file pointer associated with a cgroup directory. Slay ✨

Returns a pointer to the cgroup on success. If the cgroup cannot be found, ERR_PTR is returned. No cap, that's the whole vibe πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./kernel/cgroup/cgroup.c β€” plus the whole cgroup bestie squad:


and that's the page, bestie 🫢 this one's from source/version ./kernel/cgroup, dated October 2026 πŸ’œβœ¨

πŸ“¦ where this page comes from