Lines Matching full:item

20 	LRU_REMOVED,		/* item removed from list */
21 LRU_REMOVED_RETRY, /* item removed, but lock has been
23 LRU_ROTATE, /* item referenced, give another pass */
24 LRU_SKIP, /* item cannot be locked, skip */
25 LRU_RETRY, /* item not freeable. May drop the lock
77 * @item: the item to be added.
78 * @nid: the node id of the sublist to add the item to.
79 * @memcg: the cgroup of the sublist to add the item to.
86 * one type of list, it is up to the caller to fully remove the item from
92 bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid,
98 * @item: the item to be added.
101 * memcg of the sublist is determined by @item list_head. This assumption is
106 bool list_lru_add_obj(struct list_lru *lru, struct list_head *item);
111 * @item: the item to be deleted.
112 * @nid: the node id of the sublist to delete the item from.
113 * @memcg: the cgroup of the sublist to delete the item from.
121 bool list_lru_del(struct list_lru *lru, struct list_head *item, int nid,
127 * @item: the item to be deleted.
130 * memcg of the sublist is determined by @item list_head. This assumption is
135 bool list_lru_del_obj(struct list_lru *lru, struct list_head *item);
170 void list_lru_isolate(struct list_lru_one *list, struct list_head *item);
171 void list_lru_isolate_move(struct list_lru_one *list, struct list_head *item,
176 * @item: the item to put back.
177 * @nid: the node id of the sublist to put the item back to.
178 * @memcg: the cgroup of the sublist to put the item back to.
180 * Put back an isolated item into its original LRU. Note that unlike
187 void list_lru_putback(struct list_lru *lru, struct list_head *item, int nid,
190 typedef enum lru_status (*list_lru_walk_cb)(struct list_head *item,
199 * the item currently being scanned
225 * the item currently being scanned