Motr
M0
|
Data Structures | |
struct | m0_ext |
Macros | |
#define | M0_EXT(start, end) ((struct m0_ext){ .e_start = (start), .e_end = (end) }) |
#define | EXT_F "[%" PRIx64 ", %" PRIx64 ")" |
#define | EXT_P(x) (x)->e_start, (x)->e_end |
Enumerations | |
enum | m0_ext_format_version { M0_EXT_FORMAT_VERSION_1 = 1, M0_EXT_FORMAT_VERSION = M0_EXT_FORMAT_VERSION_1 } |
Functions | |
M0_INTERNAL void | m0_ext_init (struct m0_ext *ext) |
M0_INTERNAL m0_bcount_t | m0_ext_length (const struct m0_ext *ext) |
M0_INTERNAL bool | m0_ext_is_in (const struct m0_ext *ext, m0_bindex_t index) |
M0_INTERNAL bool | m0_ext_are_overlapping (const struct m0_ext *e0, const struct m0_ext *e1) |
M0_INTERNAL bool | m0_ext_is_partof (const struct m0_ext *super, const struct m0_ext *sub) |
M0_INTERNAL bool | m0_ext_equal (const struct m0_ext *a, const struct m0_ext *b) |
M0_INTERNAL bool | m0_ext_is_empty (const struct m0_ext *ext) |
M0_INTERNAL void | m0_ext_intersection (const struct m0_ext *e0, const struct m0_ext *e1, struct m0_ext *result) |
M0_INTERNAL bool | m0_ext_is_valid (const struct m0_ext *ext) |
struct m0_ext | M0_XCA_DOMAIN (be|rpc) |
M0_INTERNAL void | m0_ext_sub (const struct m0_ext *minuend, const struct m0_ext *subtrahend, struct m0_ext *difference) |
M0_INTERNAL void | m0_ext_add (const struct m0_ext *term0, const struct m0_ext *term1, struct m0_ext *sum) |
M0_INTERNAL m0_bindex_t | m0_ext_cap (const struct m0_ext *ext2, m0_bindex_t val) |
Variables | |
enum m0_ext_format_version | M0_XCA_DOMAIN |
M0_INTERNAL void m0_ext_add | ( | const struct m0_ext * | term0, |
const struct m0_ext * | term1, | ||
struct m0_ext * | sum | ||
) |
M0_INTERNAL m0_bindex_t m0_ext_cap | ( | const struct m0_ext * | ext2, |
m0_bindex_t | val | ||
) |
M0_INTERNAL void m0_ext_init | ( | struct m0_ext * | ext | ) |
M0_INTERNAL bool m0_ext_is_empty | ( | const struct m0_ext * | ext | ) |
M0_INTERNAL bool m0_ext_is_in | ( | const struct m0_ext * | ext, |
m0_bindex_t | index | ||
) |
M0_INTERNAL bool m0_ext_is_valid | ( | const struct m0_ext * | ext | ) |
M0_INTERNAL m0_bcount_t m0_ext_length | ( | const struct m0_ext * | ext | ) |
M0_INTERNAL void m0_ext_sub | ( | const struct m0_ext * | minuend, |
const struct m0_ext * | subtrahend, | ||
struct m0_ext * | difference | ||
) |
enum m0_ext_format_version M0_XCA_DOMAIN |