Home
last modified time | relevance | path

Searched refs:intptr_t (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/tools/testing/selftests/rseq/
Drseq-skip.h9 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev()
15 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load()
16 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load()
22 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv()
28 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev()
29 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev()
30 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev()
36 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release()
37 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release()
38 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release()
[all …]
Drseq-x86.h116 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev()
181 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load()
182 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load()
250 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv()
304 int rseq_offset_deref_addv(intptr_t *ptr, long off, intptr_t inc, int cpu) in rseq_offset_deref_addv()
355 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev()
356 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev()
357 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev()
426 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release()
427 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release()
[all …]
Drseq-s390.h138 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev()
205 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load()
206 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load()
276 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv()
328 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev()
329 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev()
330 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev()
401 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release()
402 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release()
403 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release()
[all …]
Drseq-arm.h151 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev()
218 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load()
219 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load()
291 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv()
344 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev()
345 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev()
346 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev()
420 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release()
421 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release()
422 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release()
[all …]
Drseq-mips.h158 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev()
218 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load()
219 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load()
284 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv()
334 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev()
335 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev()
336 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev()
403 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release()
404 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release()
405 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release()
[all …]
Drseq-ppc.h213 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev()
277 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load()
278 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load()
350 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv()
405 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev()
406 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev()
407 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev()
478 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release()
479 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release()
480 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release()
[all …]
Drseq-arm64.h208 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev()
265 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load()
266 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load()
327 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv()
374 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev()
375 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev()
376 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev()
437 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release()
438 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release()
439 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release()
[all …]
Dbasic_percpu_ops_test.c16 intptr_t v;
24 intptr_t count;
34 intptr_t data;
141 intptr_t *targetptr, newval, expect; in this_cpu_list_push()
146 expect = (intptr_t)RSEQ_READ_ONCE(list->c[cpu].head); in this_cpu_list_push()
147 newval = (intptr_t)node; in this_cpu_list_push()
148 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_push()
169 intptr_t *targetptr, expectnot, *load; in this_cpu_list_pop()
174 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_pop()
175 expectnot = (intptr_t)NULL; in this_cpu_list_pop()
[all …]
Dparam_test.c249 intptr_t v;
257 intptr_t count;
282 intptr_t data;
297 intptr_t data;
301 intptr_t offset;
302 intptr_t buflen;
313 intptr_t data1;
318 intptr_t offset;
319 intptr_t buflen;
520 intptr_t *targetptr, newval, expect; in this_cpu_list_push()
[all …]
/kernel/liteos_m/testsuites/sample/kernel/queue/
DIt_los_queue_head_042.c72 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff4 + index), buff3[index], in Testcase()
73 *((char *)(intptr_t)buff4 + index), EXIT); in Testcase()
74 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff5 + index), buff2[index], in Testcase()
75 *((char *)(intptr_t)buff5 + index), EXIT); in Testcase()
76 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff6 + index), buff1[index], in Testcase()
77 *((char *)(intptr_t)buff6 + index), EXIT); in Testcase()
DIt_los_queue_head_028.c68 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff4 + index), buff3[index], in Testcase()
69 *((char *)(intptr_t)buff4 + index), EXIT); in Testcase()
70 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff5 + index), buff2[index], in Testcase()
71 *((char *)(intptr_t)buff5 + index), EXIT); in Testcase()
72 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff6 + index), buff1[index], in Testcase()
73 *((char *)(intptr_t)buff6 + index), EXIT); in Testcase()
DIt_los_queue_037.c68 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff4 + index), buff1[index], in Testcase()
69 *((char *)(intptr_t)buff4 + index), EXIT); in Testcase()
70 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff5 + index), buff2[index], in Testcase()
71 *((char *)(intptr_t)buff5 + index), EXIT); in Testcase()
72 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff6 + index), buff3[index], in Testcase()
73 *((char *)(intptr_t)buff6 + index), EXIT); in Testcase()
DIt_los_queue_060.c72 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff4 + index), buff1[index], in Testcase()
73 *((char *)(intptr_t)buff4 + index), EXIT); in Testcase()
74 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff5 + index), buff2[index], in Testcase()
75 *((char *)(intptr_t)buff5 + index), EXIT); in Testcase()
76 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff6 + index), buff3[index], in Testcase()
77 *((char *)(intptr_t)buff6 + index), EXIT); in Testcase()
DIt_los_queue_head_011.c50 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 6), buff1[6], *((char *)(intptr_t)buff2 + 6), EXIT);… in Testcase()
51 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 7), 'S', *((char *)(intptr_t)buff2 + 7), EXIT); // 7… in Testcase()
DIt_los_queue_012.c51 … ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 6), buff1[6], *((char *)(intptr_t)buff2 + 6), EXIT); in Testcase()
53 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 7), 'S', *((char *)(intptr_t)buff2 + 7), EXIT); in Testcase()
DIt_los_queue_head_012.c49 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 7), buff1[7], *((char *)(intptr_t)buff2 + 7), EXIT);… in Testcase()
50 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + QUEUE_BASE_MSGSIZE), '\0', *((char *)(intptr_t)buff2… in Testcase()
DIt_los_queue_013.c51 … ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 7), buff1[7], *((char *)(intptr_t)buff2 + 7), EXIT); in Testcase()
52 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + QUEUE_BASE_MSGSIZE), '\0', *((char *)(intptr_t)buff2… in Testcase()
DIt_los_queue_head_019.c51 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + index), buff1[index], in Testcase()
52 *((char *)(intptr_t)buff2 + index), EXIT); in Testcase()
/kernel/liteos_a/testsuites/unittest/extended/liteipc/smoke/
Dliteipc_test_001.cpp65 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest()
67 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest()
69 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest()
71 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest()
74 ICUNIT_ASSERT_NOT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest()
76 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest()
122 ICUNIT_ASSERT_NOT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in TestCase()
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
Dsignal_test_013.cpp123 if ((int)(intptr_t)status1 != 0) { in TestSigMultiPthread()
127 if ((int)(intptr_t)status1 != 0) { in TestSigMultiPthread()
131 if ((int)(intptr_t)status1 != 0) { in TestSigMultiPthread()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
DIt_posix_pthread_124.cpp35 intptr_t i = (intptr_t)num; in pthread_f01()
/kernel/liteos_m/testsuites/sample/posix/pthread/
DIt_posix_pthread_017.c37 intptr_t i = (intptr_t)num; in PthreadF01()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
DIt_posix_pthread_023.c42 … ICUNIT_ASSERT_EQUAL_VOID((int)(intptr_t)arg, 8, (int)(intptr_t)arg); // 8, here assert the result. in PthreadCleanF01()
DIt_posix_pthread_124.c44 intptr_t i = (intptr_t)num; in PthreadF01()
/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_net_container_009.cpp165 return (void *)(intptr_t)EXIT_CODE_ERRNO_1; in TcpClientThread()
170 return (void *)(intptr_t)EXIT_CODE_ERRNO_2; in TcpClientThread()
174 return (void *)(intptr_t)EXIT_CODE_ERRNO_3; in TcpClientThread()
179 return (void *)(intptr_t)ret; in TcpClientThread()

123