/mm/ |
D | fadvise.c | 32 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() 195 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() 209 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument 216 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
|
D | util.c | 57 size_t len; in kstrdup() local 103 size_t len; in kstrndup() local 128 void *kmemdup(const void *src, size_t len, gfp_t gfp) in kmemdup() 148 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul() 173 void *memdup_user(const void __user *src, size_t len) in memdup_user() 199 void *vmemdup_user(const void __user *src, size_t len) in vmemdup_user() 255 void *memdup_user_nul(const void __user *src, size_t len) in memdup_user_nul() 543 unsigned long len, unsigned long prot, in vm_mmap_pgoff() 567 unsigned long len, unsigned long prot, in vm_mmap() 677 void kvfree_sensitive(const void *addr, size_t len) in kvfree_sensitive() [all …]
|
D | nommu.c | 723 unsigned long len) in find_vma_exact() 755 unsigned long len, in validate_mmap_request() 972 unsigned long len, in do_mmap_private() 1066 unsigned long len, in do_mmap() 1289 unsigned long ksys_mmap_pgoff(unsigned long addr, unsigned long len, in ksys_mmap_pgoff() 1311 SYSCALL_DEFINE6(mmap_pgoff, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument 1321 unsigned long len; member 1448 int do_munmap(struct mm_struct *mm, unsigned long start, size_t len, struct list_head *uf) in do_munmap() 1507 int vm_munmap(unsigned long addr, size_t len) in vm_munmap() 1519 SYSCALL_DEFINE2(munmap, unsigned long, addr, size_t, len) in SYSCALL_DEFINE2() argument [all …]
|
D | userfaultfd.c | 24 unsigned long len) in find_dst_vma() 291 unsigned long len, in __mcopy_atomic_hugetlb() 505 unsigned long len, in __mcopy_atomic() 692 unsigned long src_start, unsigned long len, in mcopy_atomic() 700 unsigned long len, atomic_t *mmap_changing, __u64 mode) in mfill_zeropage() 707 unsigned long len, atomic_t *mmap_changing) in mcopy_continue() 714 unsigned long len, bool enable_wp, in mwriteprotect_range()
|
D | mmap.c | 66 #define arch_mmap_check(addr, len, flags) (0) argument 600 munmap_vma_range(struct mm_struct *mm, unsigned long start, unsigned long len, in munmap_vma_range() 1365 unsigned long len) in mlock_future_check() 1401 unsigned long pgoff, unsigned long len) in file_mmap_ok() 1417 unsigned long len, unsigned long prot, in do_mmap() 1595 unsigned long ksys_mmap_pgoff(unsigned long addr, unsigned long len, in ksys_mmap_pgoff() 1643 SYSCALL_DEFINE6(mmap_pgoff, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument 1653 unsigned long len; member 1733 unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, in mmap_region() 2151 unsigned long len, unsigned long pgoff, unsigned long flags) in arch_get_unmapped_area() [all …]
|
D | mlock.c | 560 static int apply_vma_lock_flags(unsigned long start, size_t len, in apply_vma_lock_flags() 617 unsigned long start, size_t len) in count_mm_mlocked_page_nr() 648 static __must_check int do_mlock(unsigned long start, size_t len, vm_flags_t flags) in do_mlock() 695 SYSCALL_DEFINE2(mlock, unsigned long, start, size_t, len) in SYSCALL_DEFINE2() argument 700 SYSCALL_DEFINE3(mlock2, unsigned long, start, size_t, len, int, flags) in SYSCALL_DEFINE3() argument 713 SYSCALL_DEFINE2(munlock, unsigned long, start, size_t, len) in SYSCALL_DEFINE2() argument
|
D | usercopy.c | 34 static noinline int check_stack_object(const void *obj, unsigned long len) in check_stack_object() 73 unsigned long offset, unsigned long len) in usercopy_warn() 85 unsigned long len) in usercopy_abort()
|
D | maccess.c | 17 #define copy_from_kernel_nofault_loop(dst, src, len, type, err_label) \ argument 51 #define copy_to_kernel_nofault_loop(dst, src, len, type, err_label) \ argument
|
D | mprotect.c | 524 static int do_mprotect_pkey(unsigned long start, size_t len, in do_mprotect_pkey() 661 SYSCALL_DEFINE3(mprotect, unsigned long, start, size_t, len, in SYSCALL_DEFINE3() argument 669 SYSCALL_DEFINE4(pkey_mprotect, unsigned long, start, size_t, len, in SYSCALL_DEFINE4() argument
|
D | process_vm_access.c | 29 size_t len, in process_vm_rw_pages() 71 unsigned long len, in process_vm_rw_single_vec()
|
D | msync.c | 32 SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags) in SYSCALL_DEFINE3() argument
|
D | shmem.c | 2127 unsigned long uaddr, unsigned long len, in shmem_get_unmapped_area() 2461 loff_t pos, unsigned len, unsigned flags, in shmem_write_begin() 2495 loff_t pos, unsigned len, unsigned copied, in shmem_write_end() 2666 loff_t len) in shmem_fallocate() 3078 int len; in shmem_symlink() local 3184 size_t len; in shmem_initxattrs() local 3320 static int shmem_encode_fh(struct inode *inode, __u32 *fh, int *len, in shmem_encode_fh() 3529 size_t len = 0; in shmem_parse_options() local 4007 int len = 0; in shmem_enabled_show() local 4098 unsigned long addr, unsigned long len, in shmem_get_unmapped_area()
|
D | cleancache.c | 148 int len = 0, maxlen = CLEANCACHE_KEY_MAX; in cleancache_get_key() local
|
D | memfd.c | 274 long len; in SYSCALL_DEFINE2() local
|
D | mincore.c | 230 SYSCALL_DEFINE3(mincore, unsigned long, start, size_t, len, in SYSCALL_DEFINE3() argument
|
D | secretmem.c | 123 unsigned long len = vma->vm_end - vma->vm_start; in secretmem_mmap() local
|
D | mremap.c | 143 unsigned long len = old_end - old_addr; in move_ptes() local 532 unsigned long new_addr, unsigned long len, in move_page_tables()
|
D | madvise.c | 1253 unsigned long len; in madvise_set_anon_name() local 1349 size_t len; in do_madvise() local
|
D | mempolicy.c | 1245 static long do_mbind(unsigned long start, unsigned long len, in do_mbind() 1455 static long kernel_mbind(unsigned long start, unsigned long len, in kernel_mbind() 1476 SYSCALL_DEFINE6(mbind, unsigned long, start, unsigned long, len, in SYSCALL_DEFINE6() argument
|
D | kmemleak.c | 266 size_t len, bool ascii) in warn_or_seq_hex_dump() 286 size_t len; in hex_dump_object() local
|
D | memory.c | 2548 int vm_iomap_memory(struct vm_area_struct *vma, phys_addr_t start, unsigned long len) in vm_iomap_memory() 5556 void *buf, int len, int write) in generic_access_phys() 5613 int len, unsigned int gup_flags) in __access_remote_vm() 5688 void *buf, int len, unsigned int gup_flags) in access_remote_vm() 5699 void *buf, int len, unsigned int gup_flags) in access_process_vm()
|
/mm/damon/ |
D | dbgfs.c | 100 static ssize_t sprint_schemes(struct damon_ctx *c, char *buf, ssize_t len) in sprint_schemes() 136 ssize_t len; in dbgfs_schemes_read() local 184 static struct damos **str_to_schemes(const char *str, ssize_t len, in str_to_schemes() 283 static ssize_t sprint_target_ids(struct damon_ctx *ctx, char *buf, ssize_t len) in sprint_target_ids() 311 ssize_t len; in dbgfs_target_ids_read() local 329 static unsigned long *str_to_target_ids(const char *str, ssize_t len, in str_to_target_ids() 442 static ssize_t sprint_init_regions(struct damon_ctx *c, char *buf, ssize_t len) in sprint_init_regions() 467 ssize_t len; in dbgfs_init_regions_read() local 524 static int set_init_regions(struct damon_ctx *c, const char *str, ssize_t len) in set_init_regions() 593 ssize_t len; in dbgfs_kdamond_pid_read() local [all …]
|
D | vaddr.c | 697 unsigned long len = PAGE_ALIGN(r->ar.end - r->ar.start); in damos_madvise() local
|
/mm/kasan/ |
D | shadow.c | 42 void *memset(void *addr, int c, size_t len) in memset() 52 void *memmove(void *dest, const void *src, size_t len) in memmove() 63 void *memcpy(void *dest, const void *src, size_t len) in memcpy()
|
/mm/kfence/ |
D | report.c | 74 int len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skipnr]); in get_stack_skipnr() local
|