sys/vm/vm_vmspace.c
static
struct vmspace_entry *
vkernel_find_vmspace(struct vkernel_proc *vkp, void *id)
{
	struct vmspace_entry *ve;
	struct vmspace_entry key;

	key.id = id;
	ve = RB_FIND(vmspace_rb_tree, &vkp->root, &key);
	return (ve);
}
/*
 * Locate the ve for (id), return the ve or NULL.  If found this function
 * will bump ve->refs which prevents the ve from being immediately destroyed
 * (but it can still be removed).
 *
 * The caller must hold vkp->token.
 */
Locate the ve for (id), return the ve or NULL.  If found this function
will bump ve->refs which prevents the ve from being immediately destroyed
(but it can still be removed).

The caller must hold vkp->token.
Locate the ve for ( id ) return the ve or NULL . If found this function will bump ve - > refs which prevents the ve from being immediately destroyed ( but it can still be removed ) . The caller must hold vkp - > token .
static
struct vmspace_entry *
vkernel_find_vmspace(struct vkernel_proc *vkp, void *id)
{
	struct vmspace_entry *ve;
	struct vmspace_entry key;
	key.id = id;
	ve = RB_FIND(vmspace_rb_tree, &vkp->root, &key);
	return (ve);
}
static struct vmspace_entry * vkernel_find_vmspace ( struct vkernel_proc * vkp , void * id ) { struct vmspace_entry * ve ; struct vmspace_entry key ; key . id = id ; ve = RB_FIND ( vmspace_rb_tree , & vkp -> root , & key ) ; return ( ve ) ; }
Locate the ve for (id), return the ve or NULL.
Locate the ve for ( id ) return the ve or NULL .