Home
last modified time | relevance | path

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

/linux/kernel/module/
H A Dsysfs.c281 for (i = 0; (attr = &mod->modinfo_attrs[i]); i++) { in module_remove_modinfo_attrs()
291 kfree(mod->modinfo_attrs); in module_remove_modinfo_attrs()
301 mod->modinfo_attrs = kzalloc((sizeof(struct module_attribute) * in module_add_modinfo_attrs()
304 if (!mod->modinfo_attrs) in module_add_modinfo_attrs()
307 temp_attr = mod->modinfo_attrs; in module_add_modinfo_attrs()
308 for (i = 0; (attr = modinfo_attrs[i]); i++) { in module_add_modinfo_attrs()
326 kfree(mod->modinfo_attrs); in module_add_modinfo_attrs()
H A Dinternal.h50 extern struct module_attribute *modinfo_attrs[];
H A Dmain.c981 struct module_attribute *modinfo_attrs[] = { variable
998 size_t modinfo_attrs_count = ARRAY_SIZE(modinfo_attrs);
1621 for (i = 0; (attr = modinfo_attrs[i]); i++) { in setup_modinfo()
1632 for (i = 0; (attr = modinfo_attrs[i]); i++) { in free_modinfo()
/linux/include/linux/
H A Dmodule.h424 struct module_attribute *modinfo_attrs; member