2 .\" Copyright (c) 2004-2006 Storage Networking Industry Association. All Rights Reserved.
3 .\" Portions Copyright (c) 2006, 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 MP_GETMULTIPATHLUS 3MPAPI "Feb 15, 2006"
9 MP_GetMultipathLus \- return a list of multipath logical units
13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lMPAPI\fR [ \fIlibrary\fR\&.\|.\|. ]
16 \fBMP_STATUS\fR \fBMP_GetMultipathLus\fR(\fBMP_OID\fR \fIoid\fR, \fBMP_OID_LIST\fR \fI**ppList\fR);
26 The object ID of the plugin or device product object.
35 A pointer to a pointer to an object ID that has type \fBMP_OID_LIST\fR
36 structure. With a successful return, this contains a pointer to an
37 \fBMP_OID_LIST\fR that contains the object IDs of all the (multipath) logical
38 units associated with the specified plugin object ID.
44 The \fBMP_GetMultipathLus()\fR function returns a list of multipath logical
45 units associated to a plugin.
48 When the caller is finished using the list it must free the memory used by the
49 list by calling \fBMP_FreeOidList\fR.
54 \fB\fBMP_STATUS_INVALID_OBJECT_TYPE\fR\fR
58 The \fIoid\fR does not specify any valid object type. This is most likely to
59 happen if an uninitialized object ID is passed to the API.
65 \fB\fBMP_STATUS_INVALID_PARAMETER\fR\fR
69 The \fIppList\fR is null or specifies a memory area that cannot be written, or
70 when \fIoid\fR has a type subfield other than
71 \fBMP_OBJECT_TYPE_DEVICE_PRODUCT\fR or \fBMP_OBJECT_TYPE_PLUG IN\fR.
77 \fB\fBMP_STATUS_OBJECT_NOT_FOUND\fR\fR
81 The \fIoid\fR owner ID or object sequence number is invalid.
87 \fB\fBMP_STATUS_SUCCESS\fR\fR
91 The operation is successful.
97 \fB\fBMP_STATUS_FAILED\fR\fR
101 The plugin for the specified object ID is not found.
107 \fB\fBMP_STATUS_INSUFFICIENT_MEMORY\fR\fR
111 A memory allocation failure occurred.
117 See \fBattributes\fR(5) for descriptions of the following attributes:
125 ATTRIBUTE TYPE ATTRIBUTE VALUE
127 Interface Stability T{
128 Standard: ANSI INCITS 412 Multipath Management API
137 \fBlibMPAPI\fR(3LIB), \fBMP_GetMPLogicalUnitProperties\fR(3MPAPI),
141 \fIMultipath Management API Version 1.0\fR