]>
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>
17 #include <linux/smp_compat.h>
18 #include <linux/workqueue_compat.h>
19 #include <linux/kallsyms_compat.h>
21 #ifndef HAVE_UINTPTR_T
22 typedef unsigned long uintptr_t;
26 #define ULLONG_MAX (~0ULL)
30 #define LLONG_MAX ((long long)(~0ULL>>1))
33 typedef enum { B_FALSE
=0, B_TRUE
=1 } boolean_t
;
34 typedef unsigned long intptr_t;
35 typedef unsigned long ulong_t
;
36 typedef unsigned int uint_t
;
37 typedef unsigned char uchar_t
;
38 typedef unsigned long long u_longlong_t
;
39 typedef unsigned long long u_offset_t
;
40 typedef unsigned long long rlim64_t
;
41 typedef long long longlong_t
;
42 typedef long long offset_t
;
43 typedef struct task_struct kthread_t
;
44 typedef struct vmem
{ } vmem_t
;
46 typedef struct timespec timestruc_t
; /* definition per SVr4 */
47 typedef struct timespec timespec_t
;
48 typedef longlong_t hrtime_t
;
49 typedef unsigned short ushort_t
;
50 typedef u_longlong_t len_t
;
51 typedef longlong_t diskaddr_t
;
52 typedef ushort_t o_mode_t
;
53 typedef uint_t major_t
;
54 typedef uint_t minor_t
;
55 typedef ulong_t pfn_t
;
56 typedef ulong_t pgcnt_t
;
57 typedef long spgcnt_t
;
59 #endif /* _SPL_TYPES_H */