oldinstr 68 arch/arm64/include/asm/alternative.h #define __ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg_enabled) \ oldinstr 71 arch/arm64/include/asm/alternative.h oldinstr "\n" \ oldinstr 85 arch/arm64/include/asm/alternative.h #define __ALTERNATIVE_CFG_CB(oldinstr, feature, cfg_enabled, cb) \ oldinstr 88 arch/arm64/include/asm/alternative.h oldinstr "\n" \ oldinstr 97 arch/arm64/include/asm/alternative.h #define _ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg, ...) \ oldinstr 98 arch/arm64/include/asm/alternative.h __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg)) oldinstr 100 arch/arm64/include/asm/alternative.h #define ALTERNATIVE_CB(oldinstr, cb) \ oldinstr 101 arch/arm64/include/asm/alternative.h __ALTERNATIVE_CFG_CB(oldinstr, ARM64_CB_PATCH, 1, cb) oldinstr 222 arch/arm64/include/asm/alternative.h .macro user_alt, label, oldinstr, newinstr, cond oldinstr 295 arch/arm64/include/asm/alternative.h #define ALTERNATIVE(oldinstr, newinstr, ...) \ oldinstr 296 arch/arm64/include/asm/alternative.h _ALTERNATIVE_CFG(oldinstr, newinstr, __VA_ARGS__, 1) oldinstr 67 arch/s390/include/asm/alternative-asm.h .macro ALTERNATIVE oldinstr, newinstr, feature oldinstr 86 arch/s390/include/asm/alternative-asm.h .macro ALTERNATIVE_2 oldinstr, newinstr1, feature1, newinstr2, feature2 oldinstr 70 arch/s390/include/asm/alternative.h #define OLDINSTR_PADDING(oldinstr, num) \ oldinstr 81 arch/s390/include/asm/alternative.h #define OLDINSTR(oldinstr, num) \ oldinstr 82 arch/s390/include/asm/alternative.h "661:\n\t" oldinstr "\n662:\n" \ oldinstr 83 arch/s390/include/asm/alternative.h OLDINSTR_PADDING(oldinstr, num) \ oldinstr 87 arch/s390/include/asm/alternative.h #define OLDINSTR_2(oldinstr, num1, num2) \ oldinstr 88 arch/s390/include/asm/alternative.h "661:\n\t" oldinstr "\n662:\n" \ oldinstr 90 arch/s390/include/asm/alternative.h OLDINSTR_PADDING(oldinstr, num2) \ oldinstr 92 arch/s390/include/asm/alternative.h OLDINSTR_PADDING(oldinstr, num1) \ oldinstr 109 arch/s390/include/asm/alternative.h #define ALTERNATIVE(oldinstr, altinstr, facility) \ oldinstr 113 arch/s390/include/asm/alternative.h OLDINSTR(oldinstr, 1) \ oldinstr 118 arch/s390/include/asm/alternative.h #define ALTERNATIVE_2(oldinstr, altinstr1, facility1, altinstr2, facility2)\ oldinstr 123 arch/s390/include/asm/alternative.h OLDINSTR_2(oldinstr, 1, 2) \ oldinstr 141 arch/s390/include/asm/alternative.h #define alternative(oldinstr, altinstr, facility) \ oldinstr 142 arch/s390/include/asm/alternative.h asm volatile(ALTERNATIVE(oldinstr, altinstr, facility) : : : "memory") oldinstr 144 arch/s390/include/asm/alternative.h #define alternative_2(oldinstr, altinstr1, facility1, altinstr2, facility2) \ oldinstr 145 arch/s390/include/asm/alternative.h asm volatile(ALTERNATIVE_2(oldinstr, altinstr1, facility1, \ oldinstr 54 arch/x86/include/asm/alternative-asm.h .macro ALTERNATIVE oldinstr, newinstr, feature oldinstr 90 arch/x86/include/asm/alternative-asm.h .macro ALTERNATIVE_2 oldinstr, newinstr1, feature1, newinstr2, feature2 oldinstr 107 arch/x86/include/asm/alternative.h #define OLDINSTR(oldinstr, num) \ oldinstr 109 arch/x86/include/asm/alternative.h "661:\n\t" oldinstr "\n662:\n" \ oldinstr 127 arch/x86/include/asm/alternative.h #define OLDINSTR_2(oldinstr, num1, num2) \ oldinstr 129 arch/x86/include/asm/alternative.h "661:\n\t" oldinstr "\n662:\n" \ oldinstr 158 arch/x86/include/asm/alternative.h #define ALTERNATIVE(oldinstr, newinstr, feature) \ oldinstr 159 arch/x86/include/asm/alternative.h OLDINSTR(oldinstr, 1) \ oldinstr 167 arch/x86/include/asm/alternative.h #define ALTERNATIVE_2(oldinstr, newinstr1, feature1, newinstr2, feature2)\ oldinstr 168 arch/x86/include/asm/alternative.h OLDINSTR_2(oldinstr, 1, 2) \ oldinstr 203 arch/x86/include/asm/alternative.h #define alternative(oldinstr, newinstr, feature) \ oldinstr 204 arch/x86/include/asm/alternative.h asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory") oldinstr 206 arch/x86/include/asm/alternative.h #define alternative_2(oldinstr, newinstr1, feature1, newinstr2, feature2) \ oldinstr 207 arch/x86/include/asm/alternative.h asm_inline volatile(ALTERNATIVE_2(oldinstr, newinstr1, feature1, newinstr2, feature2) ::: "memory") oldinstr 220 arch/x86/include/asm/alternative.h #define alternative_input(oldinstr, newinstr, feature, input...) \ oldinstr 221 arch/x86/include/asm/alternative.h asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ oldinstr 232 arch/x86/include/asm/alternative.h #define alternative_input_2(oldinstr, newinstr1, feature1, newinstr2, \ oldinstr 234 arch/x86/include/asm/alternative.h asm_inline volatile(ALTERNATIVE_2(oldinstr, newinstr1, feature1, \ oldinstr 239 arch/x86/include/asm/alternative.h #define alternative_io(oldinstr, newinstr, feature, output, input...) \ oldinstr 240 arch/x86/include/asm/alternative.h asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \