Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/edac/
Dedac_device.c57 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 …]
Dedac_device.h217 u32 nr_instances; member
245 char *edac_device_name, unsigned nr_instances,
Docteon_edac-l2c.c129 for (i = 0; i < l2c->nr_instances; i++) in octeon_l2c_poll_oct2()
Dedac_device_sysfs.c708 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()