Home
last modified time | relevance | path

Searched refs:__user (Results 1 – 25 of 26) sorted by relevance

12

/mm/
Dmaccess.c10 probe_read_common(void *dst, const void __user *src, size_t size) in probe_read_common()
22 probe_write_common(void __user *dst, const void *src, size_t size) in probe_write_common()
57 ret = probe_read_common(dst, (__force const void __user *)src, size); in __probe_kernel_read()
74 long __weak probe_user_read(void *dst, const void __user *src, size_t size)
77 long __probe_user_read(void *dst, const void __user *src, size_t size) in __probe_user_read()
110 ret = probe_write_common((__force void __user *)dst, src, size); in __probe_kernel_write()
127 long __weak probe_user_write(void __user *dst, const void *src, size_t size)
130 long __probe_user_write(void __user *dst, const void *src, size_t size) in __probe_user_write()
174 ret = __get_user(*dst++, (const char __user __force *)src++); in strncpy_from_unsafe()
202 long strncpy_from_unsafe_user(char *dst, const void __user *unsafe_addr, in strncpy_from_unsafe_user()
[all …]
Dprocess_vm_access.c255 const struct iovec __user *lvec, in process_vm_rw()
257 const struct iovec __user *rvec, in process_vm_rw()
294 SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec, in SYSCALL_DEFINE6() argument
295 unsigned long, liovcnt, const struct iovec __user *, rvec, in SYSCALL_DEFINE6()
302 const struct iovec __user *, lvec, in SYSCALL_DEFINE6() argument
303 unsigned long, liovcnt, const struct iovec __user *, rvec, in SYSCALL_DEFINE6()
313 const struct compat_iovec __user *lvec, in compat_process_vm_rw()
315 const struct compat_iovec __user *rvec, in compat_process_vm_rw()
351 const struct compat_iovec __user *, lvec, in COMPAT_SYSCALL_DEFINE6() argument
353 const struct compat_iovec __user *, rvec, in COMPAT_SYSCALL_DEFINE6()
[all …]
Dmempolicy.c1328 static int get_nodes(nodemask_t *nodes, const unsigned long __user *nmask, in get_nodes()
1389 static int copy_nodes_to_user(unsigned long __user *mask, unsigned long maxnode, in copy_nodes_to_user()
1398 if (clear_user((char __user *)mask + nbytes, copy - nbytes)) in copy_nodes_to_user()
1406 unsigned long mode, const unsigned long __user *nmask, in kernel_mbind()
1428 unsigned long, mode, const unsigned long __user *, nmask, in SYSCALL_DEFINE6() argument
1435 static long kernel_set_mempolicy(int mode, const unsigned long __user *nmask, in kernel_set_mempolicy()
1454 SYSCALL_DEFINE3(set_mempolicy, int, mode, const unsigned long __user *, nmask, in SYSCALL_DEFINE3() argument
1461 const unsigned long __user *old_nodes, in kernel_migrate_pages()
1462 const unsigned long __user *new_nodes) in kernel_migrate_pages()
1549 const unsigned long __user *, old_nodes, in SYSCALL_DEFINE4() argument
[all …]
Dmigrate.c1490 static int store_status(int __user *status, int start, int value, int nr) in store_status()
1596 const void __user * __user *pages, in do_pages_move()
1597 const int __user *nodes, in do_pages_move()
1598 int __user *status, int flags) in do_pages_move()
1608 const void __user *p; in do_pages_move()
1693 const void __user **pages, int *status) in do_pages_stat_array()
1732 const void __user * __user *pages, in do_pages_stat()
1733 int __user *status) in do_pages_stat()
1736 const void __user *chunk_pages[DO_PAGES_STAT_CHUNK_NR]; in do_pages_stat()
1766 const void __user * __user *pages, in kernel_move_pages()
[all …]
Dutil.c168 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()
218 char *strndup_user(const char __user *s, long n) in strndup_user()
250 void *memdup_user_nul(const void __user *src, size_t len) in memdup_user_nul()
711 void __user *buffer, size_t *lenp, in overcommit_ratio_handler()
723 void __user *buffer, size_t *lenp, in overcommit_kbytes_handler()
Dgup_benchmark.c110 if (copy_from_user(&gup, (void __user *)arg, sizeof(gup))) in gup_benchmark_ioctl()
117 if (copy_to_user((void __user *)arg, &gup, sizeof(gup))) in gup_benchmark_ioctl()
Dmincore.c253 unsigned char __user *, vec) in SYSCALL_DEFINE3() argument
266 if (!access_ok((void __user *) start, len)) in SYSCALL_DEFINE3()
Duserfaultfd.c45 (const void __user *) src_addr, in mcopy_atomic_pte()
302 (const void __user *)src_addr, in __mcopy_atomic_hugetlb()
568 (const void __user *) src_addr, in __mcopy_atomic()
Dpage_owner.c338 print_page_owner(char __user *buf, size_t count, unsigned long pfn, in print_page_owner()
457 read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_page_owner()
Dpage-writeback.c515 void __user *buffer, size_t *lenp, in dirty_background_ratio_handler()
527 void __user *buffer, size_t *lenp, in dirty_background_bytes_handler()
539 void __user *buffer, size_t *lenp, in dirty_ratio_handler()
554 void __user *buffer, size_t *lenp, in dirty_bytes_handler()
1975 void __user *buffer, size_t *length, loff_t *ppos) in dirty_writeback_centisecs_handler()
Dmemfd.c251 const char __user *, uname, in SYSCALL_DEFINE2() argument
Dmmap.c1015 const char __user *anon_name) in is_mergeable_vma()
1068 const char __user *anon_name) in can_vma_merge_before()
1090 const char __user *anon_name) in can_vma_merge_after()
1148 const char __user *anon_name) in vma_merge()
1656 SYSCALL_DEFINE1(old_mmap, struct mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
Dpage_alloc.c5508 void __user *buffer, size_t *length, in numa_zonelist_order_handler()
7887 void __user *buffer, size_t *length, loff_t *ppos) in core_initcall()
7903 void __user *buffer, size_t *length, loff_t *ppos) in watermark_boost_factor_sysctl_handler()
7915 void __user *buffer, size_t *length, loff_t *ppos) in watermark_scale_factor_sysctl_handler()
7945 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_min_unmapped_ratio_sysctl_handler()
7972 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_min_slab_ratio_sysctl_handler()
7996 void __user *buffer, size_t *length, loff_t *ppos) in lowmem_reserve_ratio_sysctl_handler()
8009 void __user *buffer, size_t *length, loff_t *ppos) in percpu_pagelist_fraction_sysctl_handler()
Dmemory-failure.c219 ret = force_sig_mceerr(BUS_MCEERR_AR, (void __user *)tk->addr, in kill_proc()
228 ret = send_sig_mceerr(BUS_MCEERR_AO, (void __user *)tk->addr, in kill_proc()
Dslab.h260 ssize_t slabinfo_write(struct file *file, const char __user *buffer,
Dhugetlb.c3087 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler_common()
3110 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler()
3119 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_mempolicy_sysctl_handler()
3127 void __user *buffer, in hugetlb_overcommit_handler()
4284 (const void __user *) src_addr, in hugetlb_mcopy_atomic_pte()
Dvmstat.c79 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_vm_numa_stat_handler()
1762 void __user *buffer, size_t *lenp, loff_t *ppos) in vmstat_refresh()
Dgup.c2333 if (unlikely(!access_ok((void __user *)start, len))) in __get_user_pages_fast()
2414 if (unlikely(!access_ok((void __user *)start, len))) in get_user_pages_fast()
Dmemory.c2179 void __user *uaddr = (void __user *)(va & PAGE_MASK); in cow_user_page()
4634 const void __user *usr_src, in copy_huge_page_from_user()
4649 (const void __user *)(src + i * PAGE_SIZE), in copy_huge_page_from_user()
Dkmemleak.c1767 static ssize_t kmemleak_write(struct file *file, const char __user *user_buf, in kmemleak_write()
Dswapfile.c2515 SYSCALL_DEFINE1(swapoff, const char __user *, specialfile) in SYSCALL_DEFINE1() argument
3102 SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) in SYSCALL_DEFINE2() argument
Dnommu.c1361 SYSCALL_DEFINE1(old_mmap, struct mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
Dcompaction.c2458 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_compaction_handler()
Dslab.c4115 ssize_t slabinfo_write(struct file *file, const char __user *buffer, in slabinfo_write()
Dshmem.c2338 (const void __user *)src_addr, in shmem_mfill_atomic_pte()

12