Lines Matching refs:oldptr
1626 if (req->oldptr != NULL) { in sysctl_handle_string()
1729 if (req->oldptr) { in sysctl_old_kernel()
1737 bcopy(p, (char *)req->oldptr + req->oldidx, i); in sysctl_old_kernel()
1740 if (req->oldptr && i != l) in sysctl_old_kernel()
1775 req.oldptr= old; in kernel_sysctl()
1790 vsunlock(req.oldptr, req.validlen); in kernel_sysctl()
1796 if (req.oldptr && req.oldidx > req.validlen) in kernel_sysctl()
1837 if (req->oldptr == NULL) in sysctl_old_user()
1855 error = copyout_nofault(p, (char *)req->oldptr + in sysctl_old_user()
1858 error = copyout(p, (char *)req->oldptr + origidx, i); in sysctl_old_user()
1895 if (req->lock != REQ_WIRED && req->oldptr && in sysctl_wire_old_buffer()
1898 ret = vslock(req->oldptr, wiredlen); in sysctl_wire_old_buffer()
2001 if ((req->oldptr && !(oid->oid_kind & CTLFLAG_CAPRD)) || in sysctl_root()
2127 req.oldptr = old; in userland_sysctl()
2143 if (req.oldptr && req.oldlen > 4 * PAGE_SIZE) { in userland_sysctl()
2161 vsunlock(req.oldptr, req.validlen); in userland_sysctl()
2169 if (req.oldptr && req.oldidx > req.validlen) in userland_sysctl()