Lines Matching defs:dgraph
53 #include "dgraph.h"
510 bool add_dependencies_for_kmod(const char * kmod_name, dgraph_t * dgraph)
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;
772 if (dgraph_init(&dgraph) != dgraph_valid) {
780 if (!add_dependencies_for_kmod(kmod_name, &dgraph)) {
787 dgraph.root = dgraph_find_root(&dgraph);
789 if (!dgraph.root) {
798 if (dgraph.root->is_kernel_component) {
803 dgraph_establish_load_order(&dgraph);
805 load_result = kload_load_dgraph(&dgraph);
818 dgraph_free(&dgraph, 0 /* don't free dgraph itself */);