/src/lib/libc/sys/ |
Lint_sbrk.c | 12 sbrk(intptr_t incr)
|
/src/sys/sys/ |
ksem.h | 56 intptr_t ks_pshared_id; /* global id for pshared sem */ 71 int do_ksem_init(struct lwp *, unsigned int, intptr_t *, copyin_t, copyout_t); 73 intptr_t *, copyout_t); 74 int do_ksem_wait(struct lwp *, intptr_t, bool, struct timespec *); 89 int _ksem_close(intptr_t); 90 int _ksem_destroy(intptr_t); 91 int _ksem_getvalue(intptr_t, int *); 92 int _ksem_init(unsigned int, intptr_t *); 93 int _ksem_open(const char *, int, mode_t, unsigned int, intptr_t *); 94 int _ksem_post(intptr_t); [all...] |
/src/sys/external/bsd/common/include/linux/ |
err.h | 53 return (void *)(intptr_t)error; 59 KASSERT(ptr == (void *)(intptr_t)(long)(intptr_t)ptr); /* XXX Hurk! */ 60 return (long)(intptr_t)ptr;
|
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
FuzzerRandom.h | 25 intptr_t operator()(intptr_t From, intptr_t To) { 27 intptr_t RangeSize = To - From + 1;
|
/src/sys/arch/pmax/pmax/ |
machdep.h | 34 extern intptr_t physmem_boardmax; /* {model,simm}-specific bound on physmem */
|
/src/sys/kern/ |
systrace_args.c | 13 intptr_t *iarg = (intptr_t *)uarg; 39 uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ 48 uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */ 56 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 73 uarg[1] = (intptr_t) SCARG(p, status); /* int * */ 75 uarg[3] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */ 82 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 90 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 91 uarg[1] = (intptr_t) SCARG(p, link); /* const char * * [all...] |
/src/sys/compat/netbsd32/ |
netbsd32_systrace_args.c | 13 intptr_t *iarg = (intptr_t *)uarg; 39 uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */ 48 uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */ 56 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */ 73 uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */ 75 uarg[3] = (intptr_t) SCARG(p, rusage).i32; /* netbsd32_rusage50p_t */ 82 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */ 90 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */ 91 uarg[1] = (intptr_t) SCARG(p, link).i32; /* netbsd32_charp * [all...] |
netbsd32_sem.c | 50 intptr_t *argp = dst; 54 KASSERT(size == sizeof(intptr_t)); 65 const intptr_t *idp = src; 68 KASSERT(size == sizeof(intptr_t)); 124 NETBSD32TOX_UAP(id, intptr_t); 136 NETBSD32TOX_UAP(id, intptr_t); 165 intptr_t id; 170 intptr_t id; 197 NETBSD32TOX_UAP(id, intptr_t); 210 NETBSD32TOX_UAP(id, intptr_t); [all...] |
/src/sys/compat/linux32/arch/amd64/ |
linux32_systrace_args.c | 13 intptr_t *iarg = (intptr_t *)uarg; 36 uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */ 45 uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */ 53 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */ 70 uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */ 78 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */ 86 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */ 87 uarg[1] = (intptr_t) SCARG(p, link).i32; /* netbsd32_charp */ 94 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp * [all...] |
/src/sys/compat/linux/arch/aarch64/ |
linux_systrace_args.c | 13 intptr_t *iarg = (intptr_t *)uarg; 18 uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 19 uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 20 uarg[2] = (intptr_t) SCARG(p, value); /* void * */ 29 uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 30 uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 31 uarg[2] = (intptr_t) SCARG(p, value); /* void * */ 41 uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 42 uarg[2] = (intptr_t) SCARG(p, value); /* void * * [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
xray_powerpc64.cc | 34 const intptr_t Mask = ~(LineSize - 1); 35 const intptr_t StartLine = ((intptr_t)Addr) & Mask; 36 const intptr_t EndLine = ((intptr_t)Addr + Len + LineSize - 1) & Mask; 38 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) 42 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
|
/src/tests/lib/libc/stdlib/ |
t_hsearch.c | 101 e.data = (void *)(intptr_t)i; 107 ATF_REQUIRE_EQ((intptr_t)ep->data, i); 121 ATF_REQUIRE_EQ((intptr_t)ep->data, i); 142 e.data = (void *)(intptr_t) 0; 148 ATF_REQUIRE_EQ((intptr_t)ep->data, 0); 150 e.data = (void *)(intptr_t)12345; 157 ATF_REQUIRE_EQ((intptr_t)ep->data, 0); 198 e.data = (void*)(intptr_t)0; 204 ATF_REQUIRE_EQ((intptr_t)ep->data, 0); 207 e.data = (void*)(intptr_t)1 [all...] |
/src/sys/ddb/ |
db_panic.c | 56 (db_expr_t)(intptr_t)__builtin_return_address(0), 58 (db_expr_t)(intptr_t)__builtin_frame_address(0),
|
/src/sys/compat/linux/arch/i386/ |
linux_systrace_args.c | 13 intptr_t *iarg = (intptr_t *)uarg; 36 uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ 45 uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */ 53 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 70 uarg[1] = (intptr_t) SCARG(p, status); /* int * */ 78 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 86 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 87 uarg[1] = (intptr_t) SCARG(p, link); /* const char * */ 94 uarg[0] = (intptr_t) SCARG(p, path); /* const char * * [all...] |
/src/sys/compat/linux/arch/arm/ |
linux_systrace_args.c | 13 intptr_t *iarg = (intptr_t *)uarg; 36 uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ 45 uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */ 53 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 70 uarg[1] = (intptr_t) SCARG(p, status); /* int * */ 78 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 86 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 87 uarg[1] = (intptr_t) SCARG(p, link); /* const char * */ 94 uarg[0] = (intptr_t) SCARG(p, path); /* const char * * [all...] |
/src/sys/compat/linux/arch/amd64/ |
linux_systrace_args.c | 13 intptr_t *iarg = (intptr_t *)uarg; 19 uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ 28 uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */ 36 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 52 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 53 uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_stat64 * */ 61 uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_stat64 * */ 68 uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 69 uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_stat64 * * [all...] |
/src/lib/libc/arch/mips/gen/ |
cacheflush.c | 41 cfa.va = (vaddr_t)(intptr_t)addr;
|
makecontext.c | 67 gr[_REG_SP] = (intptr_t)sp; 68 gr[_REG_RA] = (intptr_t)__resumecontext; 69 gr[_REG_T9] = (intptr_t)func; /* required for .abicalls */ 70 gr[_REG_EPC] = (intptr_t)func;
|
/src/sys/arch/pmax/ibus/ |
ibusvar.h | 26 intptr_t ia_cookie; /* device cookie */
|
/src/sys/compat/linux32/arch/aarch64/ |
linux32_systrace_args.c | 13 intptr_t *iarg = (intptr_t *)uarg; 36 uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */ 45 uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */ 53 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */ 70 uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */ 78 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */ 86 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */ 87 uarg[1] = (intptr_t) SCARG(p, link).i32; /* netbsd32_charp */ 94 uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp * [all...] |
/src/lib/librumpuser/ |
rumpuser_component.c | 53 return (void *)(intptr_t)nlocks; 59 int nlocks = (int)(intptr_t)cookie;
|
/src/usr.bin/tip/ |
tip.h | 153 #define number(v) ((int)(intptr_t)(v)) 154 #define boolean(v) ((short)(intptr_t)(v)) 155 #define character(v) ((char)(intptr_t)(v)) 156 #define address(v) ((long *)(intptr_t)(v)) 158 #define setnumber(v,n) do { (v) = (char *)(intptr_t)(n); } while (0) 159 #define setboolean(v,n) do { (v) = (char *)(intptr_t)(n); } while (0) 160 #define setcharacter(v,n) do { (v) = (char *)(intptr_t)(n); } while (0) 161 #define setaddress(v,n) do { (v) = (char *)(intptr_t)(n); } while (0)
|
/src/tests/kernel/kqueue/ |
t_scan.c | 71 return (void *)(intptr_t)i; 85 intptr_t r1, r2; 100 r1 = (intptr_t)v1; 103 r2 = (intptr_t)v2;
|
/src/sys/arch/riscv/riscv/ |
sig_machdep.c | 66 return (char *)stack_align((intptr_t)l->l_sigstk.ss_sp + l->l_sigstk.ss_size); 67 return (void *)(intptr_t)stack_align(tf->tf_sp); 129 tf->tf_a1 = (intptr_t)&sf->sf_si; 130 tf->tf_a2 = (intptr_t)&sf->sf_uc; 132 tf->tf_pc = (intptr_t)catcher; 133 tf->tf_sp = (intptr_t)sf; 134 tf->tf_ra = (intptr_t)sa->sa_sigdesc[signo].sd_tramp;
|
/src/tests/lib/semaphore/ |
sem.c | 321 F2(init, unsigned int, intptr_t *); 322 F1(close, intptr_t); 323 F1(destroy, intptr_t); 324 F1(post, intptr_t); 326 F1(trywait, intptr_t); 327 F1(wait, intptr_t); 328 F2(getvalue, intptr_t, unsigned int *); 329 F2(timedwait, intptr_t, const struct timespec *); 330 int _ksem_open(const char *, int, mode_t, unsigned int, intptr_t *); 331 int _ksem_open(const char *a, int b, mode_t c, unsigned int d, intptr_t *e [all...] |