Lines Matching refs:mmap
26 - mmap(MAP_LOCKED) system call handling.
209 list at mlock() or mmap() time, vmscan will not encounter the pages until they
279 (2) in the mmap() system call handler when mmapping a region with the
465 mmap(MAP_LOCKED) SYSTEM CALL HANDLING
469 that a region of memory be mlocked supplying the MAP_LOCKED flag to the mmap()
470 call. Furthermore, any mmap() call or brk() call that expands the heap by a
477 mmap() handler and task address space expansion functions call
539 try_to_unmap_anon() attempts to acquire in read mode the mmap semaphore of
545 If the mmap semaphore cannot be acquired, we are not sure whether the page
559 mm_struct's mmap semaphore to mlock the page, returning SWAP_MLOCK if this
585 mmap semaphore of the associated mm_struct for read without blocking.
588 try_to_unmap_cluster() will retain the mmap semaphore for the scan;
591 Then, for each page in the cluster, if we're holding the mmap semaphore
602 Again, if try_to_unmap_cluster() cannot acquire the VMA's mmap sem, it
624 attempt to acquire the associated mmap semaphore, mlock the page via
628 If try_to_unmap() is unable to acquire a VM_LOCKED VMA's associated mmap
642 successfully acquire the VMA's mmap semaphore for read and mlock the page.
671 acquire the VMA's mmap semaphore to test the flags and set PageMlocked.