| /xnu-11215/osfmk/kperf/ |
| H A D | kperfbsd.c | 117 if (req->oldptr) { in kperf_sysctl_get_set_uint32() 139 if (req->oldptr) { in kperf_sysctl_get_set_int() 161 if (req->oldptr) { in kperf_sysctl_get_set_uint64() 196 if (req->oldptr != USER_ADDR_NULL) { in kperf_sysctl_get_set_unsigned_uint32() 204 return copyout(inputs, req->oldptr, sizeof(inputs)); in kperf_sysctl_get_set_unsigned_uint32() 231 if (req->oldptr != USER_ADDR_NULL) { in sysctl_timer_period() 238 return copyout(inputs, req->oldptr, sizeof(inputs)); in sysctl_timer_period() 263 if (req->oldptr != USER_ADDR_NULL) { in sysctl_action_filter() 270 return copyout(inputs, req->oldptr, sizeof(inputs)); in sysctl_action_filter() 334 if (req->oldptr != USER_ADDR_NULL) { in sysctl_kdebug_filter() [all …]
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_newsysctl.c | 447 && (req->oldptr)) { in sysctl_io_number() 504 if (trunc && req->oldptr && req->oldlen && (req->oldlen < len)) { in sysctl_io_string() 1454 if (req->oldptr) { in sysctl_old_kernel() 1464 if (req->oldptr && i != l) { in sysctl_old_kernel() 1499 req.oldptr = CAST_USER_ADDR_T(old); in kernel_sysctl() 1532 if (req->oldptr) { in sysctl_old_user() 1548 if (req->oldptr && i < l) { in sysctl_old_user() 1780 req->oldptr, in sysctl_root() 1862 req->oldptr = oldp; in sysctl_create_user_req() 2061 if (req2.oldptr && req2.oldidx > req2.oldlen) { in userland_sysctl() [all …]
|
| H A D | kern_backtrace.c | 142 if (req->oldptr == USER_ADDR_NULL || req->oldlen == 0) { 195 error = copyout(bt, req->oldptr, sizeof(bt[0]) * bt_filled);
|
| H A D | kern_kpc.c | 367 if (req->oldptr) { in sysctl_getset_bigarray()
|
| H A D | sys_generic.c | 2553 if (req->oldptr == USER_ADDR_NULL && req->newptr == USER_ADDR_NULL) { 2587 if (req->oldptr == USER_ADDR_NULL) { 2613 if (req->oldptr == USER_ADDR_NULL) { 2935 if (req->oldptr == USER_ADDR_NULL) { 3101 if (req->oldptr == USER_ADDR_NULL) {
|
| H A D | stackshot.c | 436 if (req->oldptr == USER_ADDR_NULL) {
|
| H A D | kern_control.c | 2156 if (req->oldptr == USER_ADDR_NULL) { 2263 if (req->oldptr == USER_ADDR_NULL) { 2364 if (req->oldptr == USER_ADDR_NULL) {
|
| H A D | kern_sysctl.c | 392 oldp = req->oldptr; in sysctl_handle_kern_threadname() 471 if (!req->oldptr) { 843 user_addr_t where = req->oldptr;/* user buffer copy out address */ 1270 user_addr_t oldp = req->oldptr; /* user buffer copy out address */ 1299 user_addr_t oldp = req->oldptr; /* user buffer copy out address */ 3691 oldp = req->oldptr; 5990 (req->oldlen == 0 && req->oldptr != USER_ADDR_NULL)) { 5997 size_t buffer_size = (req->oldptr != USER_ADDR_NULL) ? req->oldlen : 0;
|
| H A D | uipc_usrreq.c | 1804 if (req->oldptr == USER_ADDR_NULL) { 1937 if (req->oldptr == USER_ADDR_NULL) { 2103 if (req->oldptr == USER_ADDR_NULL) {
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_io_compression_stats.c | 522 …uint32_t error = copyout(&iocs_sbe_next, (user_addr_t)((unsigned char *)req->oldptr + current_offs… in vnode_iocs_callback() 582 if (req->oldptr == USER_ADDR_NULL) { 635 req->oldptr, 644 req->oldptr, 653 req->oldptr + ret_len,
|
| /xnu-11215/bsd/crypto/entropy/ |
| H A D | entropy_sysctl.c | 89 if (req->oldptr == USER_ADDR_NULL) { 104 if (req->oldptr == USER_ADDR_NULL) {
|
| /xnu-11215/bsd/skywalk/namespace/ |
| H A D | protons.c | 312 if (req->oldptr != USER_ADDR_NULL && buffer_space != 0) { 321 } else if (req->oldptr == USER_ADDR_NULL) {
|
| H A D | flowidns.c | 375 if (req->oldptr == USER_ADDR_NULL) {
|
| /xnu-11215/bsd/net/ |
| H A D | if_ports_used.c | 533 if (req->oldptr == USER_ADDR_NULL) { 556 if (req->oldptr == USER_ADDR_NULL) { 620 if (req->oldptr != 0) { 640 if (req->oldptr == USER_ADDR_NULL) { 703 if (req->oldptr == USER_ADDR_NULL) { 2044 if (req->oldptr != 0) { 2066 if (req->oldptr != 0) {
|
| H A D | if_mib.c | 192 if (req->oldptr == USER_ADDR_NULL) {
|
| H A D | dlil_sysctl.c | 711 if (req->oldptr == USER_ADDR_NULL) { 759 if (req->oldptr == USER_ADDR_NULL) {
|
| /xnu-11215/bsd/netinet6/ |
| H A D | nd6_send.c | 122 if (req->oldptr != USER_ADDR_NULL && req->oldlen > 0) {
|
| H A D | in6_proto.c | 599 if (req->oldptr == USER_ADDR_NULL) {
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOStatistics.cpp | 662 if (req->oldptr == USER_ADDR_NULL) { in getStatistics() 756 if (req->oldptr == USER_ADDR_NULL) { in getWorkLoopStatistics() 814 if (req->oldptr == USER_ADDR_NULL) { in getUserClientStatistics()
|
| /xnu-11215/bsd/dev/ |
| H A D | monotonic.c | 428 return copyout(counts, req->oldptr, MIN(req->oldlen, sizeof(counts)));
|
| /xnu-11215/bsd/skywalk/nexus/ |
| H A D | nexus.c | 3145 if (req->oldptr != USER_ADDR_NULL && buffer_space != 0) { 3154 } else if (req->oldptr == USER_ADDR_NULL) { 3368 if (req->oldptr != USER_ADDR_NULL && buffer_space != 0) { 3377 } else if (req->oldptr == USER_ADDR_NULL) { 3478 if (req->oldptr != USER_ADDR_NULL && buffer_space != 0) { 3487 } else if (req->oldptr == USER_ADDR_NULL) { 3511 if (req->oldptr == USER_ADDR_NULL || buffer_space) {
|
| /xnu-11215/bsd/netinet/ |
| H A D | raw_ip.c | 1220 if (req->oldptr == USER_ADDR_NULL) { 1328 if (req->oldptr == USER_ADDR_NULL) {
|
| H A D | in_tclass.c | 1713 if (req->oldptr == USER_ADDR_NULL) { 1922 if (req->oldptr == USER_ADDR_NULL) {
|
| H A D | udp_usrreq.c | 1191 if (req->oldptr == USER_ADDR_NULL) { 1315 if (req->oldptr == USER_ADDR_NULL) { 2766 if (req->oldptr == USER_ADDR_NULL) {
|
| /xnu-11215/bsd/sys/ |
| H A D | sysctl.h | 212 user_addr_t oldptr; /* pointer to user supplied buffer */ member
|