/mm/ |
D | Kconfig | 19 and a correct option. 23 DISCONTIGMEM is a more mature, better tested system, 107 # Architecture platforms which require a two level mem_section in SPARSEMEM 127 SPARSEMEM_VMEMMAP uses a virtually mapped memmap to optimise 224 used within a guest, thus imposing performance penalties associated 243 disable this option unless there really is a strong reason for 259 pages as migration can relocate pages to satisfy a huge page 283 # a 32-bit address to OHCI. So we need to use a bounce pool instead. 312 the many instances by a single page with that content, so 316 until a program has madvised that an area is MADV_MERGEABLE, and [all …]
|
D | frontswap.c | 116 DECLARE_BITMAP(a, MAX_SWAPFILES); in frontswap_register_ops() 121 bitmap_zero(a, MAX_SWAPFILES); in frontswap_register_ops() 127 set_bit(si->type, a); in frontswap_register_ops() 132 for_each_set_bit(i, a, MAX_SWAPFILES) in frontswap_register_ops() 159 if (unlikely(!bitmap_equal(a, b, MAX_SWAPFILES))) { in frontswap_register_ops() 161 if (!test_bit(i, a) && test_bit(i, b)) in frontswap_register_ops() 163 else if (test_bit(i, a) && !test_bit(i, b)) in frontswap_register_ops()
|
D | Kconfig.debug | 18 Depending on runtime enablement, this results in a small or large 26 a resume because free pages are not saved to the suspend image. 28 By default this option will have a small overhead, e.g. by not 49 have a potential performance impact. 85 This is a feature to add tracepoint for tracking down page reference 96 This option enables a testcase for the setting rodata read-only.
|
D | mmap.c | 1209 static int anon_vma_compatible(struct vm_area_struct *a, struct vm_area_struct *b) in anon_vma_compatible() argument 1211 return a->vm_end == b->vm_start && in anon_vma_compatible() 1212 mpol_equal(vma_policy(a), vma_policy(b)) && in anon_vma_compatible() 1213 a->vm_file == b->vm_file && in anon_vma_compatible() 1214 !((a->vm_flags ^ b->vm_flags) & ~(VM_READ|VM_WRITE|VM_EXEC|VM_SOFTDIRTY)) && in anon_vma_compatible() 1215 b->vm_pgoff == a->vm_pgoff + ((b->vm_start - a->vm_start) >> PAGE_SHIFT); in anon_vma_compatible() 1240 static struct anon_vma *reusable_anon_vma(struct vm_area_struct *old, struct vm_area_struct *a, str… in reusable_anon_vma() argument 1242 if (anon_vma_compatible(a, b)) { in reusable_anon_vma() 1573 struct mmap_arg_struct a; in SYSCALL_DEFINE1() local 1575 if (copy_from_user(&a, arg, sizeof(a))) in SYSCALL_DEFINE1() [all …]
|
D | nommu.c | 1466 struct mmap_arg_struct a; in SYSCALL_DEFINE1() local 1468 if (copy_from_user(&a, arg, sizeof(a))) in SYSCALL_DEFINE1() 1470 if (offset_in_page(a.offset)) in SYSCALL_DEFINE1() 1473 return sys_mmap_pgoff(a.addr, a.len, a.prot, a.flags, a.fd, in SYSCALL_DEFINE1() 1474 a.offset >> PAGE_SHIFT); in SYSCALL_DEFINE1()
|
D | page_poison.c | 53 static bool single_bit_flip(unsigned char a, unsigned char b) in single_bit_flip() argument 55 unsigned char error = a ^ b; in single_bit_flip()
|
D | percpu-stats.c | 26 static int cmpint(const void *a, const void *b) in cmpint() argument 28 return *(int *)a - *(int *)b; in cmpint()
|
D | mempolicy.c | 2168 bool __mpol_equal(struct mempolicy *a, struct mempolicy *b) in __mpol_equal() argument 2170 if (!a || !b) in __mpol_equal() 2172 if (a->mode != b->mode) in __mpol_equal() 2174 if (a->flags != b->flags) in __mpol_equal() 2176 if (mpol_store_user_nodemask(a)) in __mpol_equal() 2177 if (!nodes_equal(a->w.user_nodemask, b->w.user_nodemask)) in __mpol_equal() 2180 switch (a->mode) { in __mpol_equal() 2184 return !!nodes_equal(a->v.nodes, b->v.nodes); in __mpol_equal() 2187 if (a->flags & MPOL_F_LOCAL) in __mpol_equal() 2189 return a->v.preferred_node == b->v.preferred_node; in __mpol_equal()
|
D | zsmalloc.c | 125 #define MAX(a, b) ((a) >= (b) ? (a) : (b)) argument
|
D | slab.c | 2491 static void swap_free_obj(struct page *page, unsigned int a, unsigned int b) in swap_free_obj() argument 2493 swap(((freelist_idx_t *)page->freelist)[a], in swap_free_obj() 3102 #define cache_alloc_debugcheck_after(a,b,objp,d) (objp) argument
|
D | memcontrol.c | 3386 static int compare_thresholds(const void *a, const void *b) in compare_thresholds() argument 3388 const struct mem_cgroup_threshold *_a = a; in compare_thresholds()
|