Motr  M0
ext.c File Reference
#include "lib/ext.h"
#include "lib/arith.h"
#include "lib/misc.h"
Include dependency graph for ext.c:

Go to the source code of this file.

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)