Lines Matching refs:modinfo_attrs
1205 static struct module_attribute *modinfo_attrs[] = { variable
1758 mod->modinfo_attrs = kzalloc((sizeof(struct module_attribute) * in module_add_modinfo_attrs()
1759 (ARRAY_SIZE(modinfo_attrs) + 1)), in module_add_modinfo_attrs()
1761 if (!mod->modinfo_attrs) in module_add_modinfo_attrs()
1764 temp_attr = mod->modinfo_attrs; in module_add_modinfo_attrs()
1765 for (i = 0; (attr = modinfo_attrs[i]); i++) { in module_add_modinfo_attrs()
1783 kfree(mod->modinfo_attrs); in module_add_modinfo_attrs()
1792 for (i = 0; (attr = &mod->modinfo_attrs[i]); i++) { in module_remove_modinfo_attrs()
1802 kfree(mod->modinfo_attrs); in module_remove_modinfo_attrs()
2584 for (i = 0; (attr = modinfo_attrs[i]); i++) { in setup_modinfo()
2595 for (i = 0; (attr = modinfo_attrs[i]); i++) { in free_modinfo()