Lines Matching full:variable
38 * Base implementations of per-CPU variable declarations and definitions, where
39 * the section in which the variable is to be placed is provided by the
41 * variable's storage.
75 * __pcpu_scope_* dummy variable is used to enforce scope. It
78 * DECLARE_PER_CPU() is used for the same variable.
80 * __pcpu_unique_* dummy variable is used to enforce symbol uniqueness
106 * Variant on the per-CPU variable declaration/definition theme used for
286 * a direct dereference of percpu variable (var).
319 #define __pcpu_size_call_return(stem, variable) \ argument
321 TYPEOF_UNQUAL(variable) pscr_ret__; \
322 __verify_pcpu_ptr(&(variable)); \
323 switch(sizeof(variable)) { \
324 case 1: pscr_ret__ = stem##1(variable); break; \
325 case 2: pscr_ret__ = stem##2(variable); break; \
326 case 4: pscr_ret__ = stem##4(variable); break; \
327 case 8: pscr_ret__ = stem##8(variable); break; \
334 #define __pcpu_size_call_return2(stem, variable, ...) \ argument
336 TYPEOF_UNQUAL(variable) pscr2_ret__; \
337 __verify_pcpu_ptr(&(variable)); \
338 switch(sizeof(variable)) { \
339 case 1: pscr2_ret__ = stem##1(variable, __VA_ARGS__); break; \
340 case 2: pscr2_ret__ = stem##2(variable, __VA_ARGS__); break; \
341 case 4: pscr2_ret__ = stem##4(variable, __VA_ARGS__); break; \
342 case 8: pscr2_ret__ = stem##8(variable, __VA_ARGS__); break; \
349 #define __pcpu_size_call_return2bool(stem, variable, ...) \ argument
352 __verify_pcpu_ptr(&(variable)); \
353 switch(sizeof(variable)) { \
354 case 1: pscr2_ret__ = stem##1(variable, __VA_ARGS__); break; \
355 case 2: pscr2_ret__ = stem##2(variable, __VA_ARGS__); break; \
356 case 4: pscr2_ret__ = stem##4(variable, __VA_ARGS__); break; \
357 case 8: pscr2_ret__ = stem##8(variable, __VA_ARGS__); break; \
364 #define __pcpu_size_call(stem, variable, ...) \ argument
366 __verify_pcpu_ptr(&(variable)); \
367 switch(sizeof(variable)) { \
368 case 1: stem##1(variable, __VA_ARGS__);break; \
369 case 2: stem##2(variable, __VA_ARGS__);break; \
370 case 4: stem##4(variable, __VA_ARGS__);break; \
371 case 8: stem##8(variable, __VA_ARGS__);break; \
408 * interrupt occurred and the same percpu variable was modified from the