Lines Matching refs:my_lib
2905 struct loader_lib_info *new_layer_lib_list, *my_lib; local
2946 my_lib = &new_layer_lib_list[loader.loaded_layer_lib_count];
2948 strncpy(my_lib->lib_name, layer_prop->lib_name, sizeof(my_lib->lib_name));
2949 my_lib->lib_name[sizeof(my_lib->lib_name) - 1] = '\0';
2950 my_lib->ref_count = 0;
2951 my_lib->lib_handle = NULL;
2953 if ((my_lib->lib_handle = loader_platform_open_library(my_lib->lib_name)) ==
2956 loader_platform_open_library_error(my_lib->lib_name));
2964 my_lib->ref_count++;
2966 return my_lib->lib_handle;
2973 struct loader_lib_info *new_layer_lib_list, *my_lib = NULL; local
2980 my_lib = &loader.loaded_layer_lib_list[i];
2991 if (my_lib) {
2992 my_lib->ref_count--;
2993 if (my_lib->ref_count > 0) {
3000 loader_platform_close_library(my_lib->lib_handle);