Searched refs:b (Results 1 – 10 of 10) sorted by relevance
/mm/ |
D | slob.c | 210 static void slob_free_pages(void *b, int order) in slob_free_pages() argument 212 struct page *sp = virt_to_page(b); in slob_free_pages() 306 slob_t *b = NULL; in slob_alloc() local 333 b = slob_page_alloc(sp, size, align, align_offset, &page_removed_from_list); in slob_alloc() 334 if (!b) in slob_alloc() 357 if (!b) { in slob_alloc() 358 b = slob_new_pages(gfp & ~__GFP_ZERO, 0, node); in slob_alloc() 359 if (!b) in slob_alloc() 361 sp = virt_to_page(b); in slob_alloc() 366 sp->freelist = b; in slob_alloc() [all …]
|
D | frontswap.c | 116 DECLARE_BITMAP(b, MAX_SWAPFILES); in frontswap_register_ops() 121 bitmap_zero(b, MAX_SWAPFILES); in frontswap_register_ops() 148 set_bit(si->type, b); in frontswap_register_ops() 158 if (unlikely(!bitmap_equal(a, b, MAX_SWAPFILES))) { in frontswap_register_ops() 160 if (!test_bit(i, a) && test_bit(i, b)) in frontswap_register_ops() 162 else if (test_bit(i, a) && !test_bit(i, b)) in frontswap_register_ops()
|
D | page_poison.c | 41 static bool single_bit_flip(unsigned char a, unsigned char b) in single_bit_flip() argument 43 unsigned char error = a ^ b; in single_bit_flip()
|
D | percpu-stats.c | 25 static int cmpint(const void *a, const void *b) in cmpint() argument 27 return *(int *)a - *(int *)b; in cmpint()
|
D | mempolicy.c | 2336 bool __mpol_equal(struct mempolicy *a, struct mempolicy *b) in __mpol_equal() argument 2338 if (!a || !b) in __mpol_equal() 2340 if (a->mode != b->mode) in __mpol_equal() 2342 if (a->flags != b->flags) in __mpol_equal() 2345 if (!nodes_equal(a->w.user_nodemask, b->w.user_nodemask)) in __mpol_equal() 2351 return !!nodes_equal(a->v.nodes, b->v.nodes); in __mpol_equal() 2356 return a->v.preferred_node == b->v.preferred_node; in __mpol_equal()
|
D | mmap.c | 1326 static int anon_vma_compatible(struct vm_area_struct *a, struct vm_area_struct *b) in anon_vma_compatible() argument 1328 return a->vm_end == b->vm_start && in anon_vma_compatible() 1329 mpol_equal(vma_policy(a), vma_policy(b)) && in anon_vma_compatible() 1330 a->vm_file == b->vm_file && in anon_vma_compatible() 1331 !((a->vm_flags ^ b->vm_flags) & ~(VM_ACCESS_FLAGS | VM_SOFTDIRTY)) && in anon_vma_compatible() 1332 b->vm_pgoff == a->vm_pgoff + ((b->vm_start - a->vm_start) >> PAGE_SHIFT); in anon_vma_compatible() 1357 … *reusable_anon_vma(struct vm_area_struct *old, struct vm_area_struct *a, struct vm_area_struct *b) in reusable_anon_vma() argument 1359 if (anon_vma_compatible(a, b)) { in reusable_anon_vma()
|
D | zsmalloc.c | 129 #define MAX(a, b) ((a) >= (b) ? (a) : (b)) argument
|
D | slab.c | 2418 static void swap_free_obj(struct page *page, unsigned int a, unsigned int b) in swap_free_obj() argument 2421 ((freelist_idx_t *)page->freelist)[b]); in swap_free_obj() 3026 #define cache_alloc_debugcheck_after(a,b,objp,d) (objp) argument
|
D | percpu.c | 571 static inline bool pcpu_region_overlap(int a, int b, int x, int y) in pcpu_region_overlap() argument 573 return (a < y) && (x < b); in pcpu_region_overlap()
|
D | memcontrol.c | 4290 static int compare_thresholds(const void *a, const void *b) in compare_thresholds() argument 4293 const struct mem_cgroup_threshold *_b = b; in compare_thresholds()
|