Home
last modified time | relevance | path

Searched refs:clear_user (Results 1 – 25 of 53) sorted by relevance

123

/linux/arch/x86/lib/
H A Dusercopy_32.c62 clear_user(void __user *to, unsigned long n) in clear_user() function
69 EXPORT_SYMBOL(clear_user);
/linux/arch/loongarch/lib/
H A DMakefile7 clear_user.o copy_user.o csum.o dump_tlb.o unaligned.o
/linux/arch/x86/include/asm/
H A Duaccess_32.h36 unsigned long __must_check clear_user(void __user *mem, unsigned long len);
H A Duaccess_64.h202 static __always_inline unsigned long clear_user(void __user *to, unsigned long n) in clear_user() function
/linux/arch/arm64/lib/
H A DMakefile2 lib-y := clear_user.o delay.o copy_from_user.o \
/linux/arch/alpha/lib/
H A DMakefile30 $(ev6-y)clear_user.o \
/linux/drivers/char/
H A Dmem.c120 if (clear_user(buf, sz)) in read_mem()
148 remaining = clear_user(buf, sz); in read_mem()
504 left = clear_user(buf + cleared, chunk); in read_zero()
/linux/arch/arm/lib/
H A DMakefile19 mmu-y := clear_user.o copy_page.o getuser.o putuser.o \
/linux/arch/sh/include/asm/
H A Duaccess.h107 #define clear_user(addr,n) \ macro
/linux/arch/nios2/include/asm/
H A Duaccess.h48 static inline unsigned long __must_check clear_user(void __user *to, in clear_user() function
/linux/arch/loongarch/include/asm/
H A Duaccess.h244 #define clear_user(addr, n) \ macro
/linux/arch/microblaze/include/asm/
H A Duaccess.h46 static inline unsigned long __must_check clear_user(void __user *to, in clear_user() function
/linux/arch/parisc/include/asm/
H A Duaccess.h178 #define clear_user lclear_user macro
/linux/arch/x86/kernel/
H A Dldt.c529 if (clear_user(ptr + entries_size, bytecount - entries_size)) { in read_ldt()
551 if (clear_user(ptr, bytecount)) in read_default_ldt()
/linux/arch/openrisc/include/asm/
H A Duaccess.h227 clear_user(void __user *addr, unsigned long size) in clear_user() function
/linux/arch/sparc/include/asm/
H A Duaccess_32.h212 static inline unsigned long clear_user(void __user *addr, unsigned long n) in clear_user() function
H A Duaccess_64.h243 #define clear_user __clear_user macro
/linux/arch/alpha/include/asm/
H A Duaccess.h200 clear_user(void __user *to, long len) in clear_user() function
/linux/arch/xtensa/include/asm/
H A Duaccess.h259 clear_user(void __user *addr, unsigned long size) in clear_user() function
/linux/include/asm-generic/
H A Duaccess.h220 clear_user(void __user *to, unsigned long n) in clear_user() function
/linux/security/keys/
H A Dkeyctl_pkey.c187 clear_user(_res->__spare, sizeof(_res->__spare)) == 0) in keyctl_pkey_query()
/linux/arch/riscv/include/asm/
H A Duaccess.h346 unsigned long __must_check clear_user(void __user *to, unsigned long n) in clear_user() function
/linux/arch/mips/include/asm/
H A Duaccess.h478 #define clear_user(addr,n) \ macro
/linux/fs/
H A Dbinfmt_elf_fdpic.c980 if (clear_user((void *) (seg->addr + phdr->p_filesz), in elf_fdpic_map_file_constdisp_on_uclinux()
1112 if (clear_user((void __user *) maddr, disp)) in elf_fdpic_map_file_by_direct_mmap()
1146 if (clear_user((void __user *) maddr + phdr->p_filesz, in elf_fdpic_map_file_by_direct_mmap()
1156 if (clear_user((void *) maddr + phdr->p_filesz, excess)) in elf_fdpic_map_file_by_direct_mmap()
/linux/lib/
H A Dusercopy_kunit.c163 KUNIT_EXPECT_EQ_MSG(test, clear_user(umem + ksize, usize - ksize), 0, in usercopy_test_copy_struct_from_user()

123