Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/edac/
A Dedac_device.c60 unsigned nr_attrib, int device_index) in edac_device_alloc_ctl_info() argument
88 if (nr_attrib) { in edac_device_alloc_ctl_info()
89 dev_attrib = kcalloc(nr_attrib, sizeof(struct edac_dev_sysfs_block_attribute), in edac_device_alloc_ctl_info()
139 if ((nr_attrib == 0) || (attrib_spec == NULL)) in edac_device_alloc_ctl_info()
143 blk->nr_attribs = nr_attrib; in edac_device_alloc_ctl_info()
144 attrib_p = &dev_attrib[block*nr_instances*nr_attrib]; in edac_device_alloc_ctl_info()
155 for (attr = 0; attr < nr_attrib; attr++) { in edac_device_alloc_ctl_info()

Completed in 4 milliseconds