Searched refs:pcp (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/include/asm-generic/ |
D | percpu.h | 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 [all …]
|
/linux-4.19.296/include/linux/ |
D | percpu-defs.h | 421 #define raw_cpu_read(pcp) __pcpu_size_call_return(raw_cpu_read_, pcp) argument 422 #define raw_cpu_write(pcp, val) __pcpu_size_call(raw_cpu_write_, pcp, val) argument 423 #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) argument 424 #define raw_cpu_and(pcp, val) __pcpu_size_call(raw_cpu_and_, pcp, val) argument 425 #define raw_cpu_or(pcp, val) __pcpu_size_call(raw_cpu_or_, pcp, val) argument 426 #define raw_cpu_add_return(pcp, val) __pcpu_size_call_return2(raw_cpu_add_return_, pcp, val) argument 427 #define raw_cpu_xchg(pcp, nval) __pcpu_size_call_return2(raw_cpu_xchg_, pcp, nval) argument 428 #define raw_cpu_cmpxchg(pcp, oval, nval) \ argument 429 __pcpu_size_call_return2(raw_cpu_cmpxchg_, pcp, oval, nval) 433 #define raw_cpu_sub(pcp, val) raw_cpu_add(pcp, -(val)) argument [all …]
|
D | gfp.h | 581 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp);
|
D | mmzone.h | 284 struct per_cpu_pages pcp; member
|
/linux-4.19.296/lib/ |
D | percpu_test.c | 4 #define CHECK(native, pcp, expected) \ argument 10 WARN(__this_cpu_read(pcp) != (expected), \ 12 __this_cpu_read(pcp), __this_cpu_read(pcp), \
|