Searched refs:ghes_arr (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/acpi/apei/
H A Dhest.c129 struct ghes_arr { struct
146 struct ghes_arr *ghes_arr = data; hest_parse_ghes() local
154 for (i = 0; i < ghes_arr->count; i++) { hest_parse_ghes()
156 ghes_dev = ghes_arr->ghes_devs[i]; hest_parse_ghes()
175 ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev; hest_parse_ghes()
186 struct ghes_arr ghes_arr; hest_ghes_dev_register() local
188 ghes_arr.count = 0; hest_ghes_dev_register()
189 ghes_arr.ghes_devs = kmalloc(sizeof(void *) * ghes_count, GFP_KERNEL); hest_ghes_dev_register()
190 if (!ghes_arr.ghes_devs) hest_ghes_dev_register()
193 rc = apei_hest_parse(hest_parse_ghes, &ghes_arr); hest_ghes_dev_register()
197 kfree(ghes_arr.ghes_devs); hest_ghes_dev_register()
200 for (i = 0; i < ghes_arr.count; i++) hest_ghes_dev_register()
201 platform_device_unregister(ghes_arr.ghes_devs[i]); hest_ghes_dev_register()

Completed in 31 milliseconds