summaryrefslogtreecommitdiff
path: root/arch/s390/lib/uaccess.h
blob: e5b9c924b7339f2fca13c274034eff01e2df0885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 *    Copyright IBM Corp. 2007
 *
 */

#ifndef __ARCH_S390_LIB_UACCESS_H
#define __ARCH_S390_LIB_UACCESS_H

size_t copy_from_user_pt(void *to, const void __user *from, size_t n);
size_t copy_to_user_pt(void __user *to, const void *from, size_t n);
size_t copy_in_user_pt(void __user *to, const void __user *from, size_t n);
size_t clear_user_pt(void __user *to, size_t n);
size_t strnlen_user_pt(const char __user *src, size_t count);
size_t strncpy_from_user_pt(char *dst, const char __user *src, size_t count);

#endif /* __ARCH_S390_LIB_UACCESS_H */