Home
last modified time | relevance | path

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

/f-stack/tools/compat/
H A Dsysctl.c35 size_t *oldlenp, const void *new, size_t newlen) in sysctl() argument
41 if (old != NULL && oldlenp == NULL) { in sysctl()
53 if (old && oldlenp) { in sysctl()
54 oldlen = *oldlenp; in sysctl()
91 if (oldlenp != NULL) { in sysctl()
92 msg->sysctl.oldlenp = (size_t *)buf_addr; in sysctl()
93 memcpy(msg->sysctl.oldlenp, oldlenp, sizeof(size_t)); in sysctl()
99 buf_addr += *oldlenp; in sysctl()
104 msg->sysctl.oldlenp = NULL; in sysctl()
127 if (oldlenp && retmsg->sysctl.oldlenp) { in sysctl()
[all …]
H A Dsysctlbyname.c20 sysctlbyname(const char *name, void *oldp, size_t *oldlenp, in sysctlbyname() argument
29 return (sysctl(real_oid, oidlen, oldp, oldlenp, newp, newlen)); in sysctlbyname()
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A 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, \
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dctl.c1220 size_t *oldlenp, void *newp, size_t newlen) { in ctl_bymib() argument
1305 if (oldp != NULL || oldlenp != NULL) { \
1320 if (oldp != NULL && oldlenp != NULL) { \
1321 if (*oldlenp != sizeof(t)) { \
1322 size_t copylen = (sizeof(t) <= *oldlenp) \
1323 ? sizeof(t) : *oldlenp; \
1498 size_t *oldlenp, void *newp, size_t newlen) { in CTL_RO_NL_GEN()
1694 size_t *oldlenp, void *newp, size_t newlen) { in CTL_RO_CONFIG_GEN()
2210 if (oldp != NULL && oldlenp != NULL) { in arena_i_decay_ms_ctl_impl()
2371 if (*oldlenp != sizeof(unsigned)) { in arenas_narenas_ctl()
[all …]
H A Djemalloc.c3054 je_mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp, in je_mallctl() argument
3068 ret = ctl_byname(tsd, name, oldp, oldlenp, newp, newlen); in je_mallctl()
3096 je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, in je_mallctlbymib() argument
3110 ret = ctl_bymib(tsd, mib, miblen, oldp, oldlenp, newp, newlen); in je_mallctlbymib()
/f-stack/freebsd/kern/
H A Dkern_sysctl.c1964 if (oldlenp) { in kernel_sysctl()
1965 req.oldlen = *oldlenp; in kernel_sysctl()
2265 size_t *oldlenp; member
2288 if (uap->oldlenp) { in sys___sysctl()
2338 size_t *oldlenp; member
2353 if (uap->oldlenp != NULL) in sys___sysctlbyname()
2376 if (oldlenp) { in userland_sysctl()
2378 req.oldlen = *oldlenp; in userland_sysctl()
2380 error = copyin(oldlenp, &req.oldlen, sizeof(*oldlenp)); in userland_sysctl()
2690 if (oldlenp) { in db_sysctl()
[all …]
H A Dsystrace_args.c974 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */ in systrace_args()
3317 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */ in systrace_args()
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/
H A 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);
/f-stack/lib/
H A Dff_msg.h59 size_t *oldlenp; member
H A Dff_api.h62 int ff_sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp,
H A Dff_syscall_wrapper.c1106 ff_sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp, in ff_sysctl() argument
1112 rc = userland_sysctl(curthread, __DECONST(int *, name), namelen, oldp, oldlenp, in ff_sysctl()
1116 if (oldlenp) in ff_sysctl()
1117 *oldlenp = retval; in ff_sysctl()
H A Dff_dpdk_if.c1412 msg->sysctl.old, msg->sysctl.oldlenp, msg->sysctl.new,
/f-stack/freebsd/arm64/linux/
H A Dlinux.h89 l_uintptr_t oldlenp; member
/f-stack/freebsd/sys/
H A Dsysctl.h1161 size_t *oldlenp, void *new, size_t newlen, size_t *retval,
1164 size_t *oldlenp, void *new, size_t newlen, size_t *retval,
1167 size_t *oldlenp, int inkernel, const void *new, size_t newlen,
1175 size_t namelen, void *old, size_t *oldlenp, void *new,
H A Dsysproto.h562 char oldlenp_l_[PADL_(size_t *)]; size_t * oldlenp; char oldlenp_r_[PADR_(size_t *)]; member
1803 char oldlenp_l_[PADL_(size_t *)]; size_t * oldlenp; char oldlenp_r_[PADR_(size_t *)]; member
/f-stack/freebsd/amd64/linux/
H A Dlinux.h98 l_uintptr_t oldlenp; member
/f-stack/freebsd/i386/linux/
H A Dlinux.h103 l_size_t *oldlenp; member
/f-stack/freebsd/amd64/linux32/
H A Dlinux.h113 l_uintptr_t oldlenp; member
/f-stack/doc/
H A DF-Stack_API_Reference.md39 int ff_sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp,
/f-stack/tools/compat/include/sys/
H A Dsysproto.h177 char oldlenp_l_[PADL_(size_t *)]; size_t * oldlenp; char oldlenp_r_[PADR_(size_t *)]; member