Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 26) sorted by relevance

12

/mm/
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()
193 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64()
207 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument
214 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
Dutil.c53 size_t len; in kstrdup() local
98 size_t len; in kstrndup() local
123 void *kmemdup(const void *src, size_t len, gfp_t gfp) in kmemdup()
143 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul()
168 void *memdup_user(const void __user *src, size_t len) in memdup_user()
194 void *vmemdup_user(const void __user *src, size_t len) in vmemdup_user()
250 void *memdup_user_nul(const void __user *src, size_t len) in memdup_user_nul()
484 unsigned long len, unsigned long prot, in vm_mmap_pgoff()
507 unsigned long len, unsigned long prot, in vm_mmap()
846 unsigned int len; in get_cmdline() local
Dnommu.c750 unsigned long len) in find_vma_exact()
782 unsigned long len, in validate_mmap_request()
1002 unsigned long len, in do_mmap_private()
1096 unsigned long len, in do_mmap()
1320 unsigned long ksys_mmap_pgoff(unsigned long addr, unsigned long len, in ksys_mmap_pgoff()
1344 SYSCALL_DEFINE6(mmap_pgoff, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
1354 unsigned long len; member
1481 int do_munmap(struct mm_struct *mm, unsigned long start, size_t len, struct list_head *uf) in do_munmap()
1541 int vm_munmap(unsigned long addr, size_t len) in vm_munmap()
1553 SYSCALL_DEFINE2(munmap, unsigned long, addr, size_t, len) in SYSCALL_DEFINE2() argument
[all …]
Dmmap.c59 #define arch_mmap_check(addr, len, flags) (0) argument
1349 unsigned long len) in mlock_future_check()
1385 unsigned long pgoff, unsigned long len) in file_mmap_ok()
1401 unsigned long len, unsigned long prot, in do_mmap()
1588 unsigned long ksys_mmap_pgoff(unsigned long addr, unsigned long len, in ksys_mmap_pgoff()
1639 SYSCALL_DEFINE6(mmap_pgoff, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
1649 unsigned long len; member
1725 unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, in mmap_region()
2115 unsigned long len, unsigned long pgoff, unsigned long flags) in arch_get_unmapped_area()
2153 unsigned long len, unsigned long pgoff, in arch_get_unmapped_area_topdown()
[all …]
Dmlock.c583 static int apply_vma_lock_flags(unsigned long start, size_t len, in apply_vma_lock_flags()
640 unsigned long start, size_t len) in count_mm_mlocked_page_nr()
671 static __must_check int do_mlock(unsigned long start, size_t len, vm_flags_t flags) in do_mlock()
718 SYSCALL_DEFINE2(mlock, unsigned long, start, size_t, len) in SYSCALL_DEFINE2() argument
723 SYSCALL_DEFINE3(mlock2, unsigned long, start, size_t, len, int, flags) in SYSCALL_DEFINE3() argument
736 SYSCALL_DEFINE2(munlock, unsigned long, start, size_t, len) in SYSCALL_DEFINE2() argument
Duserfaultfd.c177 unsigned long len, in __mcopy_atomic_hugetlb()
436 unsigned long len, in __mcopy_atomic()
603 unsigned long src_start, unsigned long len, in mcopy_atomic()
611 unsigned long len, bool *mmap_changing) in mfill_zeropage()
Dusercopy.c34 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()
Dmprotect.c452 static int do_mprotect_pkey(unsigned long start, size_t len, in do_mprotect_pkey()
575 SYSCALL_DEFINE3(mprotect, unsigned long, start, size_t, len, in SYSCALL_DEFINE3() argument
583 SYSCALL_DEFINE4(pkey_mprotect, unsigned long, start, size_t, len, in SYSCALL_DEFINE4() argument
Dmsync.c32 SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags) in SYSCALL_DEFINE3() argument
Dmremap.c124 unsigned long len = old_end - old_addr; in move_ptes() local
242 unsigned long new_addr, unsigned long len, in move_page_tables()
Dprocess_vm_access.c32 size_t len, in process_vm_rw_pages()
75 unsigned long len, in process_vm_rw_single_vec()
Dshmem.c2074 unsigned long uaddr, unsigned long len, in shmem_get_unmapped_area()
2471 loff_t pos, unsigned len, unsigned flags, in shmem_write_begin()
2492 loff_t pos, unsigned len, unsigned copied, in shmem_write_end()
2723 loff_t len) in shmem_fallocate()
3100 int len; in shmem_symlink() local
3201 size_t len; in shmem_initxattrs() local
3337 static int shmem_encode_fh(struct inode *inode, __u32 *fh, int *len, in shmem_encode_fh()
3516 size_t len = 0; in shmem_parse_options() local
4070 unsigned long addr, unsigned long len, in shmem_get_unmapped_area()
Dmemfd.c258 long len; in SYSCALL_DEFINE2() local
Dcleancache.c148 int len = 0, maxlen = CLEANCACHE_KEY_MAX; in cleancache_get_key() local
Dmincore.c252 SYSCALL_DEFINE3(mincore, unsigned long, start, size_t, len, in SYSCALL_DEFINE3() argument
Dmempolicy.c1218 static long do_mbind(unsigned long start, unsigned long len, in do_mbind()
1405 static long kernel_mbind(unsigned long start, unsigned long len, in kernel_mbind()
1427 SYSCALL_DEFINE6(mbind, unsigned long, start, unsigned long, len, in SYSCALL_DEFINE6() argument
1646 COMPAT_SYSCALL_DEFINE6(mbind, compat_ulong_t, start, compat_ulong_t, len, in COMPAT_SYSCALL_DEFINE6() argument
Dgup.c1234 int __mm_populate(unsigned long start, unsigned long len, int ignore_errors) in __mm_populate()
2323 unsigned long len, end; in __get_user_pages_fast() local
2401 unsigned long addr, len, end; in get_user_pages_fast() local
Dmemory.c1989 int vm_iomap_memory(struct vm_area_struct *vma, phys_addr_t start, unsigned long len) in vm_iomap_memory()
4303 void *buf, int len, int write) in generic_access_phys()
4333 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm()
4408 void *buf, int len, unsigned int gup_flags) in access_remote_vm()
4419 void *buf, int len, unsigned int gup_flags) in access_process_vm()
Dkmemleak.c264 size_t len, bool ascii) in warn_or_seq_hex_dump()
284 size_t len; in hex_dump_object() local
Dslub.c1309 size_t len; in kmem_cache_flags() local
4614 int len = 0; in list_locations() local
5057 int len; in slabs_cpu_partial_show() local
5346 int len; in show_stat() local
5520 const char *buf, size_t len) in slab_attr_store()
5589 ssize_t len; in memcg_propagate_slab_attrs() local
Dmadvise.c1054 size_t len; in SYSCALL_DEFINE3() local
Dhugetlb.c2596 unsigned long count, size_t len) in __nr_hugepages_store_common()
2629 size_t len) in nr_hugepages_store_common()
2651 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_store()
2670 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_mempolicy_store()
Dfilemap.c3123 loff_t pos, unsigned len, unsigned flags, in pagecache_write_begin()
3134 loff_t pos, unsigned len, unsigned copied, in pagecache_write_end()
Dhuge_memory.c531 unsigned long addr, unsigned long len, in __thp_get_unmapped_area()
567 unsigned long len, unsigned long pgoff, unsigned long flags) in thp_get_unmapped_area()
/mm/kasan/
Dcommon.c103 void *memset(void *addr, int c, size_t len) in memset()
111 void *memmove(void *dest, const void *src, size_t len) in memmove()
120 void *memcpy(void *dest, const void *src, size_t len) in memcpy()

12