Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/rseq/
Drseq.h241 intptr_t *v, intptr_t expect, in rseq_cmpeqv_storev()
242 intptr_t newv, int cpu) in rseq_cmpeqv_storev()
261 intptr_t *v, intptr_t expectnot, long voffp, intptr_t *load, in rseq_cmpnev_storeoffp_load()
277 intptr_t *v, intptr_t count, int cpu) in rseq_addv()
297 intptr_t *ptr, long off, intptr_t inc, int cpu) in rseq_offset_deref_addv()
313 intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev()
314 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev()
315 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev()
341 intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev()
342 intptr_t *v2, intptr_t expect2, in rseq_cmpeqv_cmpeqv_storev()
[all …]
Drseq-x86-bits.h16 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
81 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
82 long voffp, intptr_t *load, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
150 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
204 int RSEQ_TEMPLATE_IDENTIFIER(rseq_offset_deref_addv)(intptr_t *ptr, long off, intptr_t inc, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
255 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
256 intptr_t *v2, intptr_t expect2, in RSEQ_TEMPLATE_IDENTIFIER()
257 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
337 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
338 intptr_t *v2, intptr_t newv2, in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
Drseq-riscv-bits.h9 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
62 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
63 off_t voffp, intptr_t *load, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
119 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
163 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
164 intptr_t *v2, intptr_t expect2, in RSEQ_TEMPLATE_IDENTIFIER()
165 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
232 int RSEQ_TEMPLATE_IDENTIFIER(rseq_offset_deref_addv)(intptr_t *ptr, off_t off, intptr_t inc, int cp… in RSEQ_TEMPLATE_IDENTIFIER()
281 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
282 intptr_t *v2, intptr_t newv2, in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
Drseq-mips-bits.h14 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
74 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
75 long voffp, intptr_t *load, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
140 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
190 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
191 intptr_t *v2, intptr_t expect2, in RSEQ_TEMPLATE_IDENTIFIER()
192 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
270 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
271 intptr_t *v2, intptr_t newv2, in RSEQ_TEMPLATE_IDENTIFIER()
272 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
Drseq-s390-bits.h9 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
76 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
77 long voffp, intptr_t *load, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
147 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
199 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
200 intptr_t *v2, intptr_t expect2, in RSEQ_TEMPLATE_IDENTIFIER()
201 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
284 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
285 intptr_t *v2, intptr_t newv2, in RSEQ_TEMPLATE_IDENTIFIER()
286 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
Drseq-arm-bits.h14 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
81 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
82 long voffp, intptr_t *load, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
154 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
207 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
208 intptr_t *v2, intptr_t expect2, in RSEQ_TEMPLATE_IDENTIFIER()
209 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
297 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
298 intptr_t *v2, intptr_t newv2, in RSEQ_TEMPLATE_IDENTIFIER()
299 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
Drseq-arm64-bits.h15 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
72 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
73 long voffp, intptr_t *load, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
134 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
181 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
182 intptr_t *v2, intptr_t expect2, in RSEQ_TEMPLATE_IDENTIFIER()
183 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
255 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
256 intptr_t *v2, intptr_t newv2, in RSEQ_TEMPLATE_IDENTIFIER()
257 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
Drseq-ppc-bits.h15 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
79 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
80 long voffp, intptr_t *load, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
152 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
207 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
208 intptr_t *v2, intptr_t expect2, in RSEQ_TEMPLATE_IDENTIFIER()
209 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
292 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
293 intptr_t *v2, intptr_t newv2, in RSEQ_TEMPLATE_IDENTIFIER()
294 intptr_t newv, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
Dbasic_percpu_ops_test.c42 intptr_t v;
50 intptr_t count;
60 intptr_t data;
167 intptr_t *targetptr, newval, expect; in this_cpu_list_push()
172 expect = (intptr_t)RSEQ_READ_ONCE(list->c[cpu].head); in this_cpu_list_push()
173 newval = (intptr_t)node; in this_cpu_list_push()
174 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_push()
196 intptr_t *targetptr, expectnot, *load; in this_cpu_list_pop()
201 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_pop()
202 expectnot = (intptr_t)NULL; in this_cpu_list_pop()
[all …]
Dparam_test.c326 intptr_t v;
334 intptr_t count;
359 intptr_t data;
374 intptr_t data;
378 intptr_t offset;
379 intptr_t buflen;
390 intptr_t data1;
395 intptr_t offset;
396 intptr_t buflen;
604 intptr_t *targetptr, newval, expect; in this_cpu_list_push()
[all …]
/linux-6.6.21/tools/include/nolibc/
Dstdio.h38 static __attribute__((unused)) FILE* const stdin = (FILE*)(intptr_t)~STDIN_FILENO;
39 static __attribute__((unused)) FILE* const stdout = (FILE*)(intptr_t)~STDOUT_FILENO;
40 static __attribute__((unused)) FILE* const stderr = (FILE*)(intptr_t)~STDERR_FILENO;
50 return (FILE*)(intptr_t)~fd; in fdopen()
57 intptr_t i = (intptr_t)stream; in fileno()
70 intptr_t i = (intptr_t)stream; in fflush()
86 intptr_t i = (intptr_t)stream; in fclose()
Dstdint.h21 typedef signed long intptr_t; typedef
Dsys.h94 void *sbrk(intptr_t inc) in sbrk()
/linux-6.6.21/tools/lib/subcmd/
Dparse-options.h108 intptr_t defval;
132 …= check_vtype(v, unsigned int *), .help = (h), .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d) }
140 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d) }
144 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d), \
156 …l), .value = (v), .argh = (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .flags = PARSE…
159 .value = (v), .arg = (a), .help = (h), .callback = (f), .defval = (intptr_t)d,\
/linux-6.6.21/arch/mips/fw/cfe/
Dcfe_api.c26 #define XPTR_FROM_NATIVE(n) ((cfe_xptr_t) (intptr_t) (n))
27 #define NATIVE_FROM_XPTR(x) ((void *) (intptr_t) (x))
40 static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb);
54 return (*cfe_dispfunc) ((intptr_t) cfe_handle, (intptr_t) xiocb); in cfe_iocb_dispatch()
/linux-6.6.21/tools/testing/selftests/
Dkselftest_harness.h722 long long __seen_print = (intptr_t)__seen; \
729 long long __exp_print = (intptr_t)__exp; \
737 long long __exp_print = (intptr_t)__exp; \
738 long long __seen_print = (intptr_t)__seen; \
/linux-6.6.21/include/linux/
Dtypes.h43 typedef long intptr_t; typedef
/linux-6.6.21/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c28 #define PTR_TO_INT(p) ((int)((intptr_t)(p)))
29 #define INT_TO_PTR(u) ((void *)((intptr_t)(u)))
/linux-6.6.21/tools/usb/usbip/src/
Dusbip_network.c113 buff = (void *)((intptr_t) buff + nbytes); in usbip_net_xmit()
/linux-6.6.21/tools/testing/selftests/nolibc/
Dnolibc-test.c1001 … EXPECT_EQ(1, INTPTR_MIN, sizeof(long) == 8 ? (intptr_t) 0x8000000000000000LL : (intptr_t in run_stdlib()
1002 … EXPECT_EQ(1, INTPTR_MAX, sizeof(long) == 8 ? (intptr_t) 0x7fffffffffffffffLL : (intptr_t in run_stdlib()
/linux-6.6.21/tools/perf/util/
Dcs-etm.c458 idx = (int)(intptr_t)inode->priv; in cs_etm__clear_all_packet_queues()
537 idx = (int)(intptr_t)inode->priv; in cs_etm__etmq_get_traceid_queue()
556 inode->priv = (void *)(intptr_t)idx; in cs_etm__etmq_get_traceid_queue()
2410 idx = (int)(intptr_t)inode->priv; in cs_etm__clear_all_traceid_queues()
2488 idx = (int)(intptr_t)inode->priv; in cs_etm__run_per_cpu_timeless_decoder()
2495 idx = (int)(intptr_t)inode->priv; in cs_etm__run_per_cpu_timeless_decoder()
Dsymbol.c2083 ret = (int)((intptr_t)map_a - (intptr_t)map_b); in map__strcmp()
/linux-6.6.21/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c86 #define ptr_to_int(p) ((int)((intptr_t)(p)))
87 #define int_to_ptr(u) ((void *)((intptr_t)(u)))