2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved. 2N/A * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * PURPOSE: Memory management 2N/A * Description: Interfaces in this file are completely described in 2N/A * the DAPL 1.1 API, Chapter 6, section 6 2N/A * Function Prototypes 2N/A * Function Definitions 2N/A /* if the LMR context is already in the hash table */ 2N/A * The value returned by dapls_hash_insert(.) is not 2N/A * returned to the consumer because the spec. requires 2N/A * that dat_lmr_create(.) return only certain values. 2N/A "dapl_lmr_create_lmr (%p, %p, %p, %x, %p, %p, %p, %p)\n",
2N/A /* if the LMR context is already in the hash table */ 2N/A * The value returned by dapls_hash_insert(.) is not 2N/A * returned to the consumer because the spec. requires 2N/A * that dat_lmr_create(.) return only certain values. 2N/A * DAPL Requirements Version xxx, 6.6.3.1 2N/A * Register a memory region with an Interface Adaptor. 2N/A * region_description 2N/A * registered_address 2N/A * DAT_INSUFFICIENT_RESOURCES 2N/A * DAT_INVALID_PARAMETER 2N/A * DAT_MODEL_NOT_SUPPORTED 2N/A /* Always ignore this bit as it is passed in */ 2N/A * If at open time we determined that RO should not be used,