Home
last modified time | relevance | path

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

/mm/
Dslob.c108 static inline int slob_page_free(struct page *sp) in slob_page_free() argument
110 return PageSlobFree(sp); in slob_page_free()
113 static void set_slob_page_free(struct page *sp, struct list_head *list) in set_slob_page_free() argument
115 list_add(&sp->lru, list); in set_slob_page_free()
116 __SetPageSlobFree(sp); in set_slob_page_free()
119 static inline void clear_slob_page_free(struct page *sp) in clear_slob_page_free() argument
121 list_del(&sp->lru); in clear_slob_page_free()
122 __ClearPageSlobFree(sp); in clear_slob_page_free()
218 static void *slob_page_alloc(struct page *sp, size_t size, int align) in slob_page_alloc() argument
223 for (prev = NULL, cur = sp->freelist; ; prev = cur, cur = slob_next(cur)) { in slob_page_alloc()
[all …]
Dmempolicy.c2210 sp_lookup(struct shared_policy *sp, unsigned long start, unsigned long end) in sp_lookup() argument
2212 struct rb_node *n = sp->root.rb_node; in sp_lookup()
2243 static void sp_insert(struct shared_policy *sp, struct sp_node *new) in sp_insert() argument
2245 struct rb_node **p = &sp->root.rb_node; in sp_insert()
2260 rb_insert_color(&new->nd, &sp->root); in sp_insert()
2267 mpol_shared_policy_lookup(struct shared_policy *sp, unsigned long idx) in mpol_shared_policy_lookup() argument
2272 if (!sp->root.rb_node) in mpol_shared_policy_lookup()
2274 read_lock(&sp->lock); in mpol_shared_policy_lookup()
2275 sn = sp_lookup(sp, idx, idx+1); in mpol_shared_policy_lookup()
2280 read_unlock(&sp->lock); in mpol_shared_policy_lookup()
[all …]
Dpage_alloc.c505 unsigned long sp, start_pfn; in page_outside_zone_boundaries() local
510 sp = zone->spanned_pages; in page_outside_zone_boundaries()
518 start_pfn, start_pfn + sp); in page_outside_zone_boundaries()
/mm/kasan/
Dkasan.c77 static void __kasan_unpoison_stack(struct task_struct *task, const void *sp) in __kasan_unpoison_stack() argument
80 size_t size = sp - base; in __kasan_unpoison_stack()
111 const void *sp = __builtin_frame_address(0); in kasan_unpoison_stack_above_sp_to() local
112 size_t size = watermark - sp; in kasan_unpoison_stack_above_sp_to()
114 if (WARN_ON(sp > watermark)) in kasan_unpoison_stack_above_sp_to()
116 kasan_unpoison_shadow(sp, size); in kasan_unpoison_stack_above_sp_to()