Searched refs:pgraph (Results 1 – 2 of 2) sorted by relevance
477 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)
90 proc_graph_t pgraph; variable3266 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 …]