Searched refs:nr_instances (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/edac/ |
D | edac_device.c | 52 char *edac_device_name, unsigned nr_instances, in edac_device_alloc_ctl_info() argument 68 edac_dbg(4, "instances=%d blocks=%d\n", nr_instances, nr_blocks); in edac_device_alloc_ctl_info() 83 dev_inst = edac_align_ptr(&p, sizeof(*dev_inst), nr_instances); in edac_device_alloc_ctl_info() 88 count = nr_instances * nr_blocks; in edac_device_alloc_ctl_info() 130 dev_ctl->nr_instances = nr_instances; in edac_device_alloc_ctl_info() 145 for (instance = 0; instance < nr_instances; instance++) { in edac_device_alloc_ctl_info() 174 attrib_p = &dev_attrib[block*nr_instances*nr_attrib]; in edac_device_alloc_ctl_info() 567 if ((inst_nr >= edac_dev->nr_instances) || (inst_nr < 0)) { in edac_device_handle_ce_count() 571 edac_dev->nr_instances); in edac_device_handle_ce_count() 613 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 243 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()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | libbpf.c | 8163 int bpf_program__set_prep(struct bpf_program *prog, int nr_instances, in bpf_program__set_prep() argument 8168 if (nr_instances <= 0 || !prep) in bpf_program__set_prep() 8176 instances_fds = malloc(sizeof(int) * nr_instances); in bpf_program__set_prep() 8183 memset(instances_fds, -1, sizeof(int) * nr_instances); in bpf_program__set_prep() 8185 prog->instances.nr = nr_instances; in bpf_program__set_prep()
|