Lines Matching refs:current_entry
440 dgraph_entry_t * current_entry = dgraph->graph[i];
441 __kload_clean_up_entry(current_entry);
856 dgraph_entry_t * current_entry = dgraph->load_order[i];
858 opaque_now |= current_entry->opaque_link;
866 kload_log_message("opaque link for %s" KNL, current_entry->name);
874 if (kRawKernelLink & current_entry->opaque_link) {
897 if (current_entry->opaque_link)
900 (k < current_entry->num_dependencies)
901 && (current_entry->dependencies[k] != image_dep);
904 if (k == current_entry->num_dependencies)
908 if (!current_entry->opaque_link && image_dep->opaques)
957 result = __kload_load_module(dgraph, current_entry,
958 (current_entry == dgraph->root),
962 result = __kload_load_module(dgraph, current_entry,
963 (current_entry == dgraph->root));
969 if (dgraph->has_opaque_links && (current_entry != dgraph->root))
971 if (!(kRawKernelLink & current_entry->opaques)) {
972 result = __kload_keep_symbols(current_entry);
976 current_entry->name);
982 if (do_load && current_entry->do_load) {
984 if (current_entry->do_load) {
986 result = __kload_set_module_dependencies(current_entry);
993 if ( (interactive_level == 1 && current_entry == dgraph->root) ||
998 current_entry->name);
1011 mach_result = kmod_destroy(G_kernel_priv_port, current_entry->kmod_id);
1027 if (current_entry != dgraph->root ||
1028 (current_entry == dgraph->root && do_start_kmod)) {
1031 result = __kload_start_module(current_entry);
1043 current_entry->name);
1046 } /* current_entry... */
1870 dgraph_entry_t * current_entry = dgraph->load_order[i];
1875 cresult = __kload_check_module_loaded(dgraph, current_entry,
1881 if (current_entry == dgraph->root &&
1940 dgraph_entry_t * current_entry = dgraph->load_order[i];
1945 cresult = __kload_check_module_loaded(dgraph, current_entry, false);
1950 if (current_entry == dgraph->root &&
2132 dgraph_entry_t * current_entry = dgraph->load_order[i];
2136 if (current_entry->is_kernel_component) {
2142 current_entry->name);
2150 if (!kld_file_patch_OSObjects(current_entry->name)) {
2164 if (current_entry->loaded_address) {
2165 if (!kld_file_merge_OSObjects(current_entry->name)) {
2170 if (!kld_file_patch_OSObjects(current_entry->name)) {