xref: /illumos-gate/usr/src/lib/storage/libg_fc/common/mapfile-vers (revision 689b9301078f0c35c7f198fcee8032a0d30eff3a)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
23#
24
25#
26# MAPFILE HEADER START
27#
28# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29# Object versioning must comply with the rules detailed in
30#
31#	usr/src/lib/README.mapfiles
32#
33# You should not be making modifications here until you've read the most current
34# copy of that file. If you need help, contact a gatekeeper for guidance.
35#
36# MAPFILE HEADER END
37#
38
39#
40# Generic interface definition for usr/src/lib/storage/libg_fc.
41#
42
43$mapfile_version 2
44
45SYMBOL_VERSION SUNW_2.0 {
46	global:
47		g_device_in_map;
48		g_free_multipath;
49		g_free_wwn_list;
50		g_get_dev_map;
51		g_get_lilp_map;
52		g_get_host_params;
53		g_get_fca_port_topology;
54		g_get_inquiry;
55		g_get_serial_number;
56		g_get_limited_map;
57		g_get_multipath;
58		g_get_nexus_path;
59		g_get_port_path;
60		g_get_port_state;
61		g_get_wwn;
62		g_get_wwn_list;
63		g_rdls;
64		g_dev_start;
65		g_dev_stop;
66		g_free_portlist;
67		g_force_lip;
68		g_forcelip_all;
69		g_offline_drive;
70		g_online_drive;
71		g_get_errString;
72		g_get_physical_name;
73		g_get_physical_name_from_link;
74		g_scsi_log_sense_cmd;
75		g_scsi_mode_sense_cmd;
76		g_scsi_read_capacity_cmd;
77		g_scsi_read_capacity_1016_cmd;
78		g_scsi_readbuffer_cmd;
79		g_scsi_rec_diag_cmd;
80		g_scsi_reset;
81		g_scsi_send_diag_cmd;
82		g_scsi_tur;
83		g_scsi_writebuffer_cmd;
84		g_switch_to_alpa {
85		    ASSERT = {
86			TYPE = OBJECT;
87			SIZE = 126;
88		    };
89		};
90		g_sf_alpa_to_switch {
91		    ASSERT = {
92			TYPE = OBJECT;
93			SIZE = 240;
94		    };
95		};
96		g_i18n_catopen;
97		g_port_offline;
98		g_port_online;
99		g_loopback_mode;
100		g_stms_path_enable;
101		g_stms_path_disable_all;
102		g_stms_path_enable_all;
103		g_stms_path_disable;
104		g_stms_get_path_state;
105		g_get_dev_list;
106		g_wwn_in_dev_list;
107		g_get_inq_dtype;
108		g_dev_login;
109		g_dev_logout;
110		g_reserve;
111		g_release;
112		g_start;
113		g_stop;
114		g_string_to_wwn;
115		g_ll_to_str;
116		g_get_port_multipath;
117		g_destroy_data;
118		g_dump;
119		g_object_open;
120		g_zalloc;
121		g_alloc_string;
122		g_scsi_mode_select_cmd;
123		g_scsi_inquiry_cmd;
124		g_scsi_persistent_reserve_in_cmd;
125		g_get_path_type;
126$if _ELF32
127		l_catd {
128		    ASSERT = {
129			TYPE = OBJECT;
130			SIZE = 4;
131		    };
132		};
133$elif _ELF64
134		l_catd {
135		    ASSERT = {
136			TYPE = OBJECT;
137			SIZE = 8;
138		    };
139		};
140$else
141$error Unknown ELFCLASS
142$endif
143		g_get_lun_str;
144		g_get_lun_number;
145		g_get_pathlist;
146		g_get_pathcount;
147		g_failover;
148		g_sort_wwn_list;
149		g_devid_get;
150		g_devices_get_all;
151                g_dev_map_init;
152                g_dev_map_fini;
153                g_get_map_topology;
154                g_get_first_dev;
155                g_get_next_dev;
156                g_dev_prop_lookup_bytes;
157                g_dev_prop_lookup_ints;
158                g_dev_prop_lookup_strings;
159                g_get_first_dev_prop;
160                g_get_next_dev_prop;
161                g_get_dev_prop_name;
162                g_get_dev_prop_type;
163                g_get_dev_prop_bytes;
164                g_get_dev_prop_ints;
165                g_get_dev_prop_strings;
166		g_enclDiskChk;
167	local:
168		*;
169};
170