Lines Matching refs:pcp
68 #define raw_cpu_generic_to_op(pcp, val, op) \ argument
70 *raw_cpu_ptr(&(pcp)) op val; \
73 #define raw_cpu_generic_add_return(pcp, val) \ argument
75 raw_cpu_add(pcp, val); \
76 raw_cpu_read(pcp); \
79 #define raw_cpu_generic_xchg(pcp, nval) \ argument
81 typeof(pcp) __ret; \
82 __ret = raw_cpu_read(pcp); \
83 raw_cpu_write(pcp, nval); \
87 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
89 typeof(pcp) __ret; \
90 __ret = raw_cpu_read(pcp); \
92 raw_cpu_write(pcp, nval); \
108 #define this_cpu_generic_read(pcp) \ argument
110 typeof(pcp) __ret; \
112 __ret = *this_cpu_ptr(&(pcp)); \
117 #define this_cpu_generic_to_op(pcp, val, op) \ argument
121 *raw_cpu_ptr(&(pcp)) op val; \
125 #define this_cpu_generic_add_return(pcp, val) \ argument
127 typeof(pcp) __ret; \
130 raw_cpu_add(pcp, val); \
131 __ret = raw_cpu_read(pcp); \
136 #define this_cpu_generic_xchg(pcp, nval) \ argument
138 typeof(pcp) __ret; \
141 __ret = raw_cpu_read(pcp); \
142 raw_cpu_write(pcp, nval); \
147 #define this_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
149 typeof(pcp) __ret; \
152 __ret = raw_cpu_read(pcp); \
154 raw_cpu_write(pcp, nval); \
171 #define raw_cpu_read_1(pcp) (*raw_cpu_ptr(&(pcp))) argument
174 #define raw_cpu_read_2(pcp) (*raw_cpu_ptr(&(pcp))) argument
177 #define raw_cpu_read_4(pcp) (*raw_cpu_ptr(&(pcp))) argument
180 #define raw_cpu_read_8(pcp) (*raw_cpu_ptr(&(pcp))) argument
184 #define raw_cpu_write_1(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
187 #define raw_cpu_write_2(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
190 #define raw_cpu_write_4(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
193 #define raw_cpu_write_8(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
197 #define raw_cpu_add_1(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
200 #define raw_cpu_add_2(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
203 #define raw_cpu_add_4(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
206 #define raw_cpu_add_8(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
210 #define raw_cpu_and_1(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
213 #define raw_cpu_and_2(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
216 #define raw_cpu_and_4(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
219 #define raw_cpu_and_8(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
223 #define raw_cpu_or_1(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
226 #define raw_cpu_or_2(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
229 #define raw_cpu_or_4(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
232 #define raw_cpu_or_8(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
236 #define raw_cpu_add_return_1(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
239 #define raw_cpu_add_return_2(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
242 #define raw_cpu_add_return_4(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
245 #define raw_cpu_add_return_8(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
249 #define raw_cpu_xchg_1(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
252 #define raw_cpu_xchg_2(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
255 #define raw_cpu_xchg_4(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
258 #define raw_cpu_xchg_8(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
262 #define raw_cpu_cmpxchg_1(pcp, oval, nval) \ argument
263 raw_cpu_generic_cmpxchg(pcp, oval, nval)
266 #define raw_cpu_cmpxchg_2(pcp, oval, nval) \ argument
267 raw_cpu_generic_cmpxchg(pcp, oval, nval)
270 #define raw_cpu_cmpxchg_4(pcp, oval, nval) \ argument
271 raw_cpu_generic_cmpxchg(pcp, oval, nval)
274 #define raw_cpu_cmpxchg_8(pcp, oval, nval) \ argument
275 raw_cpu_generic_cmpxchg(pcp, oval, nval)
296 #define this_cpu_read_1(pcp) this_cpu_generic_read(pcp) argument
299 #define this_cpu_read_2(pcp) this_cpu_generic_read(pcp) argument
302 #define this_cpu_read_4(pcp) this_cpu_generic_read(pcp) argument
305 #define this_cpu_read_8(pcp) this_cpu_generic_read(pcp) argument
309 #define this_cpu_write_1(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
312 #define this_cpu_write_2(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
315 #define this_cpu_write_4(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
318 #define this_cpu_write_8(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
322 #define this_cpu_add_1(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
325 #define this_cpu_add_2(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
328 #define this_cpu_add_4(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
331 #define this_cpu_add_8(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
335 #define this_cpu_and_1(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
338 #define this_cpu_and_2(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
341 #define this_cpu_and_4(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
344 #define this_cpu_and_8(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
348 #define this_cpu_or_1(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
351 #define this_cpu_or_2(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
354 #define this_cpu_or_4(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
357 #define this_cpu_or_8(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
361 #define this_cpu_add_return_1(pcp, val) this_cpu_generic_add_return(pcp, val) argument
364 #define this_cpu_add_return_2(pcp, val) this_cpu_generic_add_return(pcp, val) argument
367 #define this_cpu_add_return_4(pcp, val) this_cpu_generic_add_return(pcp, val) argument
370 #define this_cpu_add_return_8(pcp, val) this_cpu_generic_add_return(pcp, val) argument
374 #define this_cpu_xchg_1(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
377 #define this_cpu_xchg_2(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
380 #define this_cpu_xchg_4(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
383 #define this_cpu_xchg_8(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
387 #define this_cpu_cmpxchg_1(pcp, oval, nval) \ argument
388 this_cpu_generic_cmpxchg(pcp, oval, nval)
391 #define this_cpu_cmpxchg_2(pcp, oval, nval) \ argument
392 this_cpu_generic_cmpxchg(pcp, oval, nval)
395 #define this_cpu_cmpxchg_4(pcp, oval, nval) \ argument
396 this_cpu_generic_cmpxchg(pcp, oval, nval)
399 #define this_cpu_cmpxchg_8(pcp, oval, nval) \ argument
400 this_cpu_generic_cmpxchg(pcp, oval, nval)