FreeBSD/sys/kern/kern_lockf.c
/*
 * Ensure that the lock's owner has a corresponding vertex in the
 * owner graph.
 */
Ensure that the lock's owner has a corresponding vertex in the
owner graph.
Ensure that the lock ' s owner has a corresponding vertex in the owner graph .
static void
lf_alloc_vertex(struct lockf_entry *lock)
{
	struct owner_graph *g = &lf_owner_graph;
	if (!lock->lf_owner->lo_vertex)
		lock->lf_owner->lo_vertex =
			graph_alloc_vertex(g, lock->lf_owner);
}
static void lf_alloc_vertex ( struct lockf_entry * lock ) { struct owner_graph * g = & lf_owner_graph ; if ( ! lock -> lf_owner -> lo_vertex ) lock -> lf_owner -> lo_vertex = graph_alloc_vertex ( g , lock -> lf_owner ) ; }
Ensure that the lock's owner has a corresponding vertex in the
 owner graph.
Ensure that the lock ' s owner has a corresponding vertex in the owner graph .