Motr
M0
|
Go to the source code of this file.
Data Structures | |
struct | m0_bitmap |
struct | m0_bitmap_onwire |
Macros | |
#define | __MOTR_LIB_BITMAP_H__ |
Functions | |
struct m0_bitmap_onwire | M0_XCA_DOMAIN (conf|rpc) |
M0_INTERNAL int | m0_bitmap_init (struct m0_bitmap *map, size_t nr) |
M0_INTERNAL void | m0_bitmap_fini (struct m0_bitmap *map) |
M0_INTERNAL bool | m0_bitmap_get (const struct m0_bitmap *map, size_t idx) |
M0_INTERNAL int | m0_bitmap_ffs (const struct m0_bitmap *map) |
M0_INTERNAL int | m0_bitmap_ffz (const struct m0_bitmap *map) |
M0_INTERNAL void | m0_bitmap_set (struct m0_bitmap *map, size_t idx, bool val) |
M0_INTERNAL void | m0_bitmap_reset (struct m0_bitmap *map) |
M0_INTERNAL void | m0_bitmap_copy (struct m0_bitmap *dst, const struct m0_bitmap *src) |
M0_INTERNAL size_t | m0_bitmap_set_nr (const struct m0_bitmap *map) |
M0_INTERNAL int | m0_bitmap_onwire_init (struct m0_bitmap_onwire *ow_map, size_t nr) |
M0_INTERNAL void | m0_bitmap_onwire_fini (struct m0_bitmap_onwire *ow_map) |
M0_INTERNAL void | m0_bitmap_store (const struct m0_bitmap *im_map, struct m0_bitmap_onwire *ow_map) |
M0_INTERNAL void | m0_bitmap_load (const struct m0_bitmap_onwire *ow_map, struct m0_bitmap *im_map) |
M0_BASSERT (8==sizeof((struct m0_bitmap *) 0) ->b_words[0]) | |
Variables | |
size_t | bo_size |
uint64_t * | bo_words |