~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/sparc/include/uapi/asm/posix_types.h

Version: ~ [ linux-6.4-rc3 ] ~ [ linux-6.3.4 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.30 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.113 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.180 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.243 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.283 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.315 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2 /*
  3  * This file is generally used by user-level software, so you need to
  4  * be a little careful about namespace pollution etc.  Also, we cannot
  5  * assume GCC is being used.
  6  */
  7 
  8 #ifndef __SPARC_POSIX_TYPES_H
  9 #define __SPARC_POSIX_TYPES_H
 10 
 11 #if defined(__sparc__) && defined(__arch64__)
 12 /* sparc 64 bit */
 13 
 14 typedef unsigned short         __kernel_old_uid_t;
 15 typedef unsigned short         __kernel_old_gid_t;
 16 #define __kernel_old_uid_t __kernel_old_uid_t
 17 
 18 /* Note this piece of asymmetry from the v9 ABI.  */
 19 typedef int                    __kernel_suseconds_t;
 20 #define __kernel_suseconds_t __kernel_suseconds_t
 21 
 22 typedef long            __kernel_long_t;
 23 typedef unsigned long   __kernel_ulong_t;
 24 #define __kernel_long_t __kernel_long_t
 25 
 26 struct __kernel_old_timeval {
 27         __kernel_long_t tv_sec;
 28         __kernel_suseconds_t tv_usec;
 29 };
 30 #define __kernel_old_timeval __kernel_old_timeval
 31 
 32 #else
 33 /* sparc 32 bit */
 34 
 35 typedef unsigned int           __kernel_size_t;
 36 typedef int                    __kernel_ssize_t;
 37 typedef long int               __kernel_ptrdiff_t;
 38 #define __kernel_size_t __kernel_size_t
 39 
 40 typedef unsigned short         __kernel_ipc_pid_t;
 41 #define __kernel_ipc_pid_t __kernel_ipc_pid_t
 42 
 43 typedef unsigned short         __kernel_uid_t;
 44 typedef unsigned short         __kernel_gid_t;
 45 #define __kernel_uid_t __kernel_uid_t
 46 
 47 typedef unsigned short         __kernel_mode_t;
 48 #define __kernel_mode_t __kernel_mode_t
 49 
 50 typedef long                   __kernel_daddr_t;
 51 #define __kernel_daddr_t __kernel_daddr_t
 52 
 53 typedef unsigned short         __kernel_old_dev_t;
 54 #define __kernel_old_dev_t __kernel_old_dev_t
 55 
 56 #endif /* defined(__sparc__) && defined(__arch64__) */
 57 
 58 #include <asm-generic/posix_types.h>
 59 
 60 #endif /* __SPARC_POSIX_TYPES_H */
 61 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp