Lines Matching defs:oldlenp
877 kernel_sysctl(struct proc *p, int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen)
887 if (oldlenp)
888 req.oldlen = *oldlenp;
909 if (oldlenp)
910 *oldlenp = req.oldidx;
1076 size_t *oldlenp;
1097 CAST_USER_ADDR_T(uap->old), uap->oldlenp, 0,
1101 if (uap->oldlenp) {
1102 i = copyout(&j, CAST_USER_ADDR_T(uap->oldlenp), sizeof(j));
1115 size_t *oldlenp, int inkernel, user_addr_t newp, size_t newlen,
1125 if (oldlenp) {
1127 req.oldlen = *oldlenp;
1129 error = copyin(CAST_USER_ADDR_T(oldlenp), &req.oldlen, sizeof(*oldlenp));
1181 sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp, size_t newlen)
1184 return(kernel_sysctl(current_proc(), name, namelen, oldp, oldlenp, newp, newlen));
1205 sysctlbyname(const char *name, void *oldp, size_t *oldlenp, void *newp, size_t newlen)
1217 error = sysctl(oid, oidlen, oldp, oldlenp, newp, newlen);