Lines Matching full:bitmap
3 * bitmap.h: Copyright (C) Peter T. Breuer (ptb@ot.uc3m.es) 2003
22 /* version 6 is only used for lockless bitmap */
25 /* use these for bitmap->flags and bitmap->sb->state bit-fields */
27 BITMAP_STALE = 1, /* the bitmap file is out of date or had -EIO */
35 /* the superblock at the front of the bitmap file -- little endian */
38 __le32 version; /* 4 the bitmap major for now, could change... */
40 __le64 events; /* 24 event counter for the bitmap (1)*/
43 __le32 state; /* 48 bitmap state information */
44 __le32 chunksize; /* 52 the bitmap chunk size in bytes */
48 * reserved for the bitmap. */
56 * When a bitmap is loaded, it is only accepted if this event counter is equal
62 * higher, it is accepted as conforming to the bitmap.
63 * (3)This is the number of sectors represented by the bitmap, and is the range that
131 /* the bitmap API */
139 /* bitmap_ops must be registered before creating bitmap. */ in md_bitmap_enabled()
143 if (!mddev->bitmap) in md_bitmap_enabled()
146 return mddev->bitmap_ops->enabled(mddev->bitmap, flush); in md_bitmap_enabled()
152 /* always resync if no bitmap */ in md_bitmap_start_sync()