/bionic/libc/kernel/arch-x86/asm/ |
percpu_32.h | 29 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) macro 32 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 34 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 35 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 36 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
percpu_32.h | 29 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) macro 32 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 34 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 35 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 36 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/ |
percpu_32.h | 25 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) macro 30 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 31 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 32 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 33 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/ |
percpu_32.h | 25 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) macro 30 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 31 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 32 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 33 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/ |
percpu_32.h | 25 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) macro 30 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 31 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 32 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 33 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/ |
percpu_32.h | 25 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) macro 30 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 31 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 32 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 33 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/ |
percpu_32.h | 25 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) macro 30 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 31 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 32 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 33 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/asm/ |
percpu_32.h | 29 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) macro 32 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 34 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 35 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 36 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm/ |
percpu_32.h | 29 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) macro 32 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 34 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 35 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 36 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|
/external/kernel-headers/original/asm-x86/ |
percpu_32.h | 100 #define percpu_to_op(op,var,val) \ macro 148 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) 149 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) 150 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) 151 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
|