Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/sys/
H A Dflock_impl.h476 extern struct proc_graph pgraph;
482 #define PROC_ARRIVE(pvertex) ((pvertex)->atime = pgraph.mark)
483 #define PROC_DEPART(pvertex) ((pvertex)->dtime = pgraph.mark)
484 #define PROC_ARRIVED(pvertex) ((pvertex)->atime == pgraph.mark)
485 #define PROC_DEPARTED(pvertex) ((pvertex)->dtime == pgraph.mark)
/titanic_41/usr/src/uts/common/os/
H A Dflock.c89 proc_graph_t pgraph; variable
2961 pv = pgraph.proc[lock->pvertex]; in flk_get_proc_vertex()
2966 for (i = 0; i < pgraph.gcount; i++) { in flk_get_proc_vertex()
2967 pv = pgraph.proc[i]; in flk_get_proc_vertex()
2977 if (pgraph.free != 0) { in flk_get_proc_vertex()
2978 for (i = 0; i < pgraph.gcount; i++) { in flk_get_proc_vertex()
2979 if (pgraph.proc[i] == NULL) { in flk_get_proc_vertex()
2980 pgraph.proc[i] = pv; in flk_get_proc_vertex()
2982 pgraph.free--; in flk_get_proc_vertex()
2987 palloc = kmem_zalloc((pgraph.gcount + PROC_CHUNK) * in flk_get_proc_vertex()
[all …]