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.c1323 static int get_nodes(nodemask_t *nodes, const unsigned long __user *nmask, in get_nodes()
1384 static int copy_nodes_to_user(unsigned long __user *mask, unsigned long maxnode, in copy_nodes_to_user()
1393 if (clear_user((char __user *)mask + nbytes, copy - nbytes)) in copy_nodes_to_user()
1401 unsigned long mode, const unsigned long __user *nmask, in kernel_mbind()
1423 unsigned long, mode, const unsigned long __user *, nmask, in SYSCALL_DEFINE6() argument
1430 static long kernel_set_mempolicy(int mode, const unsigned long __user *nmask, in kernel_set_mempolicy()
1449 SYSCALL_DEFINE3(set_mempolicy, int, mode, const unsigned long __user *, nmask, in SYSCALL_DEFINE3() argument
1456 const unsigned long __user *old_nodes, in kernel_migrate_pages()
1457 const unsigned long __user *new_nodes) in kernel_migrate_pages()
1544 const unsigned long __user *, old_nodes, in SYSCALL_DEFINE4() argument
[all …]
Dmigrate.c1498 static int store_status(int __user *status, int start, int value, int nr) in store_status()
1604 const void __user * __user *pages, in do_pages_move()
1605 const int __user *nodes, in do_pages_move()
1606 int __user *status, int flags) in do_pages_move()
1616 const void __user *p; in do_pages_move()
1722 const void __user **pages, int *status) in do_pages_stat_array()
1761 const void __user * __user *pages, in do_pages_stat()
1762 int __user *status) in do_pages_stat()
1765 const void __user *chunk_pages[DO_PAGES_STAT_CHUNK_NR]; in do_pages_stat()
1795 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()
761 void __user *buffer, size_t *lenp, in overcommit_ratio_handler()
773 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()
305 (const void __user *)src_addr, in __mcopy_atomic_hugetlb()
582 (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.c267 const char __user *, uname, in SYSCALL_DEFINE2() argument
Dmmap.c1013 const char __user *anon_name) in is_mergeable_vma()
1066 const char __user *anon_name) in can_vma_merge_before()
1088 const char __user *anon_name) in can_vma_merge_after()
1146 const char __user *anon_name) in vma_merge()
1652 SYSCALL_DEFINE1(old_mmap, struct mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
Dpage_alloc.c5661 void __user *buffer, size_t *length, in numa_zonelist_order_handler()
8075 void __user *buffer, size_t *length, loff_t *ppos) in postcore_initcall()
8091 void __user *buffer, size_t *length, loff_t *ppos) in watermark_boost_factor_sysctl_handler()
8103 void __user *buffer, size_t *length, loff_t *ppos) in watermark_scale_factor_sysctl_handler()
8133 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_min_unmapped_ratio_sysctl_handler()
8160 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_min_slab_ratio_sysctl_handler()
8184 void __user *buffer, size_t *length, loff_t *ppos) in lowmem_reserve_ratio_sysctl_handler()
8197 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,
Dvmstat.c79 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_vm_numa_stat_handler()
1758 void __user *buffer, size_t *lenp, loff_t *ppos) in vmstat_refresh()
Dhugetlb.c3149 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler_common()
3171 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler()
3180 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_mempolicy_sysctl_handler()
3188 void __user *buffer, in hugetlb_overcommit_handler()
4369 (const void __user *) src_addr, in hugetlb_mcopy_atomic_pte()
Dmemory.c2208 void __user *uaddr; in cow_user_page()
2228 uaddr = (void __user *)(addr & PAGE_MASK); in cow_user_page()
4775 const void __user *usr_src, in copy_huge_page_from_user()
4792 (const void __user *)(src + i * PAGE_SIZE), in copy_huge_page_from_user()
Dgup.c2363 if (unlikely(!access_ok((void __user *)start, len))) in __get_user_pages_fast()
2451 if (unlikely(!access_ok((void __user *)start, len))) in get_user_pages_fast()
Dkmemleak.c1773 static ssize_t kmemleak_write(struct file *file, const char __user *user_buf, in kmemleak_write()
Dswapfile.c2534 SYSCALL_DEFINE1(swapoff, const char __user *, specialfile) in SYSCALL_DEFINE1() argument
3119 SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) in SYSCALL_DEFINE2() argument
Dnommu.c1365 SYSCALL_DEFINE1(old_mmap, struct mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
Dcompaction.c2456 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.c2342 (const void __user *)src_addr, in shmem_mfill_atomic_pte()

12