Lines Matching defs:file
26 #include <linux/file.h>
266 struct file *file = vma->vm_file;
271 if (!file) {
277 if (shmem_mapping(file->f_mapping)) {
278 shmem_swapin_range(vma, start, end, file->f_mapping);
283 if (!file)
287 if (IS_DAX(file_inode(file))) {
295 * vma's reference to the file) can go away as soon as we drop
299 get_file(file);
303 vfs_fadvise(file, offset, end - start, POSIX_FADV_WILLNEED);
304 fput(file);
602 * If the VMA belongs to a private file mapping, there can be private
604 * owner nor write capable of the file. We allow private file mappings
950 * This is effectively punching a hole into the middle of a file.
958 struct file *f;
981 * vma's reference to the file) can go away as soon as we drop
1377 * or the specified address range includes file, Huge TLB,
1382 * -EBADF - map exists, but area maps something that isn't a file.