2 .\" This manual page is derived from the DAT/uDAPL 1.2 specification.
3 .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH DAT_RMR_CREATE 3DAT "Jul 16, 2004"
9 dat_rmr_create \- create an RMR for the specified Protection Zone
13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldat\fR [ \fIlibrary\fR\&.\|.\|. ]
14 #include <\fBdat/udat.h\fR>
18 IN DAT_PZ_HANDLE pz_handle,
19 OUT DAT_RMR_HANDLE *rmr_handle
30 Handle for an instance of the Protection Zone.
36 \fB\fIrmr_handle\fR\fR
39 Handle for the created instance of an RMR.
45 The \fBdat_rmr_create()\fR function creates an RMR for the specified Protection
46 Zone. This operation is relatively heavy. The created RMR can be bound to a
47 memory region within the LMR through a lightweight \fBdat_rmr_bind\fR(3DAT)
48 operation that generates \fIrmr_context\fR.
51 If the operation fails (does not return \fBDAT_SUCCESS\fR), the return values
52 of \fIrmr_handle\fR are undefined and Consumers should not use them.
55 The \fIpz_handle\fR parameter provide Consumers a way to restrict access to an
56 RMR by authorized connection only.
61 \fB\fBDAT_SUCCESS\fR\fR
64 The operation was successful.
70 \fB\fBDAT_INSUFFICIENT_RESOURCES\fR\fR
73 The operation failed due to resource limitations.
79 \fB\fBDAT_INVALID_HANDLE\fR\fR
82 The \fIpz_handle\fR parameter is invalid.
88 See \fBattributes\fR(5) for descriptions of the following attributes:
96 ATTRIBUTE TYPE ATTRIBUTE VALUE
98 Interface Stability Standard: uDAPL, 1.1, 1.2
106 \fBdat_rmr_bind\fR(3DAT) , \fBlibdat\fR(3LIB), \fBattributes\fR(5)