uaccess.h 825 B

123456789101112131415161718192021
  1. /*
  2. * Copyright IBM Corp. 2007
  3. *
  4. */
  5. #ifndef __ARCH_S390_LIB_UACCESS_H
  6. #define __ARCH_S390_LIB_UACCESS_H
  7. extern size_t copy_from_user_std(size_t, const void __user *, void *);
  8. extern size_t copy_to_user_std(size_t, void __user *, const void *);
  9. extern size_t strnlen_user_std(size_t, const char __user *);
  10. extern size_t strncpy_from_user_std(size_t, const char __user *, char *);
  11. extern int futex_atomic_cmpxchg_std(u32 *, u32 __user *, u32, u32);
  12. extern int futex_atomic_op_std(int, u32 __user *, int, int *);
  13. extern size_t copy_from_user_pt(size_t, const void __user *, void *);
  14. extern size_t copy_to_user_pt(size_t, void __user *, const void *);
  15. extern int futex_atomic_op_pt(int, u32 __user *, int, int *);
  16. extern int futex_atomic_cmpxchg_pt(u32 *, u32 __user *, u32, u32);
  17. #endif /* __ARCH_S390_LIB_UACCESS_H */