Print this page
8115 parallel zfs mount
*** 18,37 ****
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _BITSET_H
#define _BITSET_H
#ifdef __cplusplus
extern "C" {
#endif
! #if (defined(_KERNEL) || defined(_KMEMUSER))
#include <sys/bitmap.h>
#include <sys/types.h>
typedef struct bitset {
ulong_t *bs_set;
--- 18,38 ----
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2017 RackTop Systems.
*/
#ifndef _BITSET_H
#define _BITSET_H
#ifdef __cplusplus
extern "C" {
#endif
! #if defined(_KERNEL) || defined(_FAKE_KERNEL) || defined(_KMEMUSER)
#include <sys/bitmap.h>
#include <sys/types.h>
typedef struct bitset {
ulong_t *bs_set;
*** 85,95 ****
*/
void bitset_zero(bitset_t *);
void bitset_copy(bitset_t *, bitset_t *);
int bitset_match(bitset_t *, bitset_t *);
! #endif /* !_KERNEL && !_KMEMUSER */
#ifdef __cplusplus
}
#endif
--- 86,96 ----
*/
void bitset_zero(bitset_t *);
void bitset_copy(bitset_t *, bitset_t *);
int bitset_match(bitset_t *, bitset_t *);
! #endif /* _KERNEL || _FAKE_KERNEL || _KMEMUSER */
#ifdef __cplusplus
}
#endif