capability_store(9)
π capability_store(9) β like, the whole vibe
okay so bestie, we're in the Kernel API Manual today (yes, that Kernel API Manual π) and the star of the show is capability_store. She's a store function for the sysfs attribute capability, and honestly? she ate. Let's get into it. π
β¨ NAME β¨
capability_store β the set function for the sysfs attribute capability. that's it, that's her whole job description π
π¦ SYNOPSIS π¦
ssize_t capability_store (struct device *dev , struct device_attribute
*attr , const char *buf , size_t count );
look at that signature. gorgeous. iconic. no notes. π₯
πΈ ARGUMENTS πΈ
devβ thestruct device. the main character of the argument list, as always π«Άattrβ device attributes. yes plural, yes she contains multitudes β¨bufβ the buffer that contains the new attribute value. this is where the actual tea lives πcountβ size of buffer. so she knows how much ofbufis, like, real π
π SEE ALSO π
first up, the kernel file herself:
- Kernel file
./drivers/net/wireless/marvell/libertas/mesh.c
and now the whole friend group, no one left out, fr fr π:
anycast_mask_show(9),anycast_mask_store(9),prb_rsp_limit_show(9),prb_rsp_limit_store(9),lbs_mesh_show(9),lbs_mesh_store(9),bootflag_show(9),bootflag_store(9),boottime_show(9),boottime_store(9),channel_show(9),channel_store(9),mesh_id_show(9),mesh_id_store(9),protocol_id_show(9),protocol_id_store(9),metric_id_show(9),metric_id_store(9),capability_show(9),lbs_mesh_stop(9),lbs_mesh_dev_open(9),lbs_add_mesh(9)
likeβ¦ a whole mesh squad. the way they all showed up to the function list together ππ
ngl bestie, everything above is literally the whole page β no hidden extra options, no secret defaults, no environment variables lurking. what you see is what you get, and what you get is correct. πβ¨
kiss kiss, this page came from the Kernel API Manual and is dated October 2026 β take care of her, she's under ./drivers/net/wireless/marvell/... and she's doing her best π§π
π¦ 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