Lines Matching refs:pcp
69 #define raw_cpu_generic_read(pcp) \ argument
71 *raw_cpu_ptr(&(pcp)); \
74 #define raw_cpu_generic_to_op(pcp, val, op) \ argument
76 *raw_cpu_ptr(&(pcp)) op val; \
79 #define raw_cpu_generic_add_return(pcp, val) \ argument
81 typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \
87 #define raw_cpu_generic_xchg(pcp, nval) \ argument
89 typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \
90 typeof(pcp) __ret; \
96 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
98 typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \
99 typeof(pcp) __ret; \
119 #define __this_cpu_generic_read_nopreempt(pcp) \ argument
121 typeof(pcp) __ret; \
123 __ret = READ_ONCE(*raw_cpu_ptr(&(pcp))); \
128 #define __this_cpu_generic_read_noirq(pcp) \ argument
130 typeof(pcp) __ret; \
133 __ret = raw_cpu_generic_read(pcp); \
138 #define this_cpu_generic_read(pcp) \ argument
140 typeof(pcp) __ret; \
141 if (__native_word(pcp)) \
142 __ret = __this_cpu_generic_read_nopreempt(pcp); \
144 __ret = __this_cpu_generic_read_noirq(pcp); \
148 #define this_cpu_generic_to_op(pcp, val, op) \ argument
152 raw_cpu_generic_to_op(pcp, val, op); \
157 #define this_cpu_generic_add_return(pcp, val) \ argument
159 typeof(pcp) __ret; \
162 __ret = raw_cpu_generic_add_return(pcp, val); \
167 #define this_cpu_generic_xchg(pcp, nval) \ argument
169 typeof(pcp) __ret; \
172 __ret = raw_cpu_generic_xchg(pcp, nval); \
177 #define this_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
179 typeof(pcp) __ret; \
182 __ret = raw_cpu_generic_cmpxchg(pcp, oval, nval); \
199 #define raw_cpu_read_1(pcp) raw_cpu_generic_read(pcp) argument
202 #define raw_cpu_read_2(pcp) raw_cpu_generic_read(pcp) argument
205 #define raw_cpu_read_4(pcp) raw_cpu_generic_read(pcp) argument
208 #define raw_cpu_read_8(pcp) raw_cpu_generic_read(pcp) argument
212 #define raw_cpu_write_1(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
215 #define raw_cpu_write_2(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
218 #define raw_cpu_write_4(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
221 #define raw_cpu_write_8(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
225 #define raw_cpu_add_1(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
228 #define raw_cpu_add_2(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
231 #define raw_cpu_add_4(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
234 #define raw_cpu_add_8(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
238 #define raw_cpu_and_1(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
241 #define raw_cpu_and_2(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
244 #define raw_cpu_and_4(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
247 #define raw_cpu_and_8(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
251 #define raw_cpu_or_1(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
254 #define raw_cpu_or_2(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
257 #define raw_cpu_or_4(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
260 #define raw_cpu_or_8(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
264 #define raw_cpu_add_return_1(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
267 #define raw_cpu_add_return_2(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
270 #define raw_cpu_add_return_4(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
273 #define raw_cpu_add_return_8(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
277 #define raw_cpu_xchg_1(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
280 #define raw_cpu_xchg_2(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
283 #define raw_cpu_xchg_4(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
286 #define raw_cpu_xchg_8(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
290 #define raw_cpu_cmpxchg_1(pcp, oval, nval) \ argument
291 raw_cpu_generic_cmpxchg(pcp, oval, nval)
294 #define raw_cpu_cmpxchg_2(pcp, oval, nval) \ argument
295 raw_cpu_generic_cmpxchg(pcp, oval, nval)
298 #define raw_cpu_cmpxchg_4(pcp, oval, nval) \ argument
299 raw_cpu_generic_cmpxchg(pcp, oval, nval)
302 #define raw_cpu_cmpxchg_8(pcp, oval, nval) \ argument
303 raw_cpu_generic_cmpxchg(pcp, oval, nval)
324 #define this_cpu_read_1(pcp) this_cpu_generic_read(pcp) argument
327 #define this_cpu_read_2(pcp) this_cpu_generic_read(pcp) argument
330 #define this_cpu_read_4(pcp) this_cpu_generic_read(pcp) argument
333 #define this_cpu_read_8(pcp) this_cpu_generic_read(pcp) argument
337 #define this_cpu_write_1(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
340 #define this_cpu_write_2(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
343 #define this_cpu_write_4(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
346 #define this_cpu_write_8(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
350 #define this_cpu_add_1(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
353 #define this_cpu_add_2(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
356 #define this_cpu_add_4(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
359 #define this_cpu_add_8(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
363 #define this_cpu_and_1(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
366 #define this_cpu_and_2(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
369 #define this_cpu_and_4(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
372 #define this_cpu_and_8(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
376 #define this_cpu_or_1(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
379 #define this_cpu_or_2(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
382 #define this_cpu_or_4(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
385 #define this_cpu_or_8(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
389 #define this_cpu_add_return_1(pcp, val) this_cpu_generic_add_return(pcp, val) argument
392 #define this_cpu_add_return_2(pcp, val) this_cpu_generic_add_return(pcp, val) argument
395 #define this_cpu_add_return_4(pcp, val) this_cpu_generic_add_return(pcp, val) argument
398 #define this_cpu_add_return_8(pcp, val) this_cpu_generic_add_return(pcp, val) argument
402 #define this_cpu_xchg_1(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
405 #define this_cpu_xchg_2(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
408 #define this_cpu_xchg_4(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
411 #define this_cpu_xchg_8(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
415 #define this_cpu_cmpxchg_1(pcp, oval, nval) \ argument
416 this_cpu_generic_cmpxchg(pcp, oval, nval)
419 #define this_cpu_cmpxchg_2(pcp, oval, nval) \ argument
420 this_cpu_generic_cmpxchg(pcp, oval, nval)
423 #define this_cpu_cmpxchg_4(pcp, oval, nval) \ argument
424 this_cpu_generic_cmpxchg(pcp, oval, nval)
427 #define this_cpu_cmpxchg_8(pcp, oval, nval) \ argument
428 this_cpu_generic_cmpxchg(pcp, oval, nval)