Home
last modified time | relevance | path

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

/optee_os/core/kernel/
H A Dlockdep.c131 struct lockdep_bfs *qe = NULL; in lockdep_graph_get_shortest_cycle() local
137 qe = calloc(1, sizeof(*qe)); in lockdep_graph_get_shortest_cycle()
138 if (!qe) in lockdep_graph_get_shortest_cycle()
140 qe->node = node; in lockdep_graph_get_shortest_cycle()
141 qe->path = malloc(sizeof(uintptr_t)); in lockdep_graph_get_shortest_cycle()
142 if (!qe->path) in lockdep_graph_get_shortest_cycle()
144 qe->path[0] = node->lock_id; in lockdep_graph_get_shortest_cycle()
145 qe->pathlen = 1; in lockdep_graph_get_shortest_cycle()
146 TAILQ_INSERT_TAIL(&queue, qe, link); in lockdep_graph_get_shortest_cycle()
152 qe = TAILQ_FIRST(&queue); in lockdep_graph_get_shortest_cycle()
[all …]
/optee_os/lib/libutee/
H A Duser_ta_entry.c59 struct phdr_info *qe = NULL; in _init_iterate_phdr_cb() local
62 qe = malloc(sizeof(*qe)); in _init_iterate_phdr_cb()
63 if (!qe) { in _init_iterate_phdr_cb()
67 qe->info = *info; in _init_iterate_phdr_cb()
68 TAILQ_INSERT_TAIL(&__phdr_info_head, qe, link); in _init_iterate_phdr_cb()
111 struct phdr_info *qe = NULL; in __utee_call_elf_init_fn() local
117 TAILQ_FOREACH_REVERSE(qe, &__phdr_info_head, phdr_info_head, link) { in __utee_call_elf_init_fn()
120 _get_fn_array(&qe->info, DT_INIT_ARRAY, DT_INIT_ARRAYSZ, &fn, in __utee_call_elf_init_fn()
130 TAILQ_FOREACH_SAFE(qe, &__phdr_info_head, link, qe2) { in __utee_call_elf_init_fn()
131 TAILQ_REMOVE(&__phdr_info_head, qe, link); in __utee_call_elf_init_fn()
[all …]