Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/
H A Dflock_impl.h477 extern struct proc_graph pgraph;
483 #define PROC_ARRIVE(pvertex) ((pvertex)->atime = pgraph.mark)
484 #define PROC_DEPART(pvertex) ((pvertex)->dtime = pgraph.mark)
485 #define PROC_ARRIVED(pvertex) ((pvertex)->atime == pgraph.mark)
486 #define PROC_DEPARTED(pvertex) ((pvertex)->dtime == pgraph.mark)
/illumos-gate/usr/src/uts/common/os/
H A Dflock.c90 proc_graph_t pgraph; variable
3266 pv = pgraph.proc[lock->pvertex]; in flk_get_proc_vertex()
3271 for (i = 0; i < pgraph.gcount; i++) { in flk_get_proc_vertex()
3272 pv = pgraph.proc[i]; in flk_get_proc_vertex()
3282 if (pgraph.free != 0) { in flk_get_proc_vertex()
3283 for (i = 0; i < pgraph.gcount; i++) { in flk_get_proc_vertex()
3284 if (pgraph.proc[i] == NULL) { in flk_get_proc_vertex()
3285 pgraph.proc[i] = pv; in flk_get_proc_vertex()
3287 pgraph.free--; in flk_get_proc_vertex()
3292 palloc = kmem_zalloc((pgraph.gcount + PROC_CHUNK) * in flk_get_proc_vertex()
[all …]