• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #define CP_mode                                     0
2 #define _CP_mode                                    (1<<0)
3 #define CP_ownership                                1
4 #define _CP_ownership                               (1<<1)
5 #define CP_timestamps                               2
6 #define _CP_timestamps                              (1<<2)
7 #define CP_context                                  3
8 #define _CP_context                                 (1<<3)
9 #define CP_xattr                                    4
10 #define _CP_xattr                                   (1<<4)
11 #define PS_PID                                      0
12 #define _PS_PID                                     (1<<0)
13 #define PS_PPID                                     1
14 #define _PS_PPID                                    (1<<1)
15 #define PS_PRI                                      2
16 #define _PS_PRI                                     (1<<2)
17 #define PS_NI                                       3
18 #define _PS_NI                                      (1<<3)
19 #define PS_ADDR                                     4
20 #define _PS_ADDR                                    (1<<4)
21 #define PS_SZ                                       5
22 #define _PS_SZ                                      (1<<5)
23 #define PS_RSS                                      6
24 #define _PS_RSS                                     (1<<6)
25 #define PS_PGID                                     7
26 #define _PS_PGID                                    (1<<7)
27 #define PS_VSZ                                      8
28 #define _PS_VSZ                                     (1<<8)
29 #define PS_MAJFL                                    9
30 #define _PS_MAJFL                                   (1<<9)
31 #define PS_MINFL                                    10
32 #define _PS_MINFL                                   (1<<10)
33 #define PS_PR                                       11
34 #define _PS_PR                                      (1<<11)
35 #define PS_PSR                                      12
36 #define _PS_PSR                                     (1<<12)
37 #define PS_RTPRIO                                   13
38 #define _PS_RTPRIO                                  (1<<13)
39 #define PS_SCH                                      14
40 #define _PS_SCH                                     (1<<14)
41 #define PS_CPU                                      15
42 #define _PS_CPU                                     (1<<15)
43 #define PS_TID                                      16
44 #define _PS_TID                                     (1<<16)
45 #define PS_TCNT                                     17
46 #define _PS_TCNT                                    (1<<17)
47 #define PS_BIT                                      18
48 #define _PS_BIT                                     (1<<18)
49 #define PS_TTY                                      19
50 #define _PS_TTY                                     (1<<19)
51 #define PS_WCHAN                                    20
52 #define _PS_WCHAN                                   (1<<20)
53 #define PS_LABEL                                    21
54 #define _PS_LABEL                                   (1<<21)
55 #define PS_COMM                                     22
56 #define _PS_COMM                                    (1<<22)
57 #define PS_NAME                                     23
58 #define _PS_NAME                                    (1<<23)
59 #define PS_COMMAND                                  24
60 #define _PS_COMMAND                                 (1<<24)
61 #define PS_CMDLINE                                  25
62 #define _PS_CMDLINE                                 (1<<25)
63 #define PS_ARGS                                     26
64 #define _PS_ARGS                                    (1<<26)
65 #define PS_CMD                                      27
66 #define _PS_CMD                                     (1<<27)
67 #define PS_UID                                      28
68 #define _PS_UID                                     (1<<28)
69 #define PS_USER                                     29
70 #define _PS_USER                                    (1<<29)
71 #define PS_RUID                                     30
72 #define _PS_RUID                                    (1<<30)
73 #define PS_RUSER                                    31
74 #define _PS_RUSER                                   (1<<31)
75 #define PS_GID                                      32
76 #define _PS_GID                                     (1LL<<32)
77 #define PS_GROUP                                    33
78 #define _PS_GROUP                                   (1LL<<33)
79 #define PS_RGID                                     34
80 #define _PS_RGID                                    (1LL<<34)
81 #define PS_RGROUP                                   35
82 #define _PS_RGROUP                                  (1LL<<35)
83 #define PS_TIME                                     36
84 #define _PS_TIME                                    (1LL<<36)
85 #define PS_ELAPSED                                  37
86 #define _PS_ELAPSED                                 (1LL<<37)
87 #define PS_TIME_                                    38
88 #define _PS_TIME_                                   (1LL<<38)
89 #define PS_C                                        39
90 #define _PS_C                                       (1LL<<39)
91 #define PS__VSZ                                     40
92 #define _PS__VSZ                                    (1LL<<40)
93 #define PS__MEM                                     41
94 #define _PS__MEM                                    (1LL<<41)
95 #define PS__CPU                                     42
96 #define _PS__CPU                                    (1LL<<42)
97 #define PS_VIRT                                     43
98 #define _PS_VIRT                                    (1LL<<43)
99 #define PS_RES                                      44
100 #define _PS_RES                                     (1LL<<44)
101 #define PS_SHR                                      45
102 #define _PS_SHR                                     (1LL<<45)
103 #define PS_READ                                     46
104 #define _PS_READ                                    (1LL<<46)
105 #define PS_WRITE                                    47
106 #define _PS_WRITE                                   (1LL<<47)
107 #define PS_IO                                       48
108 #define _PS_IO                                      (1LL<<48)
109 #define PS_DREAD                                    49
110 #define _PS_DREAD                                   (1LL<<49)
111 #define PS_DWRITE                                   50
112 #define _PS_DWRITE                                  (1LL<<50)
113 #define PS_SWAP                                     51
114 #define _PS_SWAP                                    (1LL<<51)
115 #define PS_DIO                                      52
116 #define _PS_DIO                                     (1LL<<52)
117 #define PS_STIME                                    53
118 #define _PS_STIME                                   (1LL<<53)
119 #define PS_F                                        54
120 #define _PS_F                                       (1LL<<54)
121 #define PS_S                                        55
122 #define _PS_S                                       (1LL<<55)
123 #define PS_STAT                                     56
124 #define _PS_STAT                                    (1LL<<56)
125 #define PS_PCY                                      57
126 #define _PS_PCY                                     (1LL<<57)
127 #define KEY_UP                                       0
128 #define _KEY_UP                                      (1<<0)
129 #define KEY_DOWN                                     1
130 #define _KEY_DOWN                                    (1<<1)
131 #define KEY_RIGHT                                    2
132 #define _KEY_RIGHT                                   (1<<2)
133 #define KEY_LEFT                                     3
134 #define _KEY_LEFT                                    (1<<3)
135 #define KEY_PGUP                                     4
136 #define _KEY_PGUP                                    (1<<4)
137 #define KEY_PGDN                                     5
138 #define _KEY_PGDN                                    (1<<5)
139 #define KEY_HOME                                     6
140 #define _KEY_HOME                                    (1<<6)
141 #define KEY_END                                      7
142 #define _KEY_END                                     (1<<7)
143 #define KEY_INSERT                                   8
144 #define _KEY_INSERT                                  (1<<8)
145 #define KEY_F1                                       9
146 #define _KEY_F1                                      (1<<9)
147 #define KEY_F2                                       10
148 #define _KEY_F2                                      (1<<10)
149 #define KEY_F3                                       11
150 #define _KEY_F3                                      (1<<11)
151 #define KEY_F4                                       12
152 #define _KEY_F4                                      (1<<12)
153 #define KEY_F5                                       13
154 #define _KEY_F5                                      (1<<13)
155 #define KEY_F6                                       14
156 #define _KEY_F6                                      (1<<14)
157 #define KEY_F7                                       15
158 #define _KEY_F7                                      (1<<15)
159 #define KEY_F8                                       16
160 #define _KEY_F8                                      (1<<16)
161 #define KEY_F9                                       17
162 #define _KEY_F9                                      (1<<17)
163 #define KEY_SUP                                      18
164 #define _KEY_SUP                                     (1<<18)
165 #define KEY_AUP                                      19
166 #define _KEY_AUP                                     (1<<19)
167 #define KEY_CUP                                      20
168 #define _KEY_CUP                                     (1<<20)
169 #define KEY_SDOWN                                    21
170 #define _KEY_SDOWN                                   (1<<21)
171 #define KEY_ADOWN                                    22
172 #define _KEY_ADOWN                                   (1<<22)
173 #define KEY_CDOWN                                    23
174 #define _KEY_CDOWN                                   (1<<23)
175 #define KEY_SRIGHT                                   24
176 #define _KEY_SRIGHT                                  (1<<24)
177 #define KEY_ARIGHT                                   25
178 #define _KEY_ARIGHT                                  (1<<25)
179 #define KEY_CRIGHT                                   26
180 #define _KEY_CRIGHT                                  (1<<26)
181 #define KEY_SLEFT                                    27
182 #define _KEY_SLEFT                                   (1<<27)
183 #define KEY_ALEFT                                    28
184 #define _KEY_ALEFT                                   (1<<28)
185 #define KEY_CLEFT                                    29
186 #define _KEY_CLEFT                                   (1<<29)
187 #define KEY_SF1                                      30
188 #define _KEY_SF1                                     (1<<30)
189 #define KEY_AF1                                      31
190 #define _KEY_AF1                                     (1<<31)
191 #define KEY_CF1                                      32
192 #define _KEY_CF1                                     (1LL<<32)
193