Home
last modified time | relevance | path

Searched refs:modinfo_attrs (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/kernel/module/
Dsysfs.c280 for (i = 0; (attr = &mod->modinfo_attrs[i]); i++) { in module_remove_modinfo_attrs()
290 kfree(mod->modinfo_attrs); in module_remove_modinfo_attrs()
300 mod->modinfo_attrs = kzalloc((sizeof(struct module_attribute) * in module_add_modinfo_attrs()
303 if (!mod->modinfo_attrs) in module_add_modinfo_attrs()
306 temp_attr = mod->modinfo_attrs; in module_add_modinfo_attrs()
307 for (i = 0; (attr = modinfo_attrs[i]); i++) { in module_add_modinfo_attrs()
325 kfree(mod->modinfo_attrs); in module_add_modinfo_attrs()
Dinternal.h50 extern struct module_attribute *modinfo_attrs[];
Dmain.c979 struct module_attribute *modinfo_attrs[] = { variable
996 size_t modinfo_attrs_count = ARRAY_SIZE(modinfo_attrs);
1596 for (i = 0; (attr = modinfo_attrs[i]); i++) { in setup_modinfo()
1607 for (i = 0; (attr = modinfo_attrs[i]); i++) { in free_modinfo()
/linux-6.6.21/include/linux/
Dmodule.h418 struct module_attribute *modinfo_attrs; member