Searched refs:tmq_list (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_timerq.c87 * For now we use a simple insertion sort for tmq_list. If we have
89 * then tmq_list can and should be replaced with a O(logN) heap.
91 for (up = fmd_list_next(&tmq->tmq_list); up; up = fmd_list_next(up)) {
97 fmd_list_insert_before(&tmq->tmq_list, up, tp);
99 fmd_list_insert_after(&tmq->tmq_list, up, tp);
101 if (up != NULL && fmd_list_next(&tmq->tmq_list) == tp)
103 else if (up == NULL && fmd_list_next(&tmq->tmq_list) == tp)
138 fmd_list_delete(&tmq->tmq_list, tp);
145 * If tmq_list is now empty, we must awaken the exec thread so
148 * tmq_list, bu
[all...]
H A Dfmd_timerq.h60 pthread_cond_t tmq_cv; /* condition variable for tmq_list, abort */
61 fmd_list_t tmq_list; /* list of active timers, sorted by tmr_hrt */ member in struct:fmd_timerq
H A Dfmd_mdb.c1380 wsp->walk_addr = (uintptr_t)tmq.tmq_list.l_next;

Completed in 72 milliseconds