config_item_set_name(9)
π config_item_set_name(9) β Kernel API Manual π
β¨ NAME β¨
config_item_set_name β Set the name of an item. That's literally the whole vibe, bestie. π
πΈ SYNOPSIS πΈ
int config_item_set_name (struct config_item *item , const char *fmt ,
... );
π¦ ARGUMENTS π¦
itemβ item.fmtβ Thevsnprintf's format string....β variable arguments.
π DESCRIPTION π
Okay so here's the tea β: if strlen(name) >= CONFIGFS_ITEM_NAME_LEN, then it uses a dynamically allocated string that item->ci_name points to. Otherwise, it uses the static item->ci_namebuf array. Periodt. π
β¨
π SEE ALSO π
- Kernel file
./fs/configfs/item.c config_item_init(9)config_item_put(9)config_group_init(9)config_group_find_item(9)
That's the page, bestie π«Ά β source/version ./fs/configfs, dated October 2026, and this iconic little manual page is config_item_set_name(9). Mwah πβ¨
π¦ 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