/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | dgraph.c | 43 #include "dgraph.h" 63 dgraph_error_t dgraph_init(dgraph_t * dgraph) argument 65 bzero(dgraph, sizeof(dgraph_t)); 67 dgraph->capacity = (5); // pulled from a hat 71 dgraph->graph = (dgraph_entry_t **)malloc( 72 dgraph->capacity * sizeof(dgraph_entry_t *)); 74 if (!dgraph->graph) { 86 dgraph_t * dgraph, 100 result = dgraph_init(dgraph); 127 current_dependent = dgraph_add_dependent(dgraph, arg 85 dgraph_init_with_arglist( dgraph_t * dgraph, int expect_addresses, const char * dependency_delimiter, const char * kernel_dependency_delimiter, int argc, char * argv[]) argument 207 dgraph_free( dgraph_t * dgraph, int free_graph) argument 243 dgraph_find_root(dgraph_t * dgraph) argument 379 dgraph_establish_load_order(dgraph_t * dgraph) argument 525 dgraph_find_dependent(dgraph_t * dgraph, const char * name) argument 542 dgraph_add_dependent( dgraph_t * dgraph, const char * name, void * object, size_t object_length, bool object_is_kmem, kmod_args_t user_data, mach_msg_type_number_t user_data_length, const char * expected_kmod_name, const char * expected_kmod_vers, vm_address_t load_address, char is_kernel_component) argument 705 dgraph_add_dependency( dgraph_t * dgraph, dgraph_entry_t * current_dependent, const char * name, void * object, size_t object_length, bool object_is_kmem, kmod_args_t user_data, mach_msg_type_number_t user_data_length, const char * expected_kmod_name, const char * expected_kmod_vers, vm_address_t load_address, char is_kernel_component) argument [all...] |
H A D | dgraph.h | 135 dgraph_error_t dgraph_init(dgraph_t * dgraph); 142 * dependency_graph: a pointer to the dgraph to initialize. 154 dgraph_t * dgraph, 163 dgraph_t * dgraph, 166 dgraph_entry_t * dgraph_find_root(dgraph_t * dgraph); 168 int dgraph_establish_load_order(dgraph_t * dgraph); 171 void dgraph_print(dgraph_t * dgraph); 177 * These functions are useful for hand-building a dgraph. 179 dgraph_entry_t * dgraph_find_dependent(dgraph_t * dgraph, const char * name); 182 dgraph_t * dgraph, [all...] |
H A D | load.h | 8 #include "dgraph.h" 80 kload_error kload_load_dgraph(dgraph_t * dgraph 103 kload_error kload_map_dgraph(dgraph_t * dgraph 114 dgraph_t * dgraph, 117 dgraph_t * dgraph, 123 dgraph_t * dgraph
|
H A D | load.c | 76 #include "dgraph.h" 152 // used by dgraph.c so can't be static 178 static kload_error __kload_patch_dgraph(dgraph_t * dgraph 184 static kload_error __kload_load_modules(dgraph_t * dgraph 197 dgraph_t * dgraph, 204 static kload_error __kload_load_module(dgraph_t * dgraph, 222 dgraph_t * dgraph, 238 kload_error kload_load_dgraph(dgraph_t * dgraph 261 dgraph_log(dgraph); 284 * If we're doing symbols only, then all entries in the dgraph mus 631 __kload_make_opaque_basefile(dgraph_t * dgraph, struct mach_header * hdr) argument 1087 __kload_load_module(dgraph_t * dgraph, dgraph_entry_t * entry, __unused int is_root ) argument 1554 kload_map_dgraph( dgraph_t * dgraph, const char * kernel_file) argument 1671 kload_request_load_addresses( dgraph_t * dgraph, const char * kernel_file) argument 1732 kload_set_load_addresses_from_args( dgraph_t * dgraph, const char * kernel_file, char ** addresses) argument 1826 kload_set_load_addresses_from_kernel( dgraph_t * dgraph, const char * kernel_file, int do_load) argument 1904 kload_set_load_addresses_from_kernel( dgraph_t * dgraph) argument 2004 __kload_check_module_loaded( dgraph_t * dgraph, dgraph_entry_t * entry, kmod_info_t * kmod_list, int log_if_already) argument 2194 __kload_output_patches( dgraph_t * dgraph, const char * patch_file, const char * patch_dir, int ask_overwrite_symbols, int overwrite_symbols) argument [all...] |
H A D | kext.cpp | 53 #include "dgraph.h" 510 bool add_dependencies_for_kmod(const char * kmod_name, dgraph_t * dgraph) argument 557 dgraph_entry = dgraph_add_dependent(dgraph, kmod_name, 657 dgraph_entry = dgraph_find_dependent(dgraph, dependent_name); 686 dgraph_dependency = dgraph_add_dependency(dgraph, dgraph_entry, 756 dgraph_t dgraph; local 772 if (dgraph_init(&dgraph) != dgraph_valid) { 780 if (!add_dependencies_for_kmod(kmod_name, &dgraph)) { 787 dgraph.root = dgraph_find_root(&dgraph); [all...] |
/macosx-10.5.8/xnu-1228.15.4/libsa/conf/ |
H A D | Makefile.i386 | 17 dgraph.o \
|