Searched refs:afu_attrs (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/misc/cxl/
H A Dsysfs.c359 static struct device_attribute afu_attrs[] = { variable in typeref:struct:device_attribute
537 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) cxl_sysfs_afu_remove()
538 device_remove_file(&afu->dev, &afu_attrs[i]); cxl_sysfs_afu_remove()
553 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) { cxl_sysfs_afu_add()
554 if ((rc = device_create_file(&afu->dev, &afu_attrs[i]))) cxl_sysfs_afu_add()
574 device_remove_file(&afu->dev, &afu_attrs[i]); cxl_sysfs_afu_add()

Completed in 64 milliseconds