Home
last modified time | relevance | path

Searched refs:stable_node (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/mm/
Dksm.c119 struct stable_node { struct
145 struct stable_node *head;
211 stable_node_cache = KSM_KMEM_CACHE(stable_node, 0); in ksm_slab_init()
254 static inline struct stable_node *alloc_stable_node(void) in alloc_stable_node()
259 static inline void free_stable_node(struct stable_node *stable_node) in free_stable_node() argument
261 kmem_cache_free(stable_node_cache, stable_node); in free_stable_node()
450 static void remove_node_from_stable_tree(struct stable_node *stable_node) in remove_node_from_stable_tree() argument
455 hlist_for_each_entry(rmap_item, hlist, &stable_node->hlist, hlist) { in remove_node_from_stable_tree()
465 rb_erase(&stable_node->node, &root_stable_tree); in remove_node_from_stable_tree()
466 free_stable_node(stable_node); in remove_node_from_stable_tree()
[all …]
/linux-3.4.99/include/linux/
Dksm.h16 struct stable_node;
53 static inline struct stable_node *page_stable_node(struct page *page) in page_stable_node()
59 struct stable_node *stable_node) in set_page_stable_node() argument
61 page->mapping = (void *)stable_node + in set_page_stable_node()