Home
last modified time | relevance | path

Searched refs:nqe (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/kernel/
A Dlockdep.c181 struct lockdep_bfs *nqe = NULL; in lockdep_graph_get_shortest_cycle() local
186 nqe = calloc(1, sizeof(*nqe)); in lockdep_graph_get_shortest_cycle()
187 if (!nqe) in lockdep_graph_get_shortest_cycle()
189 nqe->node = e->to; in lockdep_graph_get_shortest_cycle()
190 nqe->path = malloc(nlen * sizeof(uintptr_t)); in lockdep_graph_get_shortest_cycle()
191 if (!nqe->path) in lockdep_graph_get_shortest_cycle()
193 nqe->pathlen = nlen; in lockdep_graph_get_shortest_cycle()
194 memcpy(nqe->path, qe->path, in lockdep_graph_get_shortest_cycle()
196 nqe->path[nlen - 1] = e->to->lock_id; in lockdep_graph_get_shortest_cycle()
197 TAILQ_INSERT_TAIL(&queue, nqe, link); in lockdep_graph_get_shortest_cycle()

Completed in 2 milliseconds