Lines Matching refs:lru_node
165 void * lru_node = lv_ll_ins_head(&lru->ll); in alloc_new_node() local
166 if(lru_node == NULL) in alloc_new_node()
169 lv_memcpy(lru_node, &node, sizeof(void *)); in alloc_new_node()
170 lv_memcpy(get_lru_node(lru, node), &lru_node, sizeof(void *)); in alloc_new_node()
288 void * lru_node = *get_lru_node(lru, node); in get_cb() local
290 lv_ll_move_before(&lru->ll, lru_node, head); in get_cb()
342 void * lru_node = *get_lru_node(lru, node); in remove_cb() local
344 lv_ll_remove(&lru->ll, lru_node); in remove_cb()
345 lv_free(lru_node); in remove_cb()
372 void * lru_node = *get_lru_node(lru, node); in drop_cb() local
377 lv_ll_remove(&lru->ll, lru_node); in drop_cb()
378 lv_free(lru_node); in drop_cb()