Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/edac/
Dedac_device_sysfs.c524 struct edac_dev_sysfs_block_attribute *sysfs_attrib; in edac_device_create_block() local
559 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() local
600 sysfs_attrib = block->block_attributes; in edac_device_delete_block()
601 if (sysfs_attrib && block->nr_attribs) { in edac_device_delete_block()
[all …]
Dedac_mc_sysfs.c782 const struct mcidev_sysfs_attribute *sysfs_attrib, in edac_create_mci_instance_attributes() argument
789 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 …]