Home
last modified time | relevance | path

Searched refs:VM_LOCKED (Results 1 – 14 of 14) sorted by relevance

/linux/Documentation/mm/
H A Dunevictable-lru.rst49 * Those mapped into VM_LOCKED [mlock()ed] VMAs.
182 VM_LOCKED VMA, or found in a VMA being VM_LOCKED.
198 There may be situations where a folio is mapped into a VM_LOCKED VMA,
230 of VM_LOCKED VMAs that map the page (Rik van Riel had the same idea three years
237 attempting to isolate them, thus abandoning the count of VM_LOCKED VMAs. When
240 other VM_LOCKED VMAs still mapped the page.
254 mlocked pages - pages mapped into a VM_LOCKED VMA - are a class of unevictable
270 (4) in the fault path and when a VM_LOCKED stack segment is expanded; or
273 reclaim a page in a VM_LOCKED VMA by folio_referenced() or try_to_unmap().
279 (2) munmap()'d out of the last VM_LOCKED VMA that maps the page, including
[all …]
/linux/mm/
H A Dmsync.c83 (vma->vm_flags & VM_LOCKED)) { in SYSCALL_DEFINE3()
H A Drmap.c929 if (vma->vm_flags & VM_LOCKED) { in folio_referenced_one()
950 pra->vm_flags |= VM_LOCKED; in folio_referenced_one()
1019 pra->vm_flags |= vma->vm_flags & ~VM_LOCKED; in folio_referenced_one()
2037 (vma->vm_flags & VM_LOCKED)) { in try_to_unmap_one()
2348 if (vma->vm_flags & VM_LOCKED) in try_to_unmap_one()
2719 if (vma->vm_flags & VM_LOCKED) in try_to_migrate_one()
H A Dmadvise.c593 return !(vma->vm_flags & (VM_LOCKED|VM_PFNMAP|VM_HUGETLB)); in can_madv_lru_vma()
876 forbidden |= VM_LOCKED; in madvise_dontneed_free_valid_vma()
1013 if (vma->vm_flags & VM_LOCKED) in madvise_remove()
1057 disallowed |= VM_LOCKED; in is_valid_guard_vma()
H A Duserfaultfd.c1632 if ((src_vma->vm_flags & VM_LOCKED) != (dst_vma->vm_flags & VM_LOCKED)) in validate_move_areas()
H A Dmigrate.c312 if (folio_test_mlocked(folio) || (pvmw->vma->vm_flags & VM_LOCKED) || in try_to_map_unused_to_zeropage()
438 if (READ_ONCE(vma->vm_flags) & VM_LOCKED) in remove_migration_pte()
H A Dfilemap.c3467 if (!(vma->vm_flags & VM_LOCKED)) in filemap_fault_recheck_pte_none()
H A Dhuge_memory.c3513 if (vma->vm_flags & VM_LOCKED) in __discard_anon_folio_pmd_locked()
H A Dmemory.c4512 if (mem_cgroup_swap_full(folio) || (vma->vm_flags & VM_LOCKED) || in should_try_to_free_swap()
/linux/include/trace/events/
H A Dmmflags.h218 {VM_LOCKED, "locked" }, \
/linux/tools/testing/vma/include/
H A Ddup.h222 #define VM_LOCKED INIT_VM_FLAG(LOCKED) macro
369 #define VM_LOCKED_MASK (VM_LOCKED | VM_LOCKONFAULT)
1488 if (!(vm_flags & VM_LOCKED) || capable(CAP_IPC_LOCK)) in mlock_future_ok()
/linux/drivers/misc/sgi-gru/
H A Dgrufile.c104 vm_flags_set(vma, VM_IO | VM_PFNMAP | VM_LOCKED | in gru_file_mmap()
/linux/include/linux/
H A Dmm.h417 #define VM_LOCKED INIT_VM_FLAG(LOCKED) macro
585 #define VM_LOCKED_MASK (VM_LOCKED | VM_LOCKONFAULT)
/linux/kernel/events/
H A Dcore.c9747 if (vma->vm_flags & VM_LOCKED) in perf_event_mmap_event()