Home
last modified time | relevance | path

Searched refs:vm_file (Results 1 – 25 of 36) sorted by relevance

12

/linux-2.4.37.9/mm/
Dmprotect.c101 !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in mprotect_fixup_all()
132 !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in mprotect_fixup_start()
148 if (n->vm_file) in mprotect_fixup_start()
149 get_file(n->vm_file); in mprotect_fixup_start()
178 if (n->vm_file) in mprotect_fixup_end()
179 get_file(n->vm_file); in mprotect_fixup_end()
215 if (vma->vm_file) in mprotect_fixup_middle()
216 atomic_add(2,&vma->vm_file->f_count); in mprotect_fixup_middle()
325 !prev->vm_file && !(prev->vm_flags & VM_SHARED)) { in sys_mprotect()
Dmmap.c102 struct file * file = vma->vm_file; in __remove_shared_vm_struct()
126 if (vma->vm_file) in lock_vma_mappings()
127 mapping = vma->vm_file->f_dentry->d_inode->i_mapping; in lock_vma_mappings()
137 if (vma->vm_file) in unlock_vma_mappings()
138 mapping = vma->vm_file->f_dentry->d_inode->i_mapping; in unlock_vma_mappings()
311 file = vma->vm_file; in __vma_link_file()
531 vma->vm_file = NULL; in do_mmap_pgoff()
545 vma->vm_file = file; in do_mmap_pgoff()
601 vma->vm_file = NULL; in do_mmap_pgoff()
822 if (area->vm_file) in unmap_fixup()
[all …]
Dmlock.c35 if (n->vm_file) in mlock_fixup_start()
36 get_file(n->vm_file); in mlock_fixup_start()
62 if (n->vm_file) in mlock_fixup_end()
63 get_file(n->vm_file); in mlock_fixup_end()
96 if (vma->vm_file) in mlock_fixup_middle()
97 atomic_add(2, &vma->vm_file->f_count); in mlock_fixup_middle()
Dmremap.c141 can_vma_merge(prev, vma->vm_flags) && !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in move_vma()
158 can_vma_merge(next, vma->vm_flags) && !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in move_vma()
167 can_vma_merge(prev, vma->vm_flags) && !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in move_vma()
192 if (new_vma->vm_file) in move_vma()
193 get_file(new_vma->vm_file); in move_vma()
368 new_addr = get_unmapped_area(vma->vm_file, 0, new_len, vma->vm_pgoff, map_flags); in do_mremap()
Dfilemap.c2009 ra_window = get_max_readahead(vma->vm_file->f_dentry->d_inode); in nopage_sequential_readahead()
2031 if (read_cluster_nonblocking(vma->vm_file, in nopage_sequential_readahead()
2065 struct file *file = area->vm_file; in filemap_nopage()
2350 struct file * file = vma->vm_file; in msync_interval()
2470 if (n->vm_file) in madvise_fixup_start()
2471 get_file(n->vm_file); in madvise_fixup_start()
2498 if (n->vm_file) in madvise_fixup_end()
2499 get_file(n->vm_file); in madvise_fixup_end()
2532 if (vma->vm_file) in madvise_fixup_middle()
2533 atomic_add(2, &vma->vm_file->f_count); in madvise_fixup_middle()
[all …]
Dshmem.c811 struct inode *inode = vma->vm_file->f_dentry->d_inode; in shmem_nopage()
1746 if (vma->vm_file) in shmem_zero_setup()
1747 fput(vma->vm_file); in shmem_zero_setup()
1748 vma->vm_file = file; in shmem_zero_setup()
/linux-2.4.37.9/drivers/char/drm-4.0/
Dvm.c118 drm_file_t *priv = vma->vm_file->private_data; in drm_vm_shm_nopage_lock()
151 drm_file_t *priv = vma->vm_file->private_data; in drm_vm_dma_nopage()
177 drm_file_t *priv = vma->vm_file->private_data; in drm_vm_open()
207 drm_file_t *priv = vma->vm_file->private_data; in drm_vm_close()
266 vma->vm_file = filp; /* Needed for drm_vm_open() */ in drm_mmap_dma()
369 vma->vm_file = filp; /* Needed for drm_vm_open() */ in drm_mmap()
/linux-2.4.37.9/drivers/char/drm/
Ddrm_vm.h63 drm_file_t *priv = vma->vm_file->private_data; in DRM()
154 drm_file_t *priv = vma->vm_file->private_data; in DRM()
228 drm_file_t *priv = vma->vm_file->private_data; in DRM()
255 drm_file_t *priv = vma->vm_file->private_data; in DRM()
279 drm_file_t *priv = vma->vm_file->private_data; in DRM()
300 drm_file_t *priv = vma->vm_file->private_data; in DRM()
346 vma->vm_file = filp; /* Needed for drm_vm_open() */ in DRM()
481 vma->vm_file = filp; /* Needed for drm_vm_open() */ in DRM()
/linux-2.4.37.9/arch/ia64/ia32/
Dbinfmt_elf32.c94 vma->vm_file = NULL; in ia64_elf32_init()
120 vma->vm_file = NULL; in ia64_elf32_init()
197 mpnt->vm_file = NULL; in ia32_setup_arg_pages()
/linux-2.4.37.9/fs/proc/
Darray.c192 if (!vma->vm_file) { in task_mem()
532 struct file *file = map->vm_file; in show_map()
539 struct inode *inode = map->vm_file->f_dentry->d_inode; in show_map()
554 if (map->vm_file) { in show_map()
Dbase.c72 vma->vm_file) { in proc_exe_link()
73 *mnt = mntget(vma->vm_file->f_vfsmnt); in proc_exe_link()
74 *dentry = dget(vma->vm_file->f_dentry); in proc_exe_link()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsignal.c676 if (map->vm_file != NULL) { in read_maps()
677 dev = map->vm_file->f_dentry->d_inode->i_dev; in read_maps()
678 ino = map->vm_file->f_dentry->d_inode->i_ino; in read_maps()
679 line = d_path(map->vm_file->f_dentry, in read_maps()
680 map->vm_file->f_vfsmnt, in read_maps()
687 if (map->vm_file != NULL) in read_maps()
Dsignal32.c1373 if (map->vm_file != NULL) { in read_maps()
1374 dev = map->vm_file->f_dentry->d_inode->i_dev; in read_maps()
1375 ino = map->vm_file->f_dentry->d_inode->i_ino; in read_maps()
1376 line = d_path(map->vm_file->f_dentry, in read_maps()
1377 map->vm_file->f_vfsmnt, in read_maps()
1384 if (map->vm_file != NULL) in read_maps()
Dsys_sparc.c368 file = vma->vm_file; in sys64_mremap()
/linux-2.4.37.9/arch/s390x/kernel/
Dexec32.c66 mpnt->vm_file = NULL; in setup_arg_pages32()
/linux-2.4.37.9/fs/ncpfs/
Dmmap.c31 struct file *file = area->vm_file; in ncp_file_mmap_nopage()
/linux-2.4.37.9/arch/sparc/kernel/
Dsignal.c1128 if (map->vm_file != NULL) { in read_maps()
1129 dev = map->vm_file->f_dentry->d_inode->i_dev; in read_maps()
1130 ino = map->vm_file->f_dentry->d_inode->i_ino; in read_maps()
1131 line = d_path(map->vm_file->f_dentry, in read_maps()
1132 map->vm_file->f_vfsmnt, in read_maps()
1139 if (map->vm_file != NULL) in read_maps()
Dsys_sparc.c315 file = vma->vm_file; in sparc_mremap()
/linux-2.4.37.9/drivers/ieee1394/
Ddma.c235 vma->vm_file = file; in dma_region_mmap()
/linux-2.4.37.9/include/linux/
Dmm.h72 struct file * vm_file; /* File we map to (can be NULL). */ member
590 if (!vma->vm_file && vma->vm_flags == vm_flags) in can_vma_merge()
/linux-2.4.37.9/ipc/
Dshm.c112 shm_inc (shmd->vm_file->f_dentry->d_inode->i_ino); in shm_open()
141 struct file * file = shmd->vm_file; in shm_close()
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_binfmt.c251 mpnt->vm_file = NULL; in ia32_setup_arg_pages()
/linux-2.4.37.9/arch/sparc64/mm/
Dfault.c426 vma->vm_file != NULL) in do_sparc64_fault()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_file.c396 vnode_t *vp = LINVFS_GET_VP(vma->vm_file->f_dentry->d_inode); in linvfs_mprotect()
/linux-2.4.37.9/arch/ia64/mm/
Dinit.c106 vma->vm_file = NULL; in ia64_init_addr_space()

12