]>
git.proxmox.com Git - mirror_spl-debian.git/blob - include/sys/types.h
8 #include <linux/types.h>
9 #include <sys/sysmacros.h>
10 #include "spl_config.h"
12 #include <linux/uaccess_compat.h>
13 #include <linux/file_compat.h>
14 #include <linux/list_compat.h>
15 #include <linux/time_compat.h>
16 #include <linux/bitops_compat.h>
18 #ifndef HAVE_UINTPTR_T
19 typedef unsigned long uintptr_t;
23 #define ULLONG_MAX (~0ULL)
27 #define LLONG_MAX ((long long)(~0ULL>>1))
30 typedef enum { B_FALSE
=0, B_TRUE
=1 } boolean_t
;
31 typedef unsigned long intptr_t;
32 typedef unsigned long ulong_t
;
33 typedef unsigned int uint_t
;
34 typedef unsigned char uchar_t
;
35 typedef unsigned long long u_longlong_t
;
36 typedef unsigned long long u_offset_t
;
37 typedef unsigned long long rlim64_t
;
38 typedef long long longlong_t
;
39 typedef long long offset_t
;
40 typedef struct task_struct kthread_t
;
41 typedef struct vmem
{ } vmem_t
;
43 typedef struct timespec timestruc_t
; /* definition per SVr4 */
44 typedef struct timespec timespec_t
;
45 typedef longlong_t hrtime_t
;
46 typedef unsigned short ushort_t
;
47 typedef u_longlong_t len_t
;
48 typedef longlong_t diskaddr_t
;
49 typedef ushort_t o_mode_t
;
50 typedef uint_t major_t
;
51 typedef uint_t minor_t
;
52 typedef ulong_t pfn_t
;
53 typedef ulong_t pgcnt_t
;
54 typedef long spgcnt_t
;
56 #endif /* _SPL_TYPES_H */