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 | 59 static bool single_bit_flip(unsigned char a, unsigned char b) in single_bit_flip() argument 61 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 | 2247 bool __mpol_equal(struct mempolicy *a, struct mempolicy *b) in __mpol_equal() argument 2249 if (!a || !b) in __mpol_equal() 2251 if (a->mode != b->mode) in __mpol_equal() 2253 if (a->flags != b->flags) in __mpol_equal() 2256 if (!nodes_equal(a->w.user_nodemask, b->w.user_nodemask)) in __mpol_equal() 2263 return !!nodes_equal(a->v.nodes, b->v.nodes); in __mpol_equal() 2268 return a->v.preferred_node == b->v.preferred_node; in __mpol_equal()
|
D | mmap.c | 1252 static int anon_vma_compatible(struct vm_area_struct *a, struct vm_area_struct *b) in anon_vma_compatible() argument 1254 return a->vm_end == b->vm_start && in anon_vma_compatible() 1255 mpol_equal(vma_policy(a), vma_policy(b)) && in anon_vma_compatible() 1256 a->vm_file == b->vm_file && in anon_vma_compatible() 1257 !((a->vm_flags ^ b->vm_flags) & ~(VM_READ|VM_WRITE|VM_EXEC|VM_SOFTDIRTY)) && in anon_vma_compatible() 1258 b->vm_pgoff == a->vm_pgoff + ((b->vm_start - a->vm_start) >> PAGE_SHIFT); in anon_vma_compatible() 1283 … *reusable_anon_vma(struct vm_area_struct *old, struct vm_area_struct *a, struct vm_area_struct *b) in reusable_anon_vma() argument 1285 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 | 2421 static void swap_free_obj(struct page *page, unsigned int a, unsigned int b) in swap_free_obj() argument 2424 ((freelist_idx_t *)page->freelist)[b]); in swap_free_obj() 3034 #define cache_alloc_debugcheck_after(a,b,objp,d) (objp) argument
|
D | percpu.c | 588 static inline bool pcpu_region_overlap(int a, int b, int x, int y) in pcpu_region_overlap() argument 590 return (a < y) && (x < b); in pcpu_region_overlap()
|
D | memcontrol.c | 4018 static int compare_thresholds(const void *a, const void *b) in compare_thresholds() argument 4021 const struct mem_cgroup_threshold *_b = b; in compare_thresholds()
|