Lines Matching refs:list
142 list_add(&e->list, &lc->free);
220 list_add(&e->list, &lc->free);
293 * used", i.e. on the "to_be_changed" list, pending transaction commit.
306 * @e must be unused (refcnt == 0). Moves @e from "lru" to "free" list,
317 list_move(&e->list, &lc->free);
333 e = list_entry(n, struct lc_element, list);
340 list_move(&e->list, &lc->to_be_changed);
348 return 1; /* something on the free list */
379 * list, not yet committed. Don't pull it in twice,
394 list_move(&e->list, &lc->in_use); /* Not evictable... */
469 * The returned element pointer is moved to the "to_be_changed" list,
494 * pointer to an element already on the "to_be_changed" list.
539 list_for_each_entry_safe(e, tmp, &lc->to_be_changed, list) {
543 list_move(&e->list, &lc->in_use);
555 * If refcnt reaches zero, the element is moved to the lru list,
567 list_move(&e->list, &lc->lru);
626 list_move(&e->list, lh);