Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 26) 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.c602 int file_fdatawait_range(struct file *file, loff_t start_byte, loff_t end_byte) in file_fdatawait_range()
716 int file_check_and_advance_wb_err(struct file *file) in file_check_and_advance_wb_err()
760 int file_write_and_wait_range(struct file *file, loff_t lstart, loff_t lend) in file_write_and_wait_range()
2527 struct file *file = iocb->ki_filp; in generic_file_read_iter() local
2629 struct file *file = vmf->vma->vm_file; in do_sync_mmap_readahead() local
2682 struct file *file = vmf->vma->vm_file; in do_async_mmap_readahead() local
2731 struct file *file = vmf->vma->vm_file; in filemap_fault() local
3020 struct file *file = vma->vm_file; in filemap_map_pages() local
3121 int generic_file_mmap(struct file * file, struct vm_area_struct * vma) in generic_file_mmap()
3135 int generic_file_readonly_mmap(struct file *file, struct vm_area_struct *vma) in generic_file_readonly_mmap()
[all …]
Dmmap.c144 struct file *file, struct address_space *mapping) in __remove_shared_vm_struct()
162 struct file *file = vma->vm_file; in unlink_file_vma() local
698 struct file *file; in __vma_link_file() local
787 struct file *file = vma->vm_file; in __vma_adjust() local
1084 struct file *file, unsigned long vm_flags, in is_mergeable_vma()
1136 struct anon_vma *anon_vma, struct file *file, in can_vma_merge_before()
1158 struct anon_vma *anon_vma, struct file *file, in can_vma_merge_after()
1219 struct anon_vma *anon_vma, struct file *file, in __vma_merge()
1435 static inline u64 file_mmap_size_max(struct file *file, struct inode *inode) in file_mmap_size_max()
1454 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()
181 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise()
Dpage_idle.c118 static ssize_t page_idle_bitmap_read(struct file *file, struct kobject *kobj, in page_idle_bitmap_read()
163 static ssize_t page_idle_bitmap_write(struct file *file, struct kobject *kobj, in page_idle_bitmap_write()
Dshmem.c2148 unsigned long shmem_get_unmapped_area(struct file *file, in shmem_get_unmapped_area()
2255 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock()
2283 static int shmem_mmap(struct file *file, struct vm_area_struct *vma) in shmem_mmap()
2485 shmem_write_begin(struct file *file, struct address_space *mapping, in shmem_write_begin()
2506 shmem_write_end(struct file *file, struct address_space *mapping, in shmem_write_end()
2543 struct file *file = iocb->ki_filp; in shmem_file_read_iter() local
2701 static loff_t shmem_file_llseek(struct file *file, loff_t offset, int whence) in shmem_file_llseek()
2737 static long shmem_fallocate(struct file *file, int mode, loff_t offset, in shmem_fallocate()
4143 int shmem_lock(struct file *file, int lock, struct user_struct *user) in shmem_lock()
4153 unsigned long shmem_get_unmapped_area(struct file *file, in shmem_get_unmapped_area()
[all …]
Dmsync.c63 struct file *file; in SYSCALL_DEFINE3() local
Dnommu.c755 static int validate_mmap_request(struct file *file, in validate_mmap_request()
916 static unsigned long determine_vm_flags(struct file *file, in determine_vm_flags()
1069 unsigned long do_mmap(struct file *file, in do_mmap()
1299 struct file *file = NULL; in ksys_mmap_pgoff() local
1658 unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr, in arch_get_unmapped_area()
Dpage_pinner.c381 read_longterm_page_pinner(struct file *file, char __user *buf, size_t count, in read_longterm_page_pinner()
416 static ssize_t read_alloc_contig_failed(struct file *file, char __user *buf, in read_alloc_contig_failed()
Dkhugepaged.c1687 struct file *file, pgoff_t start, in collapse_file()
2037 struct file *file, pgoff_t start, struct page **hpage) in khugepaged_scan_file()
2113 struct file *file, pgoff_t start, struct page **hpage) in khugepaged_scan_file()
2195 struct file *file = get_file(vma->vm_file); in khugepaged_scan_mm_slot() local
Dvmscan.c1862 static int too_many_isolated(struct pglist_data *pgdat, int file, in too_many_isolated()
1993 bool file = is_file_lru(lru); in shrink_inactive_list() local
2091 int file = is_file_lru(lru); in shrink_active_list() local
2424 int file = is_file_lru(lru); in get_scan_count() local
2782 unsigned long file; in shrink_node() local
Dutil.c531 unsigned long vm_mmap_pgoff(struct file *file, unsigned long addr, in vm_mmap_pgoff()
555 unsigned long vm_mmap(struct file *file, unsigned long addr, in vm_mmap()
Dworkingset.c284 bool file = page_is_file_lru(page); in workingset_refault() local
Dpage_owner.c510 read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_page_owner()
Dkmemleak.c1707 static int kmemleak_open(struct inode *inode, struct file *file) in kmemleak_open()
1776 static ssize_t kmemleak_write(struct file *file, const char __user *user_buf, in kmemleak_write()
Dswapfile.c2781 static __poll_t swaps_poll(struct file *file, poll_table *wait) in swaps_poll()
2845 struct file *file; in swap_show() local
2876 static int swaps_open(struct inode *inode, struct file *file) in swaps_open()
Dinternal.h77 struct file *file, pgoff_t index, unsigned long nr_to_read) in force_page_cache_readahead()
Dmadvise.c267 struct file *file = vma->vm_file; in madvise_willneed() local
Dslab_common.c1065 static int slabinfo_open(struct inode *inode, struct file *file) in slabinfo_open()
Dswap.c295 void lru_note_cost(struct lruvec *lruvec, bool file, unsigned int nr_pages) in lru_note_cost()
Dslub.c5855 static int slab_debug_trace_release(struct inode *inode, struct file *file) in slab_debug_trace_release()
5938 ssize_t slabinfo_write(struct file *file, const char __user *buffer, in slabinfo_write()
Dslab.c4110 ssize_t slabinfo_write(struct file *file, const char __user *buffer, in slabinfo_write()
Dmemory.c5742 void __might_fault(const char *file, int line) in __might_fault()
/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()
459 static ssize_t dbgfs_init_regions_read(struct file *file, char __user *buf, in dbgfs_init_regions_read()
556 static ssize_t dbgfs_init_regions_write(struct file *file, in dbgfs_init_regions_write()
585 static ssize_t dbgfs_kdamond_pid_read(struct file *file, in dbgfs_kdamond_pid_read()
611 static int damon_dbgfs_open(struct inode *inode, struct file *file) in damon_dbgfs_open()
[all …]
/mm/kfence/
Dcore.c568 static int open_objects(struct inode *inode, struct file *file) in open_objects()

12