Home
last modified time | relevance | path

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

123

/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);
/linux/arch/x86/lib/
H A Dusercopy_32.c52 * clear_user - Zero a block of memory in user space.
62 clear_user(void __user *to, unsigned long n) in clear_user() function
69 EXPORT_SYMBOL(clear_user);
/linux/arch/arm64/lib/
H A DMakefile2 lib-y := clear_user.o delay.o copy_from_user.o \
/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/sh/include/asm/
H A Duaccess.h107 #define clear_user(addr,n) \ macro
/linux/drivers/fwctl/
H A Dmain.c50 if (clear_user(to + copy_len, user_len - copy_len)) in copy_to_user_zero_pad()
66 if (clear_user(u64_to_user_ptr(cmd->out_device_data), in fwctl_cmd_info()
/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/loongarch/include/asm/
H A Duaccess.h244 #define clear_user(addr, n) \ macro
/linux/arch/openrisc/include/asm/
H A Duaccess.h227 clear_user(void __user *addr, unsigned long size) in clear_user() function
/linux/arch/parisc/include/asm/
H A Duaccess.h193 #define clear_user lclear_user macro
/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/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/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/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()
1147 if (clear_user((void __user *) maddr + phdr->p_filesz, in elf_fdpic_map_file_by_direct_mmap()
1157 if (clear_user((void *) maddr + phdr->p_filesz, excess)) in elf_fdpic_map_file_by_direct_mmap()
/linux/include/linux/
H A Duaccess.h493 if (clear_user(dst + size, rest)) in copy_struct_to_user()
/linux/lib/tests/
H A Dusercopy_kunit.c164 KUNIT_EXPECT_EQ_MSG(test, clear_user(umem + ksize, usize - ksize), 0, in usercopy_test_copy_struct_from_user()
165 "legitimate clear_user failed"); in usercopy_test_copy_struct_from_user()
/linux/kernel/
H A Drseq.c368 if (clear_user(&rseq->rseq_cs, sizeof(rseq->rseq_cs))) in clear_rseq_cs()
/linux/arch/riscv/include/asm/
H A Duaccess.h433 unsigned long __must_check clear_user(void __user *to, unsigned long n) in clear_user() function
/linux/arch/m68k/include/asm/
H A Duaccess.h446 #define clear_user __clear_user macro

123