Motr
M0
|
#include "lib/tlist.h"
Go to the source code of this file.
Functions | |
static struct m0_list_link * | __link (const struct m0_tl_descr *d, const void *obj) |
static uint64_t | magic (const struct m0_tl_descr *d, const void *obj) |
static void * | amb (const struct m0_tl_descr *d, struct m0_list_link *link) |
M0_INTERNAL void | m0_tlist_init (const struct m0_tl_descr *d, struct m0_tl *list) |
M0_INTERNAL void | m0_tlist_fini (const struct m0_tl_descr *d, struct m0_tl *list) |
M0_INTERNAL void | m0_tlink_init (const struct m0_tl_descr *d, void *obj) |
M0_INTERNAL void | m0_tlink_init_at (const struct m0_tl_descr *d, void *obj, struct m0_tl *list) |
M0_INTERNAL void | m0_tlink_init_at_tail (const struct m0_tl_descr *d, void *obj, struct m0_tl *list) |
M0_INTERNAL void | m0_tlink_fini (const struct m0_tl_descr *d, void *obj) |
M0_INTERNAL void | m0_tlink_del_fini (const struct m0_tl_descr *d, void *obj) |
M0_INTERNAL bool | m0_tlist_is_empty (const struct m0_tl_descr *d, const struct m0_tl *list) |
M0_INTERNAL bool | m0_tlink_is_in (const struct m0_tl_descr *d, const void *obj) |
M0_INTERNAL bool | m0_tlist_contains (const struct m0_tl_descr *d, const struct m0_tl *list, const void *obj) |
M0_INTERNAL size_t | m0_tlist_length (const struct m0_tl_descr *d, const struct m0_tl *list) |
M0_INTERNAL void | m0_tlist_add (const struct m0_tl_descr *d, struct m0_tl *list, void *obj) |
M0_INTERNAL void | m0_tlist_add_tail (const struct m0_tl_descr *d, struct m0_tl *list, void *obj) |
M0_INTERNAL void | m0_tlist_add_after (const struct m0_tl_descr *d, void *obj, void *new) |
M0_INTERNAL void | m0_tlist_add_before (const struct m0_tl_descr *d, void *obj, void *new) |
M0_INTERNAL void | m0_tlist_del (const struct m0_tl_descr *d, void *obj) |
M0_INTERNAL void | m0_tlist_remove (const struct m0_tl_descr *d, void *obj) |
M0_INTERNAL void | m0_tlist_move (const struct m0_tl_descr *d, struct m0_tl *list, void *obj) |
M0_INTERNAL void | m0_tlist_move_tail (const struct m0_tl_descr *d, struct m0_tl *list, void *obj) |
void * | m0_tlist_head (const struct m0_tl_descr *d, const struct m0_tl *list) |
M0_INTERNAL void * | m0_tlist_pop (const struct m0_tl_descr *d, const struct m0_tl *list) |
M0_INTERNAL void * | m0_tlist_tail (const struct m0_tl_descr *d, const struct m0_tl *list) |
void * | m0_tlist_next (const struct m0_tl_descr *d, const struct m0_tl *list, const void *obj) |
M0_INTERNAL void * | m0_tlist_prev (const struct m0_tl_descr *d, const struct m0_tl *list, const void *obj) |
M0_INTERNAL bool | m0_tlist_invariant (const struct m0_tl_descr *d, const struct m0_tl *list) |
M0_INTERNAL bool | m0_tlist_invariant_ext (const struct m0_tl_descr *d, const struct m0_tl *list, bool(*check)(const void *, void *), void *datum) |
M0_INTERNAL bool | m0_tlink_invariant (const struct m0_tl_descr *d, const void *obj) |