Home
last modified time | relevance | path

Searched refs:ll_p (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/src/misc/
Dlv_ll.c17 #define LL_PREV_P_OFFSET(ll_p) (ll_p->n_size) argument
18 #define LL_NEXT_P_OFFSET(ll_p) (ll_p->n_size + sizeof(lv_ll_node_t *)) argument
27 static void node_set_prev(lv_ll_t * ll_p, lv_ll_node_t * act, lv_ll_node_t * prev);
28 static void node_set_next(lv_ll_t * ll_p, lv_ll_node_t * act, lv_ll_node_t * next);
47 void _lv_ll_init(lv_ll_t * ll_p, uint32_t node_size) in _lv_ll_init() argument
49 ll_p->head = NULL; in _lv_ll_init()
50 ll_p->tail = NULL; in _lv_ll_init()
59 ll_p->n_size = node_size; in _lv_ll_init()
67 void * _lv_ll_ins_head(lv_ll_t * ll_p) in _lv_ll_ins_head() argument
71 n_new = lv_mem_alloc(ll_p->n_size + LL_NODE_META_SIZE); in _lv_ll_ins_head()
[all …]
Dlv_ll.h47 void _lv_ll_init(lv_ll_t * ll_p, uint32_t node_size);
54 void * _lv_ll_ins_head(lv_ll_t * ll_p);
62 void * _lv_ll_ins_prev(lv_ll_t * ll_p, void * n_act);
69 void * _lv_ll_ins_tail(lv_ll_t * ll_p);
77 void _lv_ll_remove(lv_ll_t * ll_p, void * node_p);
83 void _lv_ll_clear(lv_ll_t * ll_p);
100 void * _lv_ll_get_head(const lv_ll_t * ll_p);
107 void * _lv_ll_get_tail(const lv_ll_t * ll_p);
115 void * _lv_ll_get_next(const lv_ll_t * ll_p, const void * n_act);
123 void * _lv_ll_get_prev(const lv_ll_t * ll_p, const void * n_act);
[all …]