Lines Matching defs:file
123 * Check alignment for file vma and size for both file and anon vma by
170 /* Only regular file is valid in collapse path */
809 static unsigned long __thp_get_unmapped_area(struct file *filp,
854 unsigned long thp_get_unmapped_area(struct file *filp, unsigned long addr,
1956 * We also don't deposit and withdraw tables for file pages.
1984 * inserted a page table, if racing against shmem/file collapse.
2741 * Anon pages need migration entries to preserve them, but file
2757 /* If unmap_folio() uses try_to_migrate() on file, remove this check */
3074 /* No split if the file system does not support large folio */
3077 "Cannot split file folio to non-0 order");
3525 struct filename *file;
3526 struct file *candidate;
3533 file = getname_kernel(file_path);
3534 if (IS_ERR(file))
3537 candidate = file_open_name(file, O_RDONLY, 0);
3541 pr_debug("split file-backed THPs in file: %s, page offset: [0x%lx - 0x%lx]\n",
3577 pr_debug("%lu of %lu file-backed THP split\n", split, total);
3579 putname(file);
3585 static ssize_t split_huge_pages_write(struct file *file, const char __user *buf,