css_get_many(9)
π css_get_many(9) π
okay so bestie, welcome to the Kernel API Manual β yes, this is css_get_many(9), and it's literally the group-chat equivalent of grabbing a whole handful of references at once. no cap. π«Ά
β¨ NAME β¨
css_get_many β obtain references on the specified css β¨ (yes, plural, many, a whole squad of them π
)
π¦ SYNOPSIS π¦
CGROUP_REF_FN_ATTRS void css_get_many (struct cgroup_subsys_state *css ,
unsigned int n );
like, that's the whole signature. iconic. no notes. π
π ARGUMENTS π
cssβ target css π― the actual thing you're grabbing refs on, the main character of this function nglnβ number of references to get π’ like how many you want, timesn, that many, fr fr
πΈ DESCRIPTION πΈ
okay so here's the tea: the caller must already have a reference. π
that's it. that's the whole description. you gotta already be holding one before you call this β it's giving "you need experience to get the job" energy but for kernel refcounting π. don't come in with zero refs and expect css_get_many to fix your life, because that is not what it does.
π SEE ALSO π
- the kernel file
./include/linux/cgroup_refcnt.hπ (go read it, iykyk) css_get(9)πcss_tryget(9)β¨css_tryget_online(9)π¦css_put(9)πcss_put_many(9)π
lowkey reminder bestie: this is the many version.css_get(9)is for one,css_get_many(9)is for the whole friend group. pick accordingly π«Ά
mwah π that's the page! brought to you straight outta ./include/linux β October 2026 edition, kernel API manual vibes, date stamp and all. slay, go get those references (after you already got one, obviously π) β¨ππ
π¦ 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