Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix dbg_print() format for unsigned long long.
[tools/e2fsprogs.git]
/
lib
/
ext2fs
/
bmap64.h
diff --git
a/lib/ext2fs/bmap64.h
b/lib/ext2fs/bmap64.h
index
f44d379
..
d8c7a3c
100644
(file)
--- a/
lib/ext2fs/bmap64.h
+++ b/
lib/ext2fs/bmap64.h
@@
-13,7
+13,7
@@
struct ext2_bmap_statistics {
int type;
struct timeval created;
int type;
struct timeval created;
-#ifdef BMAP_STATS_OPS
+#ifdef
ENABLE_
BMAP_STATS_OPS
unsigned long copy_count;
unsigned long resize_count;
unsigned long mark_count;
unsigned long copy_count;
unsigned long resize_count;
unsigned long mark_count;
@@
-33,7
+33,7
@@
struct ext2_bmap_statistics {
unsigned long mark_seq;
unsigned long test_seq;
unsigned long mark_seq;
unsigned long test_seq;
-#endif /* BMAP_STATS_OPS */
+#endif /*
ENABLE_
BMAP_STATS_OPS */
};
};
@@
-48,7
+48,7
@@
struct ext2fs_struct_generic_bitmap {
char *description;
void *private;
errcode_t base_error_code;
char *description;
void *private;
errcode_t base_error_code;
-#ifdef BMAP_STATS
+#ifdef
ENABLE_
BMAP_STATS
struct ext2_bmap_statistics stats;
#endif
};
struct ext2_bmap_statistics stats;
#endif
};
@@
-94,6
+94,10
@@
struct ext2_bitmap_ops {
* May be NULL, in which case a generic function is used. */
errcode_t (*find_first_zero)(ext2fs_generic_bitmap bitmap,
__u64 start, __u64 end, __u64 *out);
* May be NULL, in which case a generic function is used. */
errcode_t (*find_first_zero)(ext2fs_generic_bitmap bitmap,
__u64 start, __u64 end, __u64 *out);
+ /* Find the first set bit between start and end, inclusive.
+ * May be NULL, in which case a generic function is used. */
+ errcode_t (*find_first_set)(ext2fs_generic_bitmap bitmap,
+ __u64 start, __u64 end, __u64 *out);
};
extern struct ext2_bitmap_ops ext2fs_blkmap64_bitarray;
};
extern struct ext2_bitmap_ops ext2fs_blkmap64_bitarray;