Home
last modified time | relevance | path

Searched refs:oldptr (Results 1 – 25 of 50) sorted by relevance

12

/xnu-11215/osfmk/kperf/
H A Dkperfbsd.c117 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 Dkern_newsysctl.c447 && (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 Dkern_backtrace.c142 if (req->oldptr == USER_ADDR_NULL || req->oldlen == 0) {
195 error = copyout(bt, req->oldptr, sizeof(bt[0]) * bt_filled);
H A Dkern_kpc.c367 if (req->oldptr) { in sysctl_getset_bigarray()
H A Dsys_generic.c2553 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 Dstackshot.c436 if (req->oldptr == USER_ADDR_NULL) {
H A Dkern_control.c2156 if (req->oldptr == USER_ADDR_NULL) {
2263 if (req->oldptr == USER_ADDR_NULL) {
2364 if (req->oldptr == USER_ADDR_NULL) {
H A Dkern_sysctl.c392 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 Duipc_usrreq.c1804 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 Dvfs_io_compression_stats.c522 …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 Dentropy_sysctl.c89 if (req->oldptr == USER_ADDR_NULL) {
104 if (req->oldptr == USER_ADDR_NULL) {
/xnu-11215/bsd/skywalk/namespace/
H A Dprotons.c312 if (req->oldptr != USER_ADDR_NULL && buffer_space != 0) {
321 } else if (req->oldptr == USER_ADDR_NULL) {
H A Dflowidns.c375 if (req->oldptr == USER_ADDR_NULL) {
/xnu-11215/bsd/net/
H A Dif_ports_used.c533 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 Dif_mib.c192 if (req->oldptr == USER_ADDR_NULL) {
H A Ddlil_sysctl.c711 if (req->oldptr == USER_ADDR_NULL) {
759 if (req->oldptr == USER_ADDR_NULL) {
/xnu-11215/bsd/netinet6/
H A Dnd6_send.c122 if (req->oldptr != USER_ADDR_NULL && req->oldlen > 0) {
H A Din6_proto.c599 if (req->oldptr == USER_ADDR_NULL) {
/xnu-11215/iokit/Kernel/
H A DIOStatistics.cpp662 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 Dmonotonic.c428 return copyout(counts, req->oldptr, MIN(req->oldlen, sizeof(counts)));
/xnu-11215/bsd/skywalk/nexus/
H A Dnexus.c3145 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 Draw_ip.c1220 if (req->oldptr == USER_ADDR_NULL) {
1328 if (req->oldptr == USER_ADDR_NULL) {
H A Din_tclass.c1713 if (req->oldptr == USER_ADDR_NULL) {
1922 if (req->oldptr == USER_ADDR_NULL) {
H A Dudp_usrreq.c1191 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 Dsysctl.h212 user_addr_t oldptr; /* pointer to user supplied buffer */ member

12