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

/freebsd-10-stable/lib/libc/gen/
H A Dsysctlbyname.c18 sysctlbyname(const char *name, void *oldp, size_t *oldlenp, argument
27 return (sysctl(real_oid, oidlen, oldp, oldlenp, newp, newlen));
H A Dsysctl.c47 size_t *oldlenp, const void *newp, size_t newlen);
50 sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp, argument
56 orig_oldlen = oldlenp ? *oldlenp : 0;
57 retval = __sysctl(name, namelen, oldp, oldlenp, newp, newlen);
86 *oldlenp = sizeof(_PATH_STDPATH);
92 if (oldp && *oldlenp < sizeof(int)) {
96 *oldlenp = sizeof(int);
H A Darc4random.c82 extern int __sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp,
/freebsd-10-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dctl.h73 int ctl_byname(const char *name, void *oldp, size_t *oldlenp, void *newp,
77 int ctl_bymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
84 #define xmallctl(name, oldp, oldlenp, newp, newlen) do { \
85 if (je_mallctl(name, oldp, oldlenp, newp, newlen) \
102 #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \
103 if (je_mallctlbymib(mib, miblen, oldp, oldlenp, newp, \
/freebsd-10-stable/lib/libc/arm/gen/
H A Darm_initfini.c50 extern int __sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp,
/freebsd-10-stable/include/
H A Dmalloc_np.h43 int mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp,
47 size_t *oldlenp, void *newp, size_t newlen);
/freebsd-10-stable/contrib/jemalloc/src/
H A Dctl.c48 size_t *oldlenp, void *newp, size_t newlen);
812 ctl_byname(const char *name, void *oldp, size_t *oldlenp, void *newp, argument
833 ret = node->ctl(mib, depth, oldp, oldlenp, newp, newlen);
859 ctl_bymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, argument
898 ret = node->ctl(mib, miblen, oldp, oldlenp, newp, newlen);
952 if (oldp != NULL || oldlenp != NULL) { \
959 if (oldp != NULL && oldlenp != NULL) { \
960 if (*oldlenp != sizeof(t)) { \
961 size_t copylen = (sizeof(t) <= *oldlenp) \
962 ? sizeof(t) : *oldlenp; \
1108 epoch_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1127 thread_tcache_enabled_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1152 thread_tcache_flush_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1171 thread_arena_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1301 arena_i_purge_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1318 arena_i_dss_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1411 arenas_narenas_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1433 arenas_initialized_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1466 arenas_purge_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1491 arenas_extend_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1515 prof_active_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
1544 prof_dump_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
[all...]
H A Djemalloc.c1370 je_mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp, argument
1377 return (ctl_byname(name, oldp, oldlenp, newp, newlen));
1391 je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, argument
1398 return (ctl_bymib(mib, miblen, oldp, oldlenp, newp, newlen));
/freebsd-10-stable/lib/libc/sys/
H A Dstack_protector.c45 size_t *oldlenp, void *newp, size_t newlen);
/freebsd-10-stable/contrib/jemalloc/include/jemalloc/
H A Djemalloc.h70 size_t *oldlenp, void *newp, size_t newlen);
74 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
/freebsd-10-stable/sys/compat/linux/
H A Dlinux_sysctl.c100 if (!error && la->oldlenp != 0)
101 error = copyout(&len, PTRIN(la->oldlenp), sizeof(len));
/freebsd-10-stable/sys/kern/
H A Dkern_sysctl.c1269 size_t *oldlenp, void *new, size_t newlen, size_t *retval, int flags)
1279 if (oldlenp) {
1280 req.oldlen = *oldlenp;
1317 kernel_sysctlbyname(struct thread *td, char *name, void *old, size_t *oldlenp, argument
1333 error = kernel_sysctl(td, oid, plen / sizeof(int), old, oldlenp,
1583 size_t *oldlenp; member in struct:sysctl_args
1602 uap->old, uap->oldlenp, 0,
1606 if (uap->oldlenp) {
1607 i = copyout(&j, uap->oldlenp, sizeof(j));
1620 size_t *oldlenp, in
1268 kernel_sysctl(struct thread *td, int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen, size_t *retval, int flags) argument
1619 userland_sysctl(struct thread *td, int *name, u_int namelen, void *old, size_t *oldlenp, int inkernel, void *new, size_t newlen, size_t *retval, int flags) argument
[all...]
H A Dsystrace_args.c1092 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
/freebsd-10-stable/sys/sys/
H A Dsysctl.h786 size_t *oldlenp, void *new, size_t newlen, size_t *retval,
789 size_t *oldlenp, void *new, size_t newlen, size_t *retval,
792 size_t *oldlenp, int inkernel, void *new, size_t newlen,
H A Dsysproto.h626 char oldlenp_l_[PADL_(size_t *)]; size_t * oldlenp; char oldlenp_r_[PADR_(size_t *)]; member in struct:sysctl_args
/freebsd-10-stable/contrib/unbound/compat/
H A Dgetentropy_linux.c305 .oldlenp = &chunk,
/freebsd-10-stable/sys/amd64/linux/
H A Dlinux.h112 l_uintptr_t oldlenp; member in struct:l___sysctl_args
/freebsd-10-stable/sys/i386/linux/
H A Dlinux.h118 l_size_t *oldlenp; member in struct:l___sysctl_args
/freebsd-10-stable/sys/amd64/linux32/
H A Dlinux.h124 l_uintptr_t oldlenp; member in struct:l___sysctl_args
/freebsd-10-stable/usr.bin/vmstat/
H A Dvmstat.c333 mysysctl(const char *name, void *oldp, size_t *oldlenp, argument
338 error = sysctlbyname(name, oldp, oldlenp, newp, newlen);
/freebsd-10-stable/sys/compat/freebsd32/
H A Dfreebsd32_misc.c1987 if (uap->oldlenp) {
1988 error = fueword32(uap->oldlenp, &tmp);
2000 if (uap->oldlenp)
2001 suword32(uap->oldlenp, j);
H A Dfreebsd32_proto.h183 char oldlenp_l_[PADL_(uint32_t *)]; uint32_t * oldlenp; char oldlenp_r_[PADR_(uint32_t *)]; member in struct:freebsd32_sysctl_args
H A Dfreebsd32_systrace_args.c999 uarg[3] = (intptr_t) p->oldlenp; /* uint32_t * */

Completed in 396 milliseconds