xref: /illumos-gate/usr/src/cmd/mdb/common/modules/ufs/ufs_cmds.h (revision 2a8bcb4efb45d99ac41c94a75c396b362c414f7f)
1*9df12a23Ssjelinek /*
2*9df12a23Ssjelinek  * CDDL HEADER START
3*9df12a23Ssjelinek  *
4*9df12a23Ssjelinek  * The contents of this file are subject to the terms of the
5*9df12a23Ssjelinek  * Common Development and Distribution License (the "License").
6*9df12a23Ssjelinek  * You may not use this file except in compliance with the License.
7*9df12a23Ssjelinek  *
8*9df12a23Ssjelinek  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*9df12a23Ssjelinek  * or http://www.opensolaris.org/os/licensing.
10*9df12a23Ssjelinek  * See the License for the specific language governing permissions
11*9df12a23Ssjelinek  * and limitations under the License.
12*9df12a23Ssjelinek  *
13*9df12a23Ssjelinek  * When distributing Covered Code, include this CDDL HEADER in each
14*9df12a23Ssjelinek  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*9df12a23Ssjelinek  * If applicable, add the following below this CDDL HEADER, with the
16*9df12a23Ssjelinek  * fields enclosed by brackets "[]" replaced with your own identifying
17*9df12a23Ssjelinek  * information: Portions Copyright [yyyy] [name of copyright owner]
18*9df12a23Ssjelinek  *
19*9df12a23Ssjelinek  * CDDL HEADER END
20*9df12a23Ssjelinek  */
21*9df12a23Ssjelinek 
22*9df12a23Ssjelinek /*
23*9df12a23Ssjelinek  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24*9df12a23Ssjelinek  * Use is subject to license terms.
25*9df12a23Ssjelinek  */
26*9df12a23Ssjelinek 
27*9df12a23Ssjelinek #ifndef	_UFS_CMDS_H
28*9df12a23Ssjelinek #define	_UFS_CMDS_H
29*9df12a23Ssjelinek 
30*9df12a23Ssjelinek #ifdef __cplusplus
31*9df12a23Ssjelinek extern "C" {
32*9df12a23Ssjelinek #endif
33*9df12a23Ssjelinek 
34*9df12a23Ssjelinek extern int mapentry_dcmd(uintptr_t, uint_t, int, const mdb_arg_t *);
35*9df12a23Ssjelinek extern int mapstats_dcmd(uintptr_t, uint_t, int, const mdb_arg_t *);
36*9df12a23Ssjelinek 
37*9df12a23Ssjelinek extern int ufslogmap_walk_init(mdb_walk_state_t *);
38*9df12a23Ssjelinek extern int ufslogmap_walk_step(mdb_walk_state_t *);
39*9df12a23Ssjelinek 
40*9df12a23Ssjelinek #ifdef __cplusplus
41*9df12a23Ssjelinek }
42*9df12a23Ssjelinek #endif
43*9df12a23Ssjelinek 
44*9df12a23Ssjelinek #endif /* _UFS_CMDS_H */
45