Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 3 of 3) sorted by relevance

/mm/
Dslob.c107 static inline int slob_page_free(struct page *sp) in slob_page_free() argument
109 return PageSlobFree(sp); in slob_page_free()
112 static void set_slob_page_free(struct page *sp, struct list_head *list) in set_slob_page_free() argument
114 list_add(&sp->lru, list); in set_slob_page_free()
115 __SetPageSlobFree(sp); in set_slob_page_free()
118 static inline void clear_slob_page_free(struct page *sp) in clear_slob_page_free() argument
120 list_del(&sp->lru); in clear_slob_page_free()
121 __ClearPageSlobFree(sp); in clear_slob_page_free()
217 static void *slob_page_alloc(struct page *sp, size_t size, int align) in slob_page_alloc() argument
222 for (prev = NULL, cur = sp->freelist; ; prev = cur, cur = slob_next(cur)) { in slob_page_alloc()
[all …]
Dmempolicy.c2170 sp_lookup(struct shared_policy *sp, unsigned long start, unsigned long end) in sp_lookup() argument
2172 struct rb_node *n = sp->root.rb_node; in sp_lookup()
2201 static void sp_insert(struct shared_policy *sp, struct sp_node *new) in sp_insert() argument
2203 struct rb_node **p = &sp->root.rb_node; in sp_insert()
2218 rb_insert_color(&new->nd, &sp->root); in sp_insert()
2225 mpol_shared_policy_lookup(struct shared_policy *sp, unsigned long idx) in mpol_shared_policy_lookup() argument
2230 if (!sp->root.rb_node) in mpol_shared_policy_lookup()
2232 spin_lock(&sp->lock); in mpol_shared_policy_lookup()
2233 sn = sp_lookup(sp, idx, idx+1); in mpol_shared_policy_lookup()
2238 spin_unlock(&sp->lock); in mpol_shared_policy_lookup()
[all …]
Dpage_alloc.c267 unsigned long sp, start_pfn; in page_outside_zone_boundaries() local
272 sp = zone->spanned_pages; in page_outside_zone_boundaries()
280 start_pfn, start_pfn + sp); in page_outside_zone_boundaries()