Lines Matching refs:ptr_instance
2890 struct loader_instance *ptr_instance = NULL; local
2895 ptr_instance = inst;
2899 return ptr_instance;
3632 struct loader_instance *ptr_instance = local
3657 for (uint32_t i = 0; i < ptr_instance->icd_libs.count; i++) {
3658 icd = loader_icd_add(ptr_instance, &ptr_instance->icd_libs.list[i]);
3663 loader_log(ptr_instance, VK_DEBUG_REPORT_DEBUG_BIT_EXT, 0,
3667 loader_init_generic_list(ptr_instance,
3671 ptr_instance,
3687 ptr_instance, (struct loader_generic_list *)&icd_exts);
3689 res = ptr_instance->icd_libs.list[i].CreateInstance(
3694 ptr_instance->icd_libs.list[i].GetInstanceProcAddr);
3697 ptr_instance->icds = ptr_instance->icds->next;
3698 loader_icd_destroy(ptr_instance, icd);
3699 loader_log(ptr_instance, VK_DEBUG_REPORT_ERROR_BIT_EXT, 0,
3711 if (ptr_instance->icds == NULL) {
3725 struct loader_instance *ptr_instance = loader_instance(instance); local
3726 struct loader_icd *icds = ptr_instance->icds;
3733 if (next == ptr_instance) {
3751 loader_icd_destroy(ptr_instance, icds);
3755 loader_delete_layer_properties(ptr_instance,
3756 &ptr_instance->device_layer_list);
3757 loader_delete_layer_properties(ptr_instance,
3758 &ptr_instance->instance_layer_list);
3759 loader_scanned_icd_clear(ptr_instance, &ptr_instance->icd_libs);
3761 ptr_instance, (struct loader_generic_list *)&ptr_instance->ext_list);
3762 if (ptr_instance->phys_devs_term)
3763 loader_heap_free(ptr_instance, ptr_instance->phys_devs_term);
3764 loader_free_dev_ext_table(ptr_instance);