Lines Matching refs:file
931 * remapped to file after khugepaged reaquired the mmap_lock.
933 * hugepage_vma_check may return true for qualified file
1620 * PTE dirty? Shmem page is already dirty; file is read-only.
1715 * Other vmas can still have the same file mapped hugely, but
1768 * @file: file that collapse on
1789 struct file *file, pgoff_t start,
1792 struct address_space *mapping = file->f_mapping;
1801 bool is_shmem = shmem_file(file);
1876 page_cache_sync_readahead(mapping, &file->f_ra,
1877 file, index,
1930 * If file was truncated then extended, or hole-punched, before
2016 * file is opened writable.
2193 * file only. This undo is not needed unless failure is
2211 trace_mm_khugepaged_collapse_file(mm, hpage, index, is_shmem, addr, file, nr, result);
2216 struct file *file, pgoff_t start,
2220 struct address_space *mapping = file->f_mapping;
2306 result = collapse_file(mm, addr, file, start, cc);
2310 trace_mm_khugepaged_scan_file(mm, page, file, present, swap, result);
2315 struct file *file, pgoff_t start,
2396 struct file *file = get_file(vma->vm_file);
2403 khugepaged_scan.address, file, pgoff, cc);
2404 fput(file);
2743 struct file *file = get_file(vma->vm_file);
2748 result = hpage_collapse_scan_file(mm, addr, file, pgoff,
2750 fput(file);