/kernel/linux/linux-6.6/tools/testing/selftests/rseq/ |
H A D | rseq-riscv-bits.h | 62 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 76 RSEQ_ASM_OP_CMPNE(v, expectnot, "%l[cmpfail]") in rseq_cmpnev_storeoffp_load() 80 RSEQ_ASM_OP_CMPNE(v, expectnot, "%l[error2]") in rseq_cmpnev_storeoffp_load() 93 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | rseq-ppc-bits.h | 79 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 96 /* cmp @v not equal to @expectnot */ in rseq_cmpnev_storeoffp_load() 97 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 102 /* cmp @v not equal to @expectnot */ in rseq_cmpnev_storeoffp_load() 103 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[error2]) in rseq_cmpnev_storeoffp_load() 121 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | rseq-arm64-bits.h | 72 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 87 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 91 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[error2]) in rseq_cmpnev_storeoffp_load() 104 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | basic_percpu_ops_test.c | 196 intptr_t *targetptr, expectnot, *load; in this_cpu_list_pop() local 202 expectnot = (intptr_t)NULL; in this_cpu_list_pop() 206 targetptr, expectnot, in this_cpu_list_pop()
|
H A D | rseq-x86-bits.h | 77 * Compare @v against @expectnot. When it does _not_ match, load @v 81 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 98 "cmpq %%rbx, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 104 "cmpq %%rbx, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 120 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load() 589 * Compare @v against @expectnot. When it does _not_ match, load @v 593 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 610 "cmpl %%ebx, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 616 "cmpl %%ebx, %[expectnot]\ in rseq_cmpnev_storeoffp_load() [all...] |
H A D | rseq-ppc.h | 162 #define RSEQ_ASM_OP_CMPNE(var, expectnot, label) \ 164 RSEQ_CMP_LONG "cr7, %%r17, %[" __rseq_str(expectnot) "]\n\t" \
|
H A D | rseq-mips-bits.h | 74 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 91 "beq $4, %[expectnot], %l[cmpfail]\n\t" in rseq_cmpnev_storeoffp_load() 96 "beq $4, %[expectnot], %l[error2]\n\t" in rseq_cmpnev_storeoffp_load() 114 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | rseq.h | 256 * Compare @v against @expectnot. When it does _not_ match, load @v 261 intptr_t *v, intptr_t expectnot, long voffp, intptr_t *load, in rseq_cmpnev_storeoffp_load() 268 return rseq_cmpnev_storeoffp_load_relaxed_cpu_id(v, expectnot, voffp, load, cpu); in rseq_cmpnev_storeoffp_load() 270 return rseq_cmpnev_storeoffp_load_relaxed_mm_cid(v, expectnot, voffp, load, cpu); in rseq_cmpnev_storeoffp_load() 260 rseq_cmpnev_storeoffp_load(enum rseq_mo rseq_mo, enum rseq_percpu_mode percpu_mode, intptr_t *v, intptr_t expectnot, long voffp, intptr_t *load, int cpu) rseq_cmpnev_storeoffp_load() argument
|
H A D | rseq-s390-bits.h | 72 * Compare @v against @expectnot. When it does _not_ match, load @v 76 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 93 LONG_CMP_R " %%r1, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 99 LONG_CMP_R " %%r1, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 116 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | rseq-arm-bits.h | 81 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 98 "cmp %[expectnot], r0\n\t" in rseq_cmpnev_storeoffp_load() 104 "cmp %[expectnot], r0\n\t" in rseq_cmpnev_storeoffp_load() 123 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | param_test.c | 636 intptr_t *targetptr, expectnot, *load; in this_cpu_list_pop() local 642 expectnot = (intptr_t)NULL; in this_cpu_list_pop() 646 targetptr, expectnot, in this_cpu_list_pop()
|
/kernel/linux/linux-5.10/tools/testing/selftests/rseq/ |
H A D | rseq-ppc.h | 166 #define RSEQ_ASM_OP_CMPNE(var, expectnot, label) \ 168 RSEQ_CMP_LONG "cr7, %%r17, %[" __rseq_str(expectnot) "]\n\t" \ 277 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 294 /* cmp @v not equal to @expectnot */ in rseq_cmpnev_storeoffp_load() 295 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 300 /* cmp @v not equal to @expectnot */ in rseq_cmpnev_storeoffp_load() 301 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[error2]) in rseq_cmpnev_storeoffp_load() 319 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | basic_percpu_ops_test.c | 169 intptr_t *targetptr, expectnot, *load; in this_cpu_list_pop() local 175 expectnot = (intptr_t)NULL; in this_cpu_list_pop() 178 ret = rseq_cmpnev_storeoffp_load(targetptr, expectnot, in this_cpu_list_pop()
|
H A D | rseq-arm64.h | 265 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 280 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[cmpfail]) in rseq_cmpnev_storeoffp_load() 284 RSEQ_ASM_OP_CMPNE(v, expectnot, %l[error2]) in rseq_cmpnev_storeoffp_load() 297 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | rseq-x86.h | 177 * Compare @v against @expectnot. When it does _not_ match, load @v 181 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 198 "cmpq %%rbx, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 204 "cmpq %%rbx, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 220 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load() 786 * Compare @v against @expectnot. When it does _not_ match, load @v 790 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 807 "cmpl %%ebx, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 813 "cmpl %%ebx, %[expectnot]\ in rseq_cmpnev_storeoffp_load() [all...] |
H A D | rseq-skip.h | 15 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument
|
H A D | rseq-mips.h | 218 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 235 "beq $4, %[expectnot], %l[cmpfail]\n\t" in rseq_cmpnev_storeoffp_load() 240 "beq $4, %[expectnot], %l[error2]\n\t" in rseq_cmpnev_storeoffp_load() 258 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | rseq-arm.h | 218 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 235 "cmp %[expectnot], r0\n\t" in rseq_cmpnev_storeoffp_load() 241 "cmp %[expectnot], r0\n\t" in rseq_cmpnev_storeoffp_load() 260 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | rseq-s390.h | 201 * Compare @v against @expectnot. When it does _not_ match, load @v 205 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() argument 222 LONG_CMP_R " %%r1, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 228 LONG_CMP_R " %%r1, %[expectnot]\n\t" in rseq_cmpnev_storeoffp_load() 245 [expectnot] "r" (expectnot), in rseq_cmpnev_storeoffp_load()
|
H A D | param_test.c | 551 intptr_t *targetptr, expectnot, *load; in this_cpu_list_pop() local 557 expectnot = (intptr_t)NULL; in this_cpu_list_pop() 560 ret = rseq_cmpnev_storeoffp_load(targetptr, expectnot, in this_cpu_list_pop()
|