Home
last modified time | relevance | path

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

12

/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.c609 int file_fdatawait_range(struct file *file, loff_t start_byte, loff_t end_byte) in file_fdatawait_range()
763 int file_check_and_advance_wb_err(struct file *file) in file_check_and_advance_wb_err()
807 int file_write_and_wait_range(struct file *file, loff_t lstart, loff_t lend) in file_write_and_wait_range()
2382 static int filemap_read_page(struct file *file, struct address_space *mapping, in filemap_read_page()
2483 static int filemap_create_page(struct file *file, in filemap_create_page()
2527 static int filemap_readahead(struct kiocb *iocb, struct file *file, in filemap_readahead()
2761 struct file *file = iocb->ki_filp; in generic_file_read_iter() local
2966 struct file *file = vmf->vma->vm_file; in do_sync_mmap_readahead() local
3017 struct file *file = vmf->vma->vm_file; in do_async_mmap_readahead() local
3066 struct file *file = vmf->vma->vm_file; in filemap_fault() local
[all …]
Dsecretmem.c115 static int secretmem_release(struct inode *inode, struct file *file) in secretmem_release()
121 static int secretmem_mmap(struct file *file, struct vm_area_struct *vma) in secretmem_mmap()
200 struct file *file = ERR_PTR(-ENOMEM); in secretmem_file_create() local
231 struct file *file; in SYSCALL_DEFINE1() local
Dmmap.c153 struct file *file, struct address_space *mapping) in __remove_shared_vm_struct()
169 struct file *file = vma->vm_file; in unlink_file_vma() local
665 struct file *file; in __vma_link_file() local
752 struct file *file = vma->vm_file; in __vma_adjust() local
1035 struct file *file, unsigned long vm_flags, in is_mergeable_vma()
1089 struct anon_vma *anon_vma, struct file *file, in can_vma_merge_before()
1111 struct anon_vma *anon_vma, struct file *file, in can_vma_merge_after()
1172 struct anon_vma *anon_vma, struct file *file, in vma_merge()
1381 static inline u64 file_mmap_size_max(struct file *file, struct inode *inode) in file_mmap_size_max()
1400 static inline bool file_mmap_ok(struct file *file, struct inode *inode, in file_mmap_ok()
[all …]
Dfadvise.c32 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise()
184 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise()
Dpage_idle.c114 static ssize_t page_idle_bitmap_read(struct file *file, struct kobject *kobj, in page_idle_bitmap_read()
159 static ssize_t page_idle_bitmap_write(struct file *file, struct kobject *kobj, in page_idle_bitmap_write()
Dshmem.c2126 unsigned long shmem_get_unmapped_area(struct file *file, in shmem_get_unmapped_area()
2233 int shmem_lock(struct file *file, int lock, struct ucounts *ucounts) in shmem_lock()
2261 static int shmem_mmap(struct file *file, struct vm_area_struct *vma) in shmem_mmap()
2460 shmem_write_begin(struct file *file, struct address_space *mapping, in shmem_write_begin()
2494 shmem_write_end(struct file *file, struct address_space *mapping, in shmem_write_end()
2531 struct file *file = iocb->ki_filp; in shmem_file_read_iter() local
2645 static loff_t shmem_file_llseek(struct file *file, loff_t offset, int whence) in shmem_file_llseek()
2665 static long shmem_fallocate(struct file *file, int mode, loff_t offset, in shmem_fallocate()
4087 int shmem_lock(struct file *file, int lock, struct ucounts *ucounts) in shmem_lock()
4097 unsigned long shmem_get_unmapped_area(struct file *file, in shmem_get_unmapped_area()
[all …]
Dmsync.c65 struct file *file; in SYSCALL_DEFINE3() local
Dnommu.c753 static int validate_mmap_request(struct file *file, in validate_mmap_request()
911 static unsigned long determine_vm_flags(struct file *file, in determine_vm_flags()
1064 unsigned long do_mmap(struct file *file, in do_mmap()
1293 struct file *file = NULL; in ksys_mmap_pgoff() local
1649 unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr, in arch_get_unmapped_area()
Dutil.c321 void vma_set_file(struct vm_area_struct *vma, struct file *file) in vma_set_file()
542 unsigned long vm_mmap_pgoff(struct file *file, unsigned long addr, in vm_mmap_pgoff()
566 unsigned long vm_mmap(struct file *file, unsigned long addr, in vm_mmap()
Dkhugepaged.c1680 struct file *file, pgoff_t start, in collapse_file()
2032 struct file *file, pgoff_t start, struct page **hpage) in khugepaged_scan_file()
2108 struct file *file, pgoff_t start, struct page **hpage) in khugepaged_scan_file()
2189 struct file *file = get_file(vma->vm_file); in khugepaged_scan_mm_slot() local
Dpgsize_migration.c160 struct file *file; in linker_ctx() local
Dworkingset.c388 bool file = page_is_file_lru(page); in workingset_refault() local
Dpage_pinner.c323 static ssize_t read_buffer(struct file *file, char __user *buf, in read_buffer()
Dvmscan.c2120 static int too_many_isolated(struct pglist_data *pgdat, int file, in too_many_isolated()
2246 bool file = is_file_lru(lru); in shrink_inactive_list() local
2367 int file = is_file_lru(lru); in shrink_active_list() local
2592 unsigned long file; in prepare_scan_count() local
2800 int file = is_file_lru(lru); in get_scan_count() local
5694 static ssize_t lru_gen_seq_write(struct file *file, const char __user *src, in lru_gen_seq_write()
5766 static int lru_gen_seq_open(struct inode *inode, struct file *file) in lru_gen_seq_open()
Dpage_owner.c483 read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_page_owner()
Dkmemleak.c1715 static int kmemleak_open(struct inode *inode, struct file *file) in kmemleak_open()
1784 static ssize_t kmemleak_write(struct file *file, const char __user *user_buf, in kmemleak_write()
Dswap.c256 void lru_note_cost(struct lruvec *lruvec, bool file, unsigned int nr_pages) in lru_note_cost()
Dswapfile.c2702 static __poll_t swaps_poll(struct file *file, poll_table *wait) in swaps_poll()
2766 struct file *file; in swap_show() local
2797 static int swaps_open(struct inode *inode, struct file *file) in swaps_open()
Dinternal.h57 struct file *file, pgoff_t index, unsigned long nr_to_read) in force_page_cache_readahead()
Dslab_common.c1177 static int slabinfo_open(struct inode *inode, struct file *file) in slabinfo_open()
Dmadvise.c274 struct file *file = vma->vm_file; in madvise_willneed() local
Dhuge_memory.c3020 struct filename *file; in split_huge_pages_in_file() local
3078 static ssize_t split_huge_pages_write(struct file *file, const char __user *buf, in split_huge_pages_write()
/mm/damon/
Ddbgfs.c49 static ssize_t dbgfs_attrs_read(struct file *file, in dbgfs_attrs_read()
66 static ssize_t dbgfs_attrs_write(struct file *file, in dbgfs_attrs_write()
131 static ssize_t dbgfs_schemes_read(struct file *file, char __user *buf, in dbgfs_schemes_read()
240 static ssize_t dbgfs_schemes_write(struct file *file, const char __user *buf, in dbgfs_schemes_write()
307 static ssize_t dbgfs_target_ids_read(struct file *file, in dbgfs_target_ids_read()
361 static ssize_t dbgfs_target_ids_write(struct file *file, in dbgfs_target_ids_write()
462 static ssize_t dbgfs_init_regions_read(struct file *file, char __user *buf, in dbgfs_init_regions_read()
559 static ssize_t dbgfs_init_regions_write(struct file *file, in dbgfs_init_regions_write()
588 static ssize_t dbgfs_kdamond_pid_read(struct file *file, in dbgfs_kdamond_pid_read()
614 static int damon_dbgfs_open(struct inode *inode, struct file *file) in damon_dbgfs_open()
[all …]
/mm/kfence/
Dcore.c669 static int open_objects(struct inode *inode, struct file *file) in open_objects()

12