Searched refs:nr_instances (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/edac/ |
D | edac_device.c | 57 edac_device_alloc_ctl_info(unsigned pvt_sz, char *dev_name, unsigned nr_instances, in edac_device_alloc_ctl_info() argument 70 edac_dbg(4, "instances=%d blocks=%d\n", nr_instances, nr_blocks); in edac_device_alloc_ctl_info() 76 dev_inst = kcalloc(nr_instances, sizeof(struct edac_device_instance), GFP_KERNEL); in edac_device_alloc_ctl_info() 82 dev_blk = kcalloc(nr_instances * nr_blocks, sizeof(struct edac_device_block), GFP_KERNEL); in edac_device_alloc_ctl_info() 106 dev_ctl->nr_instances = nr_instances; in edac_device_alloc_ctl_info() 116 for (instance = 0; instance < nr_instances; instance++) { in edac_device_alloc_ctl_info() 144 attrib_p = &dev_attrib[block*nr_instances*nr_attrib]; in edac_device_alloc_ctl_info() 536 if ((inst_nr >= edac_dev->nr_instances) || (inst_nr < 0)) { in edac_device_handle_ce_count() 540 edac_dev->nr_instances); in edac_device_handle_ce_count() 582 if ((inst_nr >= edac_dev->nr_instances) || (inst_nr < 0)) { in edac_device_handle_ue_count() [all …]
|
D | edac_device.h | 217 u32 nr_instances; member 245 char *edac_device_name, unsigned nr_instances,
|
D | octeon_edac-l2c.c | 129 for (i = 0; i < l2c->nr_instances; i++) in octeon_l2c_poll_oct2()
|
D | edac_device_sysfs.c | 710 for (i = 0; i < edac_dev->nr_instances; i++) { in edac_device_create_instances() 732 for (i = 0; i < edac_dev->nr_instances; i++) in edac_device_delete_instances()
|