Home
last modified time | relevance | path

Searched refs:oldlenp (Results 1 – 25 of 39) sorted by relevance

12

/external/jemalloc_new/include/jemalloc/internal/
Dctl.h93 int ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp,
98 size_t *oldlenp, void *newp, size_t newlen);
104 #define xmallctl(name, oldp, oldlenp, newp, newlen) do { \ argument
105 if (je_mallctl(name, oldp, oldlenp, newp, newlen) \
122 #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \ argument
123 if (je_mallctlbymib(mib, miblen, oldp, oldlenp, newp, \
/external/jemalloc_new/src/
Dctl.c51 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
1173 ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp, in ctl_byname() argument
1194 ret = node->ctl(tsd, mib, depth, oldp, oldlenp, newp, newlen); in ctl_byname()
1220 size_t *oldlenp, void *newp, size_t newlen) { in ctl_bymib() argument
1257 ret = node->ctl(tsd, mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()
1305 if (oldp != NULL || oldlenp != NULL) { \
1312 if ((oldp != NULL && oldlenp != NULL) && (newp != NULL || \
1320 if (oldp != NULL && oldlenp != NULL) { \
1321 if (*oldlenp != sizeof(t)) { \
1322 size_t copylen = (sizeof(t) <= *oldlenp) \
[all …]
Djemalloc.c3070 je_mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp, argument
3084 ret = ctl_byname(tsd, name, oldp, oldlenp, newp, newlen);
3112 je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, argument
3126 ret = ctl_bymib(tsd, mib, miblen, oldp, oldlenp, newp, newlen);
/external/jemalloc_new/include/jemalloc/
Djemalloc_protos.h45 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc_protos_jet.h45 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc_protos.h.in45 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc.h231 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
235 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_netbsd.cpp305 uptr *oldlenp, const void *newp, uptr newlen) { in internal_sysctl() argument
307 return __sysctl(name, namelen, oldp, (size_t *)oldlenp, newp, (size_t)newlen); in internal_sysctl()
310 int internal_sysctlbyname(const char *sname, void *oldp, uptr *oldlenp, in internal_sysctlbyname() argument
314 return _REAL(sysctlbyname, sname, oldp, (size_t *)oldlenp, newp, in internal_sysctlbyname()
Dsanitizer_posix.h69 uptr *oldlenp, const void *newp, uptr newlen);
70 int internal_sysctlbyname(const char *sname, void *oldp, uptr *oldlenp,
Dsanitizer_mac.cpp242 uptr *oldlenp, const void *newp, uptr newlen) { in internal_sysctl() argument
243 return sysctl(const_cast<int *>(name), namelen, oldp, (size_t *)oldlenp, in internal_sysctl()
247 int internal_sysctlbyname(const char *sname, void *oldp, uptr *oldlenp, in internal_sysctlbyname() argument
249 return sysctlbyname(sname, oldp, (size_t *)oldlenp, const_cast<void *>(newp), in internal_sysctlbyname()
Dsanitizer_linux.cpp767 uptr *oldlenp, const void *newp, uptr newlen) { in internal_sysctl() argument
769 (size_t *)oldlenp, newp, (size_t)newlen); in internal_sysctl()
772 int internal_sysctlbyname(const char *sname, void *oldp, uptr *oldlenp, in internal_sysctlbyname() argument
782 internal_strlen(sname), oldp, (size_t *)oldlenp, newp, in internal_sysctlbyname()
795 return internal_sysctl(oid, len, oldp, oldlenp, newp, newlen); in internal_sysctlbyname()
Dsanitizer_platform_limits_freebsd.h101 uptr *oldlenp; member
Dsanitizer_common_interceptors.inc7903 SIZE_T *oldlenp, void *newp, SIZE_T newlen) {
7906 return internal_sysctl(name, namelen, oldp, oldlenp, newp, newlen);
7907 COMMON_INTERCEPTOR_ENTER(ctx, sysctl, name, namelen, oldp, oldlenp, newp,
7911 if (oldlenp)
7912 COMMON_INTERCEPTOR_READ_RANGE(ctx, oldlenp, sizeof(*oldlenp));
7915 int res = REAL(sysctl)(name, namelen, oldp, oldlenp, newp, newlen);
7917 if (oldlenp) {
7918 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldlenp, sizeof(*oldlenp));
7920 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldp, *oldlenp);
7926 INTERCEPTOR(int, sysctlbyname, char *sname, void *oldp, SIZE_T *oldlenp,
[all …]
Dsanitizer_platform_limits_posix.h165 uptr *oldlenp; member
/external/strace/
Dsysctl.c64 info.oldlenp, info.newval, (unsigned long)info.newlen); in SYS_FUNC()
171 } else if (umove(tcp, ptr_to_kulong(info.oldlenp), &oldlen) >= 0 in SYS_FUNC()
/external/ltp/testcases/kernel/syscalls/sysctl/
Dsysctl04.c49 .oldlenp = tc->oldlen, in verify_sysctl()
Dsysctl01.c50 .oldlenp = &length, in verify_sysctl()
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/
Dmod.rs315 oldlenp: *mut ::size_t, in sysctl()
/external/kernel-headers/original/uapi/linux/
Dsysctl.h39 size_t __user *oldlenp; member
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/x86_64/
Dnot_x32.rs437 oldlenp: *mut ::size_t, in sysctl()
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips32/
Dmod.rs635 oldlenp: *mut ::size_t, in sysctl()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h150 uptr *oldlenp; member
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs1546 oldlenp: *mut ::size_t, in sysctl()
1553 oldlenp: *mut ::size_t, in sysctlbyname()
/external/llvm-project/compiler-rt/include/sanitizer/
Dnetbsd_syscall_hooks.h1083 #define __sanitizer_syscall_pre___sysctl(name, namelen, oldv, oldlenp, newv, \ argument
1087 (long long)(oldlenp), (long long)(newv), (long long)(newlen))
1088 #define __sanitizer_syscall_post___sysctl(res, name, namelen, oldv, oldlenp, \ argument
1092 (long long)(oldlenp), (long long)(newv), (long long)(newlen))
3671 long long oldv, long long oldlenp,
3675 long long oldlenp, long long newv,
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/aarch64/
Dmod.rs930 oldlenp: *mut ::size_t, in sysctl()

12