kmsSlottable.c revision 2
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * CDDL HEADER START
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * The contents of this file are subject to the terms of the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Common Development and Distribution License (the "License").
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You may not use this file except in compliance with the License.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * See the License for the specific language governing permissions
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * and limitations under the License.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * When distributing Covered Code, include this CDDL HEADER in each
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * If applicable, add the following below this CDDL HEADER, with the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * fields enclosed by brackets "[]" replaced with your own identifying
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * information: Portions Copyright [yyyy] [name of copyright owner]
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * CDDL HEADER END
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Initialize the slotinfo record.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This function is called from C_Initialize() only. Since C_Initialize()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * holds the global mutex lock, there is no need to acquire another lock
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * in this routine to protect the slot table.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* Allocate space for the slot table */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* Initialize this slot's mutex */