Searched refs:nr_instances (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.1/drivers/edac/ |
| D | edac_device.c | 54 edac_device_alloc_ctl_info(unsigned pvt_sz, char *dev_name, unsigned nr_instances, in edac_device_alloc_ctl_info() argument 67 edac_dbg(4, "instances=%d blocks=%d\n", nr_instances, nr_blocks); in edac_device_alloc_ctl_info() 73 dev_inst = kcalloc(nr_instances, sizeof(struct edac_device_instance), GFP_KERNEL); in edac_device_alloc_ctl_info() 79 dev_blk = kcalloc(nr_instances * nr_blocks, sizeof(struct edac_device_block), GFP_KERNEL); in edac_device_alloc_ctl_info() 103 dev_ctl->nr_instances = nr_instances; in edac_device_alloc_ctl_info() 113 for (instance = 0; instance < nr_instances; instance++) { in edac_device_alloc_ctl_info() 141 attrib_p = &dev_attrib[block*nr_instances*nr_attrib]; in edac_device_alloc_ctl_info() 538 if ((inst_nr >= edac_dev->nr_instances) || (inst_nr < 0)) { in edac_device_handle_ce_count() 542 edac_dev->nr_instances); in edac_device_handle_ce_count() 584 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 | 708 for (i = 0; i < edac_dev->nr_instances; i++) { in edac_device_create_instances() 730 for (i = 0; i < edac_dev->nr_instances; i++) in edac_device_delete_instances()
|