Home
last modified time | relevance | path

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

/mm/
Dmemfd.c120 static unsigned int *memfd_file_seals_ptr(struct file *file) in memfd_file_seals_ptr()
139 static int memfd_add_seals(struct file *file, unsigned int seals) in memfd_add_seals()
214 static int memfd_get_seals(struct file *file) in memfd_get_seals()
221 long memfd_fcntl(struct file *file, unsigned int cmd, unsigned long arg) in memfd_fcntl()
255 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()
2283 struct file *file = iocb->ki_filp; in generic_file_read_iter() local
2385 struct file *file = vmf->vma->vm_file; in do_sync_mmap_readahead() local
2434 struct file *file = vmf->vma->vm_file; in do_async_mmap_readahead() local
2479 struct file *file = vmf->vma->vm_file; in filemap_fault() local
2605 struct file *file = vmf->vma->vm_file; in filemap_map_pages() local
2705 int generic_file_mmap(struct file * file, struct vm_area_struct * vma) in generic_file_mmap()
2719 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
616 struct file *file; in __vma_link_file() local
728 struct file *file = vma->vm_file; in __vma_adjust() local
1013 struct file *file, unsigned long vm_flags, in is_mergeable_vma()
1065 struct anon_vma *anon_vma, struct file *file, in can_vma_merge_before()
1087 struct anon_vma *anon_vma, struct file *file, in can_vma_merge_after()
1145 struct anon_vma *anon_vma, struct file *file, in vma_merge()
1365 static inline u64 file_mmap_size_max(struct file *file, struct inode *inode) in file_mmap_size_max()
1384 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.c2073 unsigned long shmem_get_unmapped_area(struct file *file, in shmem_get_unmapped_area()
2180 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock()
2205 static int shmem_mmap(struct file *file, struct vm_area_struct *vma) in shmem_mmap()
2470 shmem_write_begin(struct file *file, struct address_space *mapping, in shmem_write_begin()
2491 shmem_write_end(struct file *file, struct address_space *mapping, in shmem_write_end()
2528 struct file *file = iocb->ki_filp; in shmem_file_read_iter() local
2686 static loff_t shmem_file_llseek(struct file *file, loff_t offset, int whence) in shmem_file_llseek()
2722 static long shmem_fallocate(struct file *file, int mode, loff_t offset, in shmem_fallocate()
4059 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock()
4069 unsigned long shmem_get_unmapped_area(struct file *file, in shmem_get_unmapped_area()
[all …]
Dnommu.c780 static int validate_mmap_request(struct file *file, in validate_mmap_request()
941 static unsigned long determine_vm_flags(struct file *file, in determine_vm_flags()
1094 unsigned long do_mmap(struct file *file, in do_mmap()
1324 struct file *file = NULL; in ksys_mmap_pgoff() local
1683 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.c1828 static int too_many_isolated(struct pglist_data *pgdat, int file, in too_many_isolated()
1956 int file = is_file_lru(lru); in shrink_inactive_list() local
2058 int file = is_file_lru(lru); in shrink_active_list() local
2230 static bool inactive_list_is_low(struct lruvec *lruvec, bool file, in inactive_list_is_low()
2315 unsigned long anon, file; in get_scan_count() local
2459 int file = is_file_lru(lru); in get_scan_count() local
Dkhugepaged.c1493 struct file *file, pgoff_t start, in collapse_file()
1815 struct file *file, pgoff_t start, struct page **hpage) in khugepaged_scan_file()
1891 struct file *file, pgoff_t start, struct page **hpage) in khugepaged_scan_file()
1971 struct file *file; in khugepaged_scan_mm_slot() local
Dutil.c483 unsigned long vm_mmap_pgoff(struct file *file, unsigned long addr, in vm_mmap_pgoff()
506 unsigned long vm_mmap(struct file *file, unsigned long addr, in vm_mmap()
Dkmemleak.c1698 static int kmemleak_open(struct inode *inode, struct file *file) in kmemleak_open()
1767 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.c2694 static __poll_t swaps_poll(struct file *file, poll_table *wait) in swaps_poll()
2758 struct file *file; in swap_show() local
2785 static int swaps_open(struct inode *inode, struct file *file) in swaps_open()
Dvmstat.c2073 static int unusable_open(struct inode *inode, struct file *file) in unusable_open()
2125 static int extfrag_open(struct inode *inode, struct file *file) in extfrag_open()
Dslab_common.c1571 static int slabinfo_open(struct inode *inode, struct file *file) in slabinfo_open()
Dmemory.c4470 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.c5923 ssize_t slabinfo_write(struct file *file, const char __user *buffer, in slabinfo_write()
Dmemcontrol.c4605 static void memcg_event_ptable_queue_proc(struct file *file, in memcg_event_ptable_queue_proc()