Searched refs:sysfs_attrib (Results 1 – 2 of 2) sorted by relevance
524 struct edac_dev_sysfs_block_attribute *sysfs_attrib; in edac_device_create_block() local559 sysfs_attrib = block->block_attributes; in edac_device_create_block()560 if (sysfs_attrib && block->nr_attribs) { in edac_device_create_block()561 for (i = 0; i < block->nr_attribs; i++, sysfs_attrib++) { in edac_device_create_block()566 sysfs_attrib->attr.name, in edac_device_create_block()567 sysfs_attrib, &block->kobj); in edac_device_create_block()571 &sysfs_attrib->attr); in edac_device_create_block()594 struct edac_dev_sysfs_block_attribute *sysfs_attrib; in edac_device_delete_block() local600 sysfs_attrib = block->block_attributes; in edac_device_delete_block()601 if (sysfs_attrib && block->nr_attribs) { in edac_device_delete_block()[all …]
782 const struct mcidev_sysfs_attribute *sysfs_attrib, in edac_create_mci_instance_attributes() argument789 while (sysfs_attrib) { in edac_create_mci_instance_attributes()790 debugf4("%s() sysfs_attrib = %p\n",__func__, sysfs_attrib); in edac_create_mci_instance_attributes()791 if (sysfs_attrib->grp) { in edac_create_mci_instance_attributes()798 grp_kobj->grp = sysfs_attrib->grp; in edac_create_mci_instance_attributes()803 sysfs_attrib->grp->name, mci); in edac_create_mci_instance_attributes()808 sysfs_attrib->grp->name); in edac_create_mci_instance_attributes()819 } else if (sysfs_attrib->attr.name) { in edac_create_mci_instance_attributes()821 sysfs_attrib->attr.name); in edac_create_mci_instance_attributes()823 err = sysfs_create_file(kobj, &sysfs_attrib->attr); in edac_create_mci_instance_attributes()[all …]