Lines Matching refs:pcp

65 #define raw_cpu_generic_read(pcp)					\  argument
67 *raw_cpu_ptr(&(pcp)); \
70 #define raw_cpu_generic_to_op(pcp, val, op) \ argument
72 *raw_cpu_ptr(&(pcp)) op val; \
75 #define raw_cpu_generic_add_return(pcp, val) \ argument
77 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
83 #define raw_cpu_generic_xchg(pcp, nval) \ argument
85 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
86 typeof(pcp) __ret; \
92 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
94 typeof(pcp) *__p = raw_cpu_ptr(&(pcp)); \
95 typeof(pcp) __ret; \
115 #define __this_cpu_generic_read_nopreempt(pcp) \ argument
117 typeof(pcp) ___ret; \
119 ___ret = READ_ONCE(*raw_cpu_ptr(&(pcp))); \
124 #define __this_cpu_generic_read_noirq(pcp) \ argument
126 typeof(pcp) ___ret; \
129 ___ret = raw_cpu_generic_read(pcp); \
134 #define this_cpu_generic_read(pcp) \ argument
136 typeof(pcp) __ret; \
137 if (__native_word(pcp)) \
138 __ret = __this_cpu_generic_read_nopreempt(pcp); \
140 __ret = __this_cpu_generic_read_noirq(pcp); \
144 #define this_cpu_generic_to_op(pcp, val, op) \ argument
148 raw_cpu_generic_to_op(pcp, val, op); \
153 #define this_cpu_generic_add_return(pcp, val) \ argument
155 typeof(pcp) __ret; \
158 __ret = raw_cpu_generic_add_return(pcp, val); \
163 #define this_cpu_generic_xchg(pcp, nval) \ argument
165 typeof(pcp) __ret; \
168 __ret = raw_cpu_generic_xchg(pcp, nval); \
173 #define this_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
175 typeof(pcp) __ret; \
178 __ret = raw_cpu_generic_cmpxchg(pcp, oval, nval); \
195 #define raw_cpu_read_1(pcp) raw_cpu_generic_read(pcp) argument
198 #define raw_cpu_read_2(pcp) raw_cpu_generic_read(pcp) argument
201 #define raw_cpu_read_4(pcp) raw_cpu_generic_read(pcp) argument
204 #define raw_cpu_read_8(pcp) raw_cpu_generic_read(pcp) argument
208 #define raw_cpu_write_1(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
211 #define raw_cpu_write_2(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
214 #define raw_cpu_write_4(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
217 #define raw_cpu_write_8(pcp, val) raw_cpu_generic_to_op(pcp, val, =) argument
221 #define raw_cpu_add_1(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
224 #define raw_cpu_add_2(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
227 #define raw_cpu_add_4(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
230 #define raw_cpu_add_8(pcp, val) raw_cpu_generic_to_op(pcp, val, +=) argument
234 #define raw_cpu_and_1(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
237 #define raw_cpu_and_2(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
240 #define raw_cpu_and_4(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
243 #define raw_cpu_and_8(pcp, val) raw_cpu_generic_to_op(pcp, val, &=) argument
247 #define raw_cpu_or_1(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
250 #define raw_cpu_or_2(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
253 #define raw_cpu_or_4(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
256 #define raw_cpu_or_8(pcp, val) raw_cpu_generic_to_op(pcp, val, |=) argument
260 #define raw_cpu_add_return_1(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
263 #define raw_cpu_add_return_2(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
266 #define raw_cpu_add_return_4(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
269 #define raw_cpu_add_return_8(pcp, val) raw_cpu_generic_add_return(pcp, val) argument
273 #define raw_cpu_xchg_1(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
276 #define raw_cpu_xchg_2(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
279 #define raw_cpu_xchg_4(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
282 #define raw_cpu_xchg_8(pcp, nval) raw_cpu_generic_xchg(pcp, nval) argument
286 #define raw_cpu_cmpxchg_1(pcp, oval, nval) \ argument
287 raw_cpu_generic_cmpxchg(pcp, oval, nval)
290 #define raw_cpu_cmpxchg_2(pcp, oval, nval) \ argument
291 raw_cpu_generic_cmpxchg(pcp, oval, nval)
294 #define raw_cpu_cmpxchg_4(pcp, oval, nval) \ argument
295 raw_cpu_generic_cmpxchg(pcp, oval, nval)
298 #define raw_cpu_cmpxchg_8(pcp, oval, nval) \ argument
299 raw_cpu_generic_cmpxchg(pcp, oval, nval)
320 #define this_cpu_read_1(pcp) this_cpu_generic_read(pcp) argument
323 #define this_cpu_read_2(pcp) this_cpu_generic_read(pcp) argument
326 #define this_cpu_read_4(pcp) this_cpu_generic_read(pcp) argument
329 #define this_cpu_read_8(pcp) this_cpu_generic_read(pcp) argument
333 #define this_cpu_write_1(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
336 #define this_cpu_write_2(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
339 #define this_cpu_write_4(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
342 #define this_cpu_write_8(pcp, val) this_cpu_generic_to_op(pcp, val, =) argument
346 #define this_cpu_add_1(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
349 #define this_cpu_add_2(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
352 #define this_cpu_add_4(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
355 #define this_cpu_add_8(pcp, val) this_cpu_generic_to_op(pcp, val, +=) argument
359 #define this_cpu_and_1(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
362 #define this_cpu_and_2(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
365 #define this_cpu_and_4(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
368 #define this_cpu_and_8(pcp, val) this_cpu_generic_to_op(pcp, val, &=) argument
372 #define this_cpu_or_1(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
375 #define this_cpu_or_2(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
378 #define this_cpu_or_4(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
381 #define this_cpu_or_8(pcp, val) this_cpu_generic_to_op(pcp, val, |=) argument
385 #define this_cpu_add_return_1(pcp, val) this_cpu_generic_add_return(pcp, val) argument
388 #define this_cpu_add_return_2(pcp, val) this_cpu_generic_add_return(pcp, val) argument
391 #define this_cpu_add_return_4(pcp, val) this_cpu_generic_add_return(pcp, val) argument
394 #define this_cpu_add_return_8(pcp, val) this_cpu_generic_add_return(pcp, val) argument
398 #define this_cpu_xchg_1(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
401 #define this_cpu_xchg_2(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
404 #define this_cpu_xchg_4(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
407 #define this_cpu_xchg_8(pcp, nval) this_cpu_generic_xchg(pcp, nval) argument
411 #define this_cpu_cmpxchg_1(pcp, oval, nval) \ argument
412 this_cpu_generic_cmpxchg(pcp, oval, nval)
415 #define this_cpu_cmpxchg_2(pcp, oval, nval) \ argument
416 this_cpu_generic_cmpxchg(pcp, oval, nval)
419 #define this_cpu_cmpxchg_4(pcp, oval, nval) \ argument
420 this_cpu_generic_cmpxchg(pcp, oval, nval)
423 #define this_cpu_cmpxchg_8(pcp, oval, nval) \ argument
424 this_cpu_generic_cmpxchg(pcp, oval, nval)