Motr
M0
|
Go to the source code of this file.
Data Structures | |
struct | m0_cookie |
Macros | |
#define | __MOTR_LIB_COOKIE_H__ |
#define | m0_cookie_of(cookie, type, field) |
Functions | |
struct m0_cookie | M0_XCA_DOMAIN (be|rpc) |
M0_INTERNAL int | m0_cookie_global_init (void) |
M0_INTERNAL void | m0_cookie_global_fini (void) |
M0_INTERNAL void | m0_cookie_new (uint64_t *gen) |
M0_INTERNAL void | m0_cookie_init (struct m0_cookie *cookie, const uint64_t *obj) |
M0_INTERNAL int | m0_cookie_dereference (const struct m0_cookie *cookie, uint64_t **addr) |
M0_INTERNAL bool | m0_addr_is_sane (const uint64_t *addr) |
M0_INTERNAL bool | m0_addr_is_sane_and_aligned (const uint64_t *addr) |
M0_INTERNAL bool | m0_cookie_is_null (const struct m0_cookie *cookie) |
M0_INTERNAL bool | m0_cookie_is_eq (const struct m0_cookie *cookie1, const struct m0_cookie *cookie2) |
Variables | |
uint64_t | co_addr |
uint64_t | co_generation |
M0_EXTERN const struct m0_cookie | M0_COOKIE_NULL |