Home
last modified time | relevance | path

Searched defs:file (Results 1 – 22 of 22) sorted by relevance

/mm/
Dmemfd.c136 static unsigned int *memfd_file_seals_ptr(struct file *file) in memfd_file_seals_ptr()
155 static int memfd_add_seals(struct file *file, unsigned int seals) in memfd_add_seals()
230 static int memfd_get_seals(struct file *file) in memfd_get_seals()
237 long memfd_fcntl(struct file *file, unsigned int cmd, unsigned long arg) in memfd_fcntl()
271 struct file *file; in SYSCALL_DEFINE2() local
Dfilemap.c596 int file_fdatawait_range(struct file *file, loff_t start_byte, loff_t end_byte) in file_fdatawait_range()
732 int file_check_and_advance_wb_err(struct file *file) in file_check_and_advance_wb_err()
776 int file_write_and_wait_range(struct file *file, loff_t lstart, loff_t lend) in file_write_and_wait_range()
2441 struct file *file = iocb->ki_filp; in generic_file_read_iter() local
2543 struct file *file = vmf->vma->vm_file; in do_sync_mmap_readahead() local
2592 struct file *file = vmf->vma->vm_file; in do_async_mmap_readahead() local
2637 struct file *file = vmf->vma->vm_file; in filemap_fault() local
2763 struct file *file = vmf->vma->vm_file; in filemap_map_pages() local
2863 int generic_file_mmap(struct file * file, struct vm_area_struct * vma) in generic_file_mmap()
2877 int generic_file_readonly_mmap(struct file *file, struct vm_area_struct *vma) in generic_file_readonly_mmap()
[all …]
Dmmap.c140 struct file *file, struct address_space *mapping) in __remove_shared_vm_struct()
158 struct file *file = vma->vm_file; in unlink_file_vma() local
614 struct file *file; in __vma_link_file() local
726 struct file *file = vma->vm_file; in __vma_adjust() local
1011 struct file *file, unsigned long vm_flags, in is_mergeable_vma()
1063 struct anon_vma *anon_vma, struct file *file, in can_vma_merge_before()
1085 struct anon_vma *anon_vma, struct file *file, in can_vma_merge_after()
1143 struct anon_vma *anon_vma, struct file *file, in vma_merge()
1363 static inline u64 file_mmap_size_max(struct file *file, struct inode *inode) in file_mmap_size_max()
1382 static inline bool file_mmap_ok(struct file *file, struct inode *inode, in file_mmap_ok()
[all …]
Dswap.c266 int file, int rotated) in update_page_reclaim_stat()
279 int file = page_is_file_cache(page); in __activate_page() local
499 int lru, file; in lru_deactivate_file_fn() local
546 int file = page_is_file_cache(page); in lru_deactivate_fn() local
872 const int file = 0; in lru_add_page_tail() local
Dfadvise.c30 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise()
182 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise()
Dpage_idle.c121 static ssize_t page_idle_bitmap_read(struct file *file, struct kobject *kobj, in page_idle_bitmap_read()
166 static ssize_t page_idle_bitmap_write(struct file *file, struct kobject *kobj, in page_idle_bitmap_write()
Dshmem.c2078 unsigned long shmem_get_unmapped_area(struct file *file, in shmem_get_unmapped_area()
2185 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock()
2213 static int shmem_mmap(struct file *file, struct vm_area_struct *vma) in shmem_mmap()
2474 shmem_write_begin(struct file *file, struct address_space *mapping, in shmem_write_begin()
2495 shmem_write_end(struct file *file, struct address_space *mapping, in shmem_write_end()
2532 struct file *file = iocb->ki_filp; in shmem_file_read_iter() local
2690 static loff_t shmem_file_llseek(struct file *file, loff_t offset, int whence) in shmem_file_llseek()
2726 static long shmem_fallocate(struct file *file, int mode, loff_t offset, in shmem_fallocate()
4083 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock()
4093 unsigned long shmem_get_unmapped_area(struct file *file, in shmem_get_unmapped_area()
[all …]
Dnommu.c784 static int validate_mmap_request(struct file *file, in validate_mmap_request()
945 static unsigned long determine_vm_flags(struct file *file, in determine_vm_flags()
1098 unsigned long do_mmap(struct file *file, in do_mmap()
1328 struct file *file = NULL; in ksys_mmap_pgoff() local
1687 unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr, in arch_get_unmapped_area()
Dmsync.c63 struct file *file; in SYSCALL_DEFINE3() local
Dvmscan.c1835 static int too_many_isolated(struct pglist_data *pgdat, int file, in too_many_isolated()
1963 int file = is_file_lru(lru); in shrink_inactive_list() local
2065 int file = is_file_lru(lru); in shrink_active_list() local
2238 static bool inactive_list_is_low(struct lruvec *lruvec, bool file, in inactive_list_is_low()
2323 unsigned long anon, file; in get_scan_count() local
2467 int file = is_file_lru(lru); in get_scan_count() local
Dkhugepaged.c1541 struct file *file, pgoff_t start, in collapse_file()
1864 struct file *file, pgoff_t start, struct page **hpage) in khugepaged_scan_file()
1940 struct file *file, pgoff_t start, struct page **hpage) in khugepaged_scan_file()
2020 struct file *file; in khugepaged_scan_mm_slot() local
Dutil.c515 unsigned long vm_mmap_pgoff(struct file *file, unsigned long addr, in vm_mmap_pgoff()
538 unsigned long vm_mmap(struct file *file, unsigned long addr, in vm_mmap()
Dkmemleak.c1704 static int kmemleak_open(struct inode *inode, struct file *file) in kmemleak_open()
1773 static ssize_t kmemleak_write(struct file *file, const char __user *user_buf, in kmemleak_write()
Dpage_owner.c457 read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_page_owner()
Dmadvise.c257 struct file *file = vma->vm_file; in madvise_willneed() local
Dswapfile.c2713 static __poll_t swaps_poll(struct file *file, poll_table *wait) in swaps_poll()
2777 struct file *file; in swap_show() local
2804 static int swaps_open(struct inode *inode, struct file *file) in swaps_open()
Dvmstat.c2069 static int unusable_open(struct inode *inode, struct file *file) in unusable_open()
2121 static int extfrag_open(struct inode *inode, struct file *file) in extfrag_open()
Dslab_common.c1593 static int slabinfo_open(struct inode *inode, struct file *file) in slabinfo_open()
Dmemory.c4611 void __might_fault(const char *file, int line) in __might_fault()
Dslab.c4115 ssize_t slabinfo_write(struct file *file, const char __user *buffer, in slabinfo_write()
Dslub.c6000 ssize_t slabinfo_write(struct file *file, const char __user *buffer, in slabinfo_write()
Dmemcontrol.c4694 static void memcg_event_ptable_queue_proc(struct file *file, in memcg_event_ptable_queue_proc()