Lines Matching refs:items
92 … cache->items = (lv_lru_item_t **) lv_mem_alloc(sizeof(lv_lru_item_t *) * cache->hash_table_size); in lv_lru_create()
93 lv_memset_00(cache->items, sizeof(lv_lru_item_t *) * cache->hash_table_size); in lv_lru_create()
94 if(!cache->items) { in lv_lru_create()
109 if(cache->items) { in lv_lru_del()
111 item = cache->items[i]; in lv_lru_del()
121 lv_mem_free(cache->items); in lv_lru_del()
148 item = cache->items[hash_index]; in lv_lru_set()
176 cache->items[hash_index] = item; in lv_lru_set()
196 lv_lru_item_t * item = cache->items[hash_index]; in lv_lru_get()
220 item = cache->items[hash_index]; in lv_lru_remove()
242 item = cache->items[i]; in lv_lru_remove_lru_item()
317 cache->items[hash_index] = (lv_lru_item_t *) item->next; in lv_lru_remove_item()