Searched refs:clear_user (Results 1 - 78 of 78) sorted by relevance

/linux-4.4.14/arch/avr32/lib/
H A Dclear_user.S14 .global clear_user
15 .type clear_user, "function"
16 clear_user: label
61 .size clear_user, . - clear_user
H A DMakefile5 lib-y := copy_user.o clear_user.o
/linux-4.4.14/arch/h8300/lib/
H A Dmemset.S14 .global clear_user
64 clear_user: label
/linux-4.4.14/arch/unicore32/lib/
H A DMakefile9 lib-y += clear_user.o copy_page.o
/linux-4.4.14/arch/x86/lib/
H A Dusercopy_64.c49 unsigned long clear_user(void __user *to, unsigned long n) clear_user() function
55 EXPORT_SYMBOL(clear_user); variable
H A Dusercopy_32.c61 * clear_user: - Zero a block of memory in user space.
71 clear_user(void __user *to, unsigned long n) clear_user() function
78 EXPORT_SYMBOL(clear_user); variable
/linux-4.4.14/arch/alpha/lib/
H A DMakefile33 $(ev6-y)clear_user.o \
H A Dclear_user.S2 * arch/alpha/lib/clear_user.S
H A Dev6-memset.S109 * Lifted a bunch of code from clear_user.S
286 * Lifted a bunch of code from clear_user.S
473 * Lifted a bunch of code from clear_user.S
H A Dev6-clear_user.S2 * arch/alpha/lib/ev6-clear_user.S
/linux-4.4.14/arch/mn10300/kernel/
H A Dmn10300_ksyms.c27 EXPORT_SYMBOL(clear_user); variable
/linux-4.4.14/arch/frv/mm/
H A Dextable.c28 * - it was probably during a clear_user() search_exception_table()
/linux-4.4.14/arch/ia64/lib/
H A DMakefile10 clear_user.o strncpy_from_user.o strlen_user.o strnlen_user.o \
H A Dclear_user.S90 br.ret.sptk.many rp // end of short clear_user
/linux-4.4.14/arch/arm64/lib/
H A DMakefile1 lib-y := bitops.o clear_user.o delay.o copy_from_user.o \
/linux-4.4.14/arch/arm/lib/
H A DMakefile18 mmu-y := clear_user.o copy_page.o getuser.o putuser.o \
H A Duaccess_with_memcpy.c270 printk("clear_user: %d %llu %llu\n", size, t1 - t0, t2 - t1);
/linux-4.4.14/arch/hexagon/mm/
H A Duaccess.c30 * For clear_user(), exploit previously defined copy_to_user function
/linux-4.4.14/arch/m32r/kernel/
H A Dm32r_ksyms.c27 EXPORT_SYMBOL(clear_user); variable
/linux-4.4.14/arch/avr32/kernel/
H A Davr32_ksyms.c44 EXPORT_SYMBOL(clear_user); variable
/linux-4.4.14/arch/sparc/lib/
H A Dmemset.S1 /* linux/arch/sparc/lib/memset.S: Sparc optimized memset, bzero and clear_user code
8 * clear_user.
H A DGENbzero.S1 /* GENbzero.S: Generic sparc64 memset/clear_user.
H A DNGbzero.S1 /* NGbzero.S: Niagara optimized memset/clear_user.
H A Dbzero.S1 /* bzero.S: Simple prefetching memset, bzero, and clear_user
/linux-4.4.14/arch/mn10300/lib/
H A Dusercopy.c123 clear_user(void *to, unsigned long n) clear_user() function
/linux-4.4.14/arch/openrisc/lib/
H A Dstring.S72 * unsigned long clear_user(void *addr, unsigned long size) ;
/linux-4.4.14/arch/frv/include/asm/
H A Duaccess.h266 #define clear_user(dst,count) __memset_user(____force(dst), (count)) macro
272 #define clear_user(dst,count) (memset(____force(dst), 0, (count)), 0) macro
278 #define __clear_user clear_user
/linux-4.4.14/ipc/
H A Dcompat_mq.c40 if (clear_user(uattr, sizeof *uattr)) put_compat_mq_attr()
/linux-4.4.14/arch/x86/kernel/
H A Dldt.c180 if (clear_user(ptr + size, bytecount - size)) { read_ldt()
202 if (clear_user(ptr, bytecount)) read_default_ldt()
/linux-4.4.14/arch/x86/um/
H A Dldt.c94 if (clear_user(ptr, bytecount)) read_ldt()
114 if (clear_user(ptr, bytecount)) read_default_ldt()
/linux-4.4.14/fs/proc/
H A Dkcore.c500 if (clear_user(buffer, tsz)) read_kcore()
527 if (clear_user(buffer + tsz - n, read_kcore()
532 if (clear_user(buffer, tsz)) read_kcore()
/linux-4.4.14/arch/m68k/include/asm/
H A Duaccess_no.h179 #define clear_user(to,n) __clear_user(to,n) macro
H A Duaccess_mm.h391 #define clear_user __clear_user macro
/linux-4.4.14/arch/nios2/include/asm/
H A Duaccess.h90 static inline unsigned long __must_check clear_user(void __user *to, clear_user() function
/linux-4.4.14/drivers/sbus/char/
H A Djsflash.c274 clear_user(tmp, x); jsf_read()
280 * Implementation of clear_user() calls __bzero jsf_read()
/linux-4.4.14/arch/um/kernel/
H A Dprocess.c256 return clear_user(buf, size); clear_user_proc()
/linux-4.4.14/include/asm-generic/
H A Duaccess.h339 clear_user(void __user *to, unsigned long n) clear_user() function
/linux-4.4.14/arch/sh/include/asm/
H A Duaccess.h135 #define clear_user(addr,n) \ macro
/linux-4.4.14/arch/sparc/include/asm/
H A Duaccess_64.h296 #define clear_user __clear_user macro
H A Duaccess_32.h364 static inline unsigned long clear_user(void __user *addr, unsigned long n) clear_user() function
/linux-4.4.14/arch/metag/include/asm/
H A Duaccess.h237 static inline unsigned long clear_user(void __user *to, unsigned long n) clear_user() function
/linux-4.4.14/arch/parisc/include/asm/
H A Duaccess.h224 #define clear_user lclear_user macro
/linux-4.4.14/arch/m32r/lib/
H A Dusercopy.c224 clear_user(void __user *to, unsigned long n) clear_user() function
/linux-4.4.14/arch/arm64/include/asm/
H A Duaccess.h281 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n) clear_user() function
/linux-4.4.14/arch/blackfin/include/asm/
H A Duaccess.h251 #define clear_user(to, n) __clear_user(to, n) macro
/linux-4.4.14/arch/tile/include/asm/
H A Duaccess.h486 * clear_user: - Zero a block of memory in user space.
502 static inline unsigned long __must_check clear_user( clear_user() function
/linux-4.4.14/drivers/char/
H A Dmem.c116 if (clear_user(buf, sz)) read_mem()
397 if (clear_user(buf, sz)) read_kmem()
/linux-4.4.14/sound/core/
H A Dpcm_compat.c233 if (clear_user(src, sizeof(*src))) snd_pcm_status_user_compat()
297 if (clear_user(src, sizeof(*src))) snd_pcm_status_user_x32()
/linux-4.4.14/arch/m32r/include/asm/
H A Duaccess.h673 * clear_user: - Zero a block of memory in user space.
683 unsigned long clear_user(void __user *mem, unsigned long len);
/linux-4.4.14/arch/alpha/include/asm/
H A Duaccess.h426 clear_user(void __user *to, long len) clear_user() function
/linux-4.4.14/fs/
H A Dbinfmt_elf_fdpic.c999 if (clear_user((void *) (seg->addr + phdr->p_filesz), elf_fdpic_map_file_constdisp_on_uclinux()
1133 if (clear_user((void __user *) maddr, disp)) elf_fdpic_map_file_by_direct_mmap()
1167 if (clear_user((void __user *) maddr + phdr->p_filesz, elf_fdpic_map_file_by_direct_mmap()
1176 if (clear_user((void *) maddr + phdr->p_filesz, excess)) elf_fdpic_map_file_by_direct_mmap()
H A Dbinfmt_elf.c120 if (clear_user((void __user *) elf_bss, nbyte)) padzero()
887 if (clear_user((void __user *)elf_bss + load_elf_binary()
/linux-4.4.14/arch/powerpc/include/asm/
H A Duaccess.h435 static inline unsigned long clear_user(void __user *addr, unsigned long size) clear_user() function
/linux-4.4.14/arch/s390/include/asm/
H A Duaccess.h373 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n) clear_user() function
/linux-4.4.14/arch/sparc/kernel/
H A Dptrace_32.c397 clear_user(fps->fpq, sizeof(fps->fpq))) arch_ptrace()
H A Dptrace_64.c921 clear_user(&fps->fpq[0], 32 * sizeof(unsigned int))) compat_arch_ptrace()
H A Dsignal_64.c155 if (get_thread_wsaved() || clear_user(ucp, sizeof(*ucp))) sparc64_get_context()
/linux-4.4.14/arch/microblaze/include/asm/
H A Duaccess.h145 static inline unsigned long __must_check clear_user(void __user *to, clear_user() function
/linux-4.4.14/arch/mn10300/include/asm/
H A Duaccess.h492 extern unsigned long clear_user(void __user *mem, unsigned long len);
/linux-4.4.14/arch/openrisc/include/asm/
H A Duaccess.h304 clear_user(void *addr, unsigned long size) clear_user() function
/linux-4.4.14/arch/cris/include/asm/
H A Duaccess.h375 #define clear_user(to, n) \ macro
/linux-4.4.14/arch/avr32/include/asm/
H A Duaccess.h312 extern __kernel_size_t clear_user(void __user *addr, __kernel_size_t size);
/linux-4.4.14/arch/xtensa/include/asm/
H A Duaccess.h454 clear_user(void *addr, unsigned long size)
/linux-4.4.14/arch/score/include/asm/
H A Duaccess.h369 static inline unsigned long clear_user(char *src, unsigned long size) clear_user() function
/linux-4.4.14/arch/ia64/include/asm/
H A Duaccess.h292 #define clear_user(to, n) \ macro
/linux-4.4.14/arch/arm/include/asm/
H A Duaccess.h562 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n) clear_user() function
/linux-4.4.14/drivers/xen/
H A Dprivcmd.c464 if (clear_user(m.err, sizeof(int) * m.num)) { privcmd_ioctl_mmap_batch()
/linux-4.4.14/arch/x86/include/asm/
H A Duaccess.h538 unsigned long __must_check clear_user(void __user *mem, unsigned long len);
/linux-4.4.14/fs/notify/inotify/
H A Dinotify_user.c215 if (clear_user(buf, pad_name_len - name_len)) copy_event_to_user()
/linux-4.4.14/drivers/md/
H A Ddm-ioctl.c1732 if (secure_data && clear_user(user, param_kernel->data_size)) copy_params()
1750 if (secure_data && clear_user(user, param_kernel->data_size)) copy_params()
/linux-4.4.14/drivers/input/
H A Devdev.c1053 if (clear_user(codes + xfer_size, codes_size - xfer_size)) evdev_get_mask()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c1129 r = clear_user(buf, cur_size); radeon_ttm_gtt_read()
/linux-4.4.14/arch/mips/include/asm/
H A Duaccess.h1264 #define clear_user(addr,n) \ macro
/linux-4.4.14/arch/s390/kvm/
H A Dpriv.c720 if (clear_user((void __user *)useraddr, PAGE_SIZE)) handle_pfmf()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c1186 r = clear_user(buf, cur_size); amdgpu_ttm_gtt_read()
/linux-4.4.14/mm/
H A Dmempolicy.c1291 if (clear_user((char __user *)mask + nbytes, copy - nbytes)) copy_nodes_to_user()
1485 err |= clear_user(nmask, ALIGN(maxnode-1, 8) / 8); COMPAT_SYSCALL_DEFINE5()
/linux-4.4.14/drivers/scsi/aacraid/
H A Dlinit.c740 if (clear_user(f, sizeof(*f))) aac_compat_do_ioctl()
/linux-4.4.14/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c6484 if (clear_user(ioc, sizeof(*ioc))) megasas_mgmt_compat_ioctl_fw()

Completed in 4807 milliseconds