Home
last modified time | relevance | path

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

/external/jemalloc/include/jemalloc/internal/
Dctl.h73 int ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp,
79 size_t *oldlenp, void *newp, size_t newlen);
85 #define xmallctl(name, oldp, oldlenp, newp, newlen) do { \ argument
86 if (je_mallctl(name, oldp, oldlenp, newp, newlen) \
103 #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \ argument
104 if (je_mallctlbymib(mib, miblen, oldp, oldlenp, newp, \
/external/jemalloc/src/
Dctl.c46 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
915 ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp, in ctl_byname() argument
936 ret = node->ctl(tsd, mib, depth, oldp, oldlenp, newp, newlen); in ctl_byname()
963 size_t *oldlenp, void *newp, size_t newlen) in ctl_bymib() argument
1001 ret = node->ctl(tsd, mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()
1055 if (oldp != NULL || oldlenp != NULL) { \
1062 if ((oldp != NULL && oldlenp != NULL) && (newp != NULL || \
1070 if (oldp != NULL && oldlenp != NULL) { \
1071 if (*oldlenp != sizeof(t)) { \
1072 size_t copylen = (sizeof(t) <= *oldlenp) \
[all …]
Djemalloc.c2703 je_mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp, argument
2714 ret = ctl_byname(tsd, name, oldp, oldlenp, newp, newlen);
2736 je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, argument
2747 ret = ctl_bymib(tsd, mib, miblen, oldp, oldlenp, newp, newlen);
/external/ltp/testcases/kernel/syscalls/sysctl/
Dsysctl04.c62 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, in sysctl() argument
66 { name, nlen, oldval, oldlenp, newval, newlen }; in sysctl()
Dsysctl05.c64 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, in sysctl() argument
68 { name, nlen, oldval, oldlenp, newval, newlen }; in sysctl()
Dsysctl01.c61 static int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, in sysctl() argument
65 { name, nlen, oldval, oldlenp, newval, newlen }; in sysctl()
Dsysctl03.c81 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, in sysctl() argument
85 { name, nlen, oldval, oldlenp, newval, newlen }; in sysctl()
/external/jemalloc/include/jemalloc/
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.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.h239 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
243 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
/external/strace/
Dsysctl.c63 info.oldlenp, info.newval, (unsigned long)info.newlen); in SYS_FUNC()
170 } else if (umove(tcp, ptr_to_kulong(info.oldlenp), &oldlen) >= 0 in SYS_FUNC()
DChangeLog2348 * sysctl.c (SYS_FUNC(sysctl)): Cast __sysctl_args.oldlenp pointer
27779 (note that oldval/oldlenp are NULL).
/external/autotest/client/tests/ltp/patches/
Dsysctl.patch31 static int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
61 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
91 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
121 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
/external/valgrind/include/
Dpub_tool_libcproc.h75 extern Int VG_(sysctl) ( Int *name, UInt namelen, void *oldp, SizeT *oldlenp, void *newp, SizeT ne…
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-darwin.c4262 UWord oldp, UWord oldlenp, in common_PRE_sysctl() argument
4265 if (oldlenp) { in common_PRE_sysctl()
4267 PRE_MEM_WRITE("sysctl(oldlenp)", oldlenp, sizeof(size_t)); in common_PRE_sysctl()
4270 PRE_MEM_READ("sysctl(oldlenp)", oldlenp, sizeof(size_t)); in common_PRE_sysctl()
4271 PRE_MEM_WRITE("sysctl(oldp)", oldp, *(size_t*)oldlenp); in common_PRE_sysctl()
4289 size_t* t_oldlenp = (size_t*)oldlenp; in common_PRE_sysctl()
4325 UWord oldlenp = ARG4; in PRE() local
4330 name, namelen, oldp, oldlenp, newp, newlen ); in PRE()
4333 void*, oldp, vki_size_t *, oldlenp, in PRE()
4356 is_kern_dot_userstack, oldp, oldlenp, newp, newlen ); in PRE()
[all …]
Dsyswrap-linux.c945 if (args->oldlenp != NULL) { in PRE()
946 PRE_MEM_READ("sysctl(oldlenp)", (Addr)args->oldlenp, sizeof(*args->oldlenp)); in PRE()
947 PRE_MEM_WRITE("sysctl(oldval)", (Addr)args->oldval, *args->oldlenp); in PRE()
954 if (args->oldlenp != NULL) { in POST()
955 POST_MEM_WRITE((Addr)args->oldlenp, sizeof(*args->oldlenp)); in POST()
956 POST_MEM_WRITE((Addr)args->oldval, 1 + *args->oldlenp); in POST()
/external/kernel-headers/original/uapi/linux/
Dsysctl.h38 size_t __user *oldlenp; member
/external/valgrind/coregrind/
Dm_libcproc.c597 Int VG_(sysctl)(Int *name, UInt namelen, void *oldp, SizeT *oldlenp, void *newp, SizeT newlen) in VG_()
602 (UWord)name, namelen, (UWord)oldp, (UWord)oldlenp, (UWord)newp, newlen); in VG_()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h150 uptr *oldlenp; member
Dsanitizer_platform_limits_posix.cc1080 CHECK_SIZE_AND_OFFSET(__sysctl_args, oldlenp);
Dsanitizer_common_syscalls.inc2258 if (args && args->oldval && args->oldlenp) {
2259 POST_WRITE(args->oldlenp, sizeof(*args->oldlenp));
2260 POST_WRITE(args->oldval, *args->oldlenp);
/external/valgrind/include/vki/
Dvki-linux.h1426 vki_size_t __user *oldlenp; member