/arch/s390/lib/uaccess.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35 · C++ Header · 23 lines · 13 code · 4 blank · 6 comment · 0 complexity · a8ade1ea0e9a603a63a6f6434a37b545 MD5 · raw file

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