Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/
Dmodule.c1063 static struct module_attribute *modinfo_attrs[] = { variable
1514 mod->modinfo_attrs = kzalloc((sizeof(struct module_attribute) * in module_add_modinfo_attrs()
1515 (ARRAY_SIZE(modinfo_attrs) + 1)), in module_add_modinfo_attrs()
1517 if (!mod->modinfo_attrs) in module_add_modinfo_attrs()
1520 temp_attr = mod->modinfo_attrs; in module_add_modinfo_attrs()
1521 for (i = 0; (attr = modinfo_attrs[i]) && !error; i++) { in module_add_modinfo_attrs()
1538 for (i = 0; (attr = &mod->modinfo_attrs[i]); i++) { in module_remove_modinfo_attrs()
1546 kfree(mod->modinfo_attrs); in module_remove_modinfo_attrs()
2152 for (i = 0; (attr = modinfo_attrs[i]); i++) { in setup_modinfo()
2163 for (i = 0; (attr = modinfo_attrs[i]); i++) { in free_modinfo()
/linux-3.4.99/include/linux/
Dmodule.h232 struct module_attribute *modinfo_attrs; member