diff options
author | Matthew Ahrens <mahrens@delphix.com> | 2014-04-15 19:40:22 -0800 |
---|---|---|
committer | Christopher Siden <chris@delphix.com> | 2014-04-15 20:40:22 -0700 |
commit | bf16b11e8deb633dd6c4296d46e92399d1582df4 (patch) | |
tree | 480bab5d2a9eb6f4e0fcfa7fec413b48a5799f55 /usr/src/uts/common/sys/bitmap.h | |
parent | 7266c4fdd3d819c74f84745da19a4eb34bd75f2d (diff) | |
download | illumos-joyent-bf16b11e8deb633dd6c4296d46e92399d1582df4.tar.gz |
4374 dn_free_ranges should use range_tree_t
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Max Grossman <max.grossman@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/uts/common/sys/bitmap.h')
-rw-r--r-- | usr/src/uts/common/sys/bitmap.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/bitmap.h b/usr/src/uts/common/sys/bitmap.h index d0dd12b683..d2592820b6 100644 --- a/usr/src/uts/common/sys/bitmap.h +++ b/usr/src/uts/common/sys/bitmap.h @@ -24,6 +24,10 @@ * Use is subject to license terms. */ +/* + * Copyright (c) 2014 by Delphix. All rights reserved. + */ + /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ @@ -31,8 +35,6 @@ #ifndef _SYS_BITMAP_H #define _SYS_BITMAP_H -#pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif @@ -152,6 +154,7 @@ extern int bt_range(ulong_t *bitmap, size_t *pos1, size_t *pos2, * Low order bit is 0, high order bit is 31. */ extern int highbit(ulong_t); +extern int highbit64(uint64_t); extern int lowbit(ulong_t); extern int bt_getlowbit(ulong_t *bitmap, size_t start, size_t stop); extern void bt_copy(ulong_t *, ulong_t *, ulong_t); |