Lines Matching refs:list
11 #include <linux/list.h>
20 LRU_REMOVED, /* item removed from list */
30 struct list_head list;
44 /* global list, used for the root cgroup in cgroup aware lrus */
52 struct list_head list;
75 * list_lru_add: add an element to the lru list's tail
79 * If the element is already part of a list, this function returns doing
81 * not the element already belongs in the list and is allowed to lazy update
82 * it. Note however that this is valid for *a* list, not *this* list. If
84 * one type of list, it is up to the caller to fully remove the item from
85 * the previous list (with list_lru_del() for instance) before moving it
88 * Return value: true if the list was updated, false otherwise
93 * list_lru_del: delete an element to the lru list
97 * This function works analogously as list_lru_add in terms of list
99 * a list are also valid for list_lru_del.
101 * Return value: true if the list was updated, false otherwise
112 * guarantee that the list is not updated while the count is being computed.
136 void list_lru_isolate(struct list_lru_one *list, struct list_head *item);
137 void list_lru_isolate_move(struct list_lru_one *list, struct list_head *item,
141 struct list_lru_one *list, spinlock_t *lock, void *cb_arg);
154 * @isolate callback for each of those items, along with the current list