Go to the source code of this file.
◆ __MOTR_LIB_TYPES_H__
#define __MOTR_LIB_TYPES_H__ |
◆ M0_UINT128
◆ U128_P
◆ U128_P_SAFE
Value:((
x) !=
NULL ?
"" :
"(null) "), \
Definition at line 49 of file types.h.
◆ U128_P_SAFE_EX
#define U128_P_SAFE_EX |
( |
|
y, |
|
|
|
x |
|
) |
| |
Value:((y) !=
NULL ?
"" :
"(null) "), \
Definition at line 53 of file types.h.
◆ U128_S
◆ U128D_F
◆ U128I_F
◆ U128X_F
◆ U128X_F_SAFE
#define U128X_F_SAFE "%s%" PRIx64 ":%" PRIx64 |
◆ m0_bcount_t
count of bytes (in extent, IO operation, etc.)
Definition at line 77 of file types.h.
◆ m0_bindex_t
an index (offset) in a linear name-space (e.g., in a file, storage object, storage device, memory buffer) measured in bytes
Definition at line 80 of file types.h.
◆ anonymous enum
Enumerator |
---|
M0_BCOUNT_MAX | |
M0_BINDEX_MAX | |
M0_BSIGNED_MAX | |
Definition at line 82 of file types.h.
◆ m0_uint128_add()
res = a + b;
Definition at line 62 of file misc.c.
◆ m0_uint128_cmp()
◆ m0_uint128_eq()
◆ m0_uint128_init()
M0_INTERNAL void m0_uint128_init |
( |
struct m0_uint128 * |
u128, |
|
|
const char * |
magic |
|
) |
| |
◆ m0_uint128_mul64()
M0_INTERNAL void m0_uint128_mul64 |
( |
struct m0_uint128 * |
res, |
|
|
uint64_t |
a, |
|
|
uint64_t |
b |
|
) |
| |
res = a * b;
Definition at line 76 of file misc.c.
◆ m0_uint128_sscanf()
M0_INTERNAL int m0_uint128_sscanf |
( |
const char * |
s, |
|
|
struct m0_uint128 * |
u128 |
|
) |
| |
Scans uint128 in num:num format, where num can be in hex, octal or decimal format (depending on prefix).
Definition at line 51 of file misc.c.
◆ M0_XCA_DOMAIN()
◆ M0_XCA_DOMAIN
enum { ... } M0_XCA_DOMAIN |
◆ u_hi
◆ u_lo