22 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_LIB 59 if (
scan->ll_next->ll_prev !=
scan ||
62 scan->ll_prev->ll_next,
scan->ll_prev,
192 #undef M0_TRACE_SUBSYSTEM M0_INTERNAL void m0_list_link_fini(struct m0_list_link *link)
M0_INTERNAL bool m0_list_invariant(const struct m0_list *head)
M0_INTERNAL void m0_list_add(struct m0_list *head, struct m0_list_link *new)
static struct m0_list list
M0_INTERNAL void m0_list_add_before(struct m0_list_link *anchor, struct m0_list_link *new)
static void __m0_list_add(struct m0_list_link *prev, struct m0_list_link *next, struct m0_list_link *new)
M0_INTERNAL void m0_list_init(struct m0_list *head)
#define M0_LOG(level,...)
M0_INTERNAL void m0_list_fini(struct m0_list *head)
M0_INTERNAL void m0_list_del(struct m0_list_link *old)
struct m0_list_link * ll_prev
static int head(struct m0_sm *mach)
#define M0_ASSERT_EX(cond)
M0_INTERNAL size_t m0_list_length(const struct m0_list *list)
struct m0_list_link * l_head
M0_INTERNAL bool m0_list_contains(const struct m0_list *list, const struct m0_list_link *link)
static void __m0_list_del(struct m0_list_link *old)
M0_INTERNAL bool m0_list_is_empty(const struct m0_list *head)
M0_INTERNAL bool m0_list_link_is_in(const struct m0_list_link *link)
struct m0_list_link * ll_next
M0_INTERNAL bool m0_list_link_invariant(const struct m0_list_link *link)
M0_INTERNAL void m0_list_add_after(struct m0_list_link *anchor, struct m0_list_link *new)
M0_INTERNAL void m0_list_move(struct m0_list *head, struct m0_list_link *old)
M0_INTERNAL void m0_list_move_tail(struct m0_list *head, struct m0_list_link *old)
M0_INTERNAL bool m0_list_link_is_last(const struct m0_list_link *link, const struct m0_list *head)
M0_INTERNAL void m0_list_link_init(struct m0_list_link *link)
M0_INTERNAL void m0_list_add_tail(struct m0_list *head, struct m0_list_link *new)
static int scan(struct scanner *s)