/external/jemalloc/include/jemalloc/internal/ |
D | ctl.h | 73 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/ |
D | ctl.c | 46 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 …]
|
D | jemalloc.c | 2703 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/ |
D | sysctl04.c | 62 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, in sysctl() argument 66 { name, nlen, oldval, oldlenp, newval, newlen }; in sysctl()
|
D | sysctl05.c | 64 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, in sysctl() argument 68 { name, nlen, oldval, oldlenp, newval, newlen }; in sysctl()
|
D | sysctl01.c | 61 static int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, in sysctl() argument 65 { name, nlen, oldval, oldlenp, newval, newlen }; in sysctl()
|
D | sysctl03.c | 81 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/ |
D | jemalloc_protos_jet.h | 45 void *oldp, size_t *oldlenp, void *newp, size_t newlen); 49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
|
D | jemalloc_protos.h | 45 void *oldp, size_t *oldlenp, void *newp, size_t newlen); 49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
|
D | jemalloc_protos.h.in | 45 void *oldp, size_t *oldlenp, void *newp, size_t newlen); 49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
|
D | jemalloc.h | 239 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/ |
D | sysctl.c | 63 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()
|
D | ChangeLog | 2348 * sysctl.c (SYS_FUNC(sysctl)): Cast __sysctl_args.oldlenp pointer 27779 (note that oldval/oldlenp are NULL).
|
/external/autotest/client/tests/ltp/patches/ |
D | sysctl.patch | 31 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/ |
D | pub_tool_libcproc.h | 75 extern Int VG_(sysctl) ( Int *name, UInt namelen, void *oldp, SizeT *oldlenp, void *newp, SizeT ne…
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-darwin.c | 4262 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 …]
|
D | syswrap-linux.c | 945 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/ |
D | sysctl.h | 38 size_t __user *oldlenp; member
|
/external/valgrind/coregrind/ |
D | m_libcproc.c | 597 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/ |
D | sanitizer_platform_limits_posix.h | 150 uptr *oldlenp; member
|
D | sanitizer_platform_limits_posix.cc | 1080 CHECK_SIZE_AND_OFFSET(__sysctl_args, oldlenp);
|
D | sanitizer_common_syscalls.inc | 2258 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/ |
D | vki-linux.h | 1426 vki_size_t __user *oldlenp; member
|