metric_id_store(9)
β¨ metric_id_store(9) β¨
okay so bestie, quick vibe check: this lil page lives in the Kernel API Manual, and today's main character is metric_id_store β the store function for the sysfs attribute metric_id. iykyk π
π NAME π
metric_id_store β the set function for the sysfs attribute metric_id. literally her whole job π
πΈ SYNOPSIS πΈ
ssize_t metric_id_store (struct device *dev , struct device_attribute
*attr , const char *buf , size_t count );
π¦ ARGUMENTS π¦
devβ thestruct device. the device in question, periodt π«Άattrβ the device attributes. that's thestruct device_attributesituation β¨bufβ the buffer holding the new attribute value. new value goes here, no cap πcountβ the size of the buffer. yes queen, tell us how big π
π SEE ALSO π
so like, if you wanna go see the source with your own eyes, it's chillin' right here: the kernel file ./drivers/net/wireless/marvell/libertas/mesh.c π
and here's the whole friend group β no one gets 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)capability_show(9),capability_store(9)lbs_mesh_stop(9),lbs_mesh_dev_open(9),lbs_add_mesh(9)
ngl there's not a ton to warn you about here β she's a tiny store function and she ate. just remember:bufis onlycountbytes long, so treat her with respect π
okay that's the whole page, you're literally an expert now πβ¨
signing off from ./drivers/net/wireless/marvell..., dated October 2026, and yes this was metric_id_store(9) the entire time πππ¦
π¦ 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