analyze.h (7c478bd9) analyze.h (342440ec)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
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, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
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/*
23 * Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#ifndef _ANALYZE_H
28#define _ANALYZE_H
29
23 * Use is subject to license terms.
24 */
25
26#ifndef _ANALYZE_H
27#define _ANALYZE_H
28
30#pragma ident "%Z%%M% %I% %E% SMI"
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36/*
37 * This file contains definitions related to surface analysis.
38 */
39
40/*
41 * These are variables referenced by the analysis routines. They
42 * are declared in analyze.c.
43 */
44extern int scan_entire;
45extern diskaddr_t scan_lower, scan_upper;
46extern int scan_correct, scan_stop, scan_loop, scan_passes;
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33/*
34 * This file contains definitions related to surface analysis.
35 */
36
37/*
38 * These are variables referenced by the analysis routines. They
39 * are declared in analyze.c.
40 */
41extern int scan_entire;
42extern diskaddr_t scan_lower, scan_upper;
43extern int scan_correct, scan_stop, scan_loop, scan_passes;
47extern int scan_random, scan_size, scan_auto;
44extern int scan_random, scan_auto;
45extern uint_t scan_size;
48extern int scan_restore_defects, scan_restore_label;
49
50/*
51 * These variables hold summary info for the end of analysis.
52 * They are declared in analyze.c.
53 */
54extern offset_t scan_cur_block;
55extern int64_t scan_blocks_fixed;

--- 54 unchanged lines hidden ---
46extern int scan_restore_defects, scan_restore_label;
47
48/*
49 * These variables hold summary info for the end of analysis.
50 * They are declared in analyze.c.
51 */
52extern offset_t scan_cur_block;
53extern int64_t scan_blocks_fixed;

--- 54 unchanged lines hidden ---