Home
last modified time | relevance | path

Searched refs:a (Results 1 – 12 of 12) sorted by relevance

/mm/
DKconfig109 # Architecture platforms which require a two level mem_section in SPARSEMEM
125 SPARSEMEM_VMEMMAP uses a virtually mapped memmap to optimise
216 used within a guest, thus imposing performance penalties associated
235 disable this option unless there really is a strong reason for
251 pages as migration can relocate pages to satisfy a huge page
296 the many instances by a single page with that content, so
300 until a program has madvised that an area is MADV_MERGEABLE, and
309 from userspace allocation. Keeping a user from writing to low pages
313 a value of 65536 is reasonable and should cause no problems.
333 with MCA recovery. This allows a system to continue running
[all …]
Dfrontswap.c115 DECLARE_BITMAP(a, MAX_SWAPFILES); in frontswap_register_ops()
120 bitmap_zero(a, MAX_SWAPFILES); in frontswap_register_ops()
126 set_bit(si->type, a); in frontswap_register_ops()
131 for_each_set_bit(i, a, MAX_SWAPFILES) 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()
DKconfig.debug18 Depending on runtime enablement, this results in a small or large
32 incorrect warnings of memory corruption after a resume because free
35 By default this option will have a small overhead, e.g. by not
56 This keeps track of what call chain is the owner of a page, may
60 a fair amount of memory if enabled. See tools/vm/page_owner_sort.c
72 have a potential performance impact if enabled with the
108 This is a feature to add tracepoint for tracking down page reference
119 This option enables a testcase for the setting rodata read-only.
Dnommu.c1363 struct mmap_arg_struct a; in SYSCALL_DEFINE1() local
1365 if (copy_from_user(&a, arg, sizeof(a))) in SYSCALL_DEFINE1()
1367 if (offset_in_page(a.offset)) in SYSCALL_DEFINE1()
1370 return ksys_mmap_pgoff(a.addr, a.len, a.prot, a.flags, a.fd, in SYSCALL_DEFINE1()
1371 a.offset >> PAGE_SHIFT); in SYSCALL_DEFINE1()
Dmmap.c1252 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 static struct anon_vma *reusable_anon_vma(struct vm_area_struct *old, struct vm_area_struct *a, str… in reusable_anon_vma() argument
1285 if (anon_vma_compatible(a, b)) { in reusable_anon_vma()
1658 struct mmap_arg_struct a; in SYSCALL_DEFINE1() local
1660 if (copy_from_user(&a, arg, sizeof(a))) in SYSCALL_DEFINE1()
[all …]
Dpage_poison.c59 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()
Dpercpu-stats.c25 static int cmpint(const void *a, const void *b) in cmpint() argument
27 return *(int *)a - *(int *)b; in cmpint()
Dmempolicy.c2247 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()
2255 if (mpol_store_user_nodemask(a)) in __mpol_equal()
2256 if (!nodes_equal(a->w.user_nodemask, b->w.user_nodemask)) in __mpol_equal()
2259 switch (a->mode) { in __mpol_equal()
2263 return !!nodes_equal(a->v.nodes, b->v.nodes); in __mpol_equal()
2266 if (a->flags & MPOL_F_LOCAL) in __mpol_equal()
2268 return a->v.preferred_node == b->v.preferred_node; in __mpol_equal()
Dzsmalloc.c129 #define MAX(a, b) ((a) >= (b) ? (a) : (b)) argument
Dslab.c2421 static void swap_free_obj(struct page *page, unsigned int a, unsigned int b) in swap_free_obj() argument
2423 swap(((freelist_idx_t *)page->freelist)[a], in swap_free_obj()
3034 #define cache_alloc_debugcheck_after(a,b,objp,d) (objp) argument
Dpercpu.c588 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()
Dmemcontrol.c4018 static int compare_thresholds(const void *a, const void *b) in compare_thresholds() argument
4020 const struct mem_cgroup_threshold *_a = a; in compare_thresholds()