Home
last modified time | relevance | path

Searched refs:USER_ADDR_NULL (Results 1 – 25 of 108) sorted by relevance

12345

/xnu-8020.121.3/bsd/kern/ !
H A Dsys_work_interval.c58 if (uap->arg == USER_ADDR_NULL || uap->work_interval_id != 0) { in work_interval_ctl()
108 if (uap->arg == USER_ADDR_NULL || uap->len < sizeof(create_params)) { in work_interval_ctl()
131 if (uap->arg != USER_ADDR_NULL || uap->work_interval_id == 0) { in work_interval_ctl()
147 if (uap->arg == USER_ADDR_NULL || uap->work_interval_id == 0) { in work_interval_ctl()
182 if (uap->arg != USER_ADDR_NULL) { in work_interval_ctl()
H A Dkern_sfi.c74 if (uap->out_time != USER_ADDR_NULL) { in sfi_ctl()
118 if (uap->out_time != USER_ADDR_NULL) { in sfi_ctl()
199 if (uap->out_sfi_flags != USER_ADDR_NULL in sfi_pidctl()
H A Dkern_aio.c495 if (uap->aiocbp != USER_ADDR_NULL) { in aio_cancel()
568 error = do_aio_cancel_locked(p, fd, USER_ADDR_NULL, AIO_CLOSE_WAIT); in _aio_close()
832 error = do_aio_cancel_locked(p, -1, USER_ADDR_NULL, AIO_EXIT_WAIT); in _aio_exit()
891 return aiocbp == USER_ADDR_NULL || entryp->uaiocbp == aiocbp; in should_cancel()
914 bool multiple_matches = (aiocbp == USER_ADDR_NULL); in do_aio_cancel_locked()
1055 if (uap->timeoutp != USER_ADDR_NULL) { in aio_suspend_nocancel()
1100 if (aiocbp == USER_ADDR_NULL) { in aio_suspend_nocancel()
1218 if (sigp == USER_ADDR_NULL) { in aio_copy_in_sigev()
1398 if (uap->sigp != USER_ADDR_NULL) { in lio_listio()
1421 if (aiocbpp[i] == USER_ADDR_NULL) { in lio_listio()
[all …]
H A Duipc_syscalls.c320 if (uap->name == USER_ADDR_NULL) { in bind()
779 if (uap->endpoints == USER_ADDR_NULL) { in connectx_nocancel()
815 if (ep.sae_srcaddr != USER_ADDR_NULL) { in connectx_nocancel()
830 if (ep.sae_dstaddr == USER_ADDR_NULL) { in connectx_nocancel()
851 if (uap->iov != USER_ADDR_NULL) { in connectx_nocancel()
858 if (uap->len == USER_ADDR_NULL) { in connectx_nocancel()
902 if (uap->len != USER_ADDR_NULL) { in connectx_nocancel()
910 if (uap->connid != USER_ADDR_NULL) { in connectx_nocancel()
1256 if (mp->msg_name != USER_ADDR_NULL) { in sendit()
1273 if (mp->msg_control != USER_ADDR_NULL) { in sendit()
[all …]
H A Dkern_acct.c170 if (uap->path != USER_ADDR_NULL) { in acct()
211 if (uap->path == USER_ADDR_NULL) { in acct()
H A Dkern_xxx.c124 if (uap->opt & RB_PANIC && uap->msg != USER_ADDR_NULL) { in reboot()
H A Dkern_sig.c764 ut->uu_sigstk.ss_sp = USER_ADDR_NULL; in execsigs()
787 if (uap->mask == USER_ADDR_NULL) { in sigprocmask()
817 if (!error && omask != USER_ADDR_NULL) { in sigprocmask()
1240 if (set == USER_ADDR_NULL) { in __pthread_sigmask()
1269 if (!error && oset != USER_ADDR_NULL) { in __pthread_sigmask()
1302 if (uap->set == USER_ADDR_NULL) { in __sigwait_nocancel()
1375 if (uap->sig != USER_ADDR_NULL) { in __sigwait_nocancel()
1415 if (uap->nss == USER_ADDR_NULL) { in sigaltstack()
1536 if (payload != USER_ADDR_NULL) { in build_userspace_exit_reason()
1541 payload = USER_ADDR_NULL; in build_userspace_exit_reason()
[all …]
H A Dsysv_shm.c278 shmseg->u.shm_internal = USER_ADDR_NULL; /* tunnel */ in shm_deallocate_segment()
642 shmid_ds.shm_internal = USER_ADDR_NULL; in shmctl()
880 shmseg->u.shm_internal = USER_ADDR_NULL; /* tunnel */ in shmget_allocate_segment()
1102 if (error || req->newptr == USER_ADDR_NULL) { in sysctl_shminfo()
1259 shmid_ds.shm_internal = USER_ADDR_NULL; in IPCS_shm_sysctl()
H A Dkern_backtrace.c136 if (req->oldptr == USER_ADDR_NULL || req->oldlen == 0) {
/xnu-8020.121.3/osfmk/kperf/ !
H A Dkperfbsd.c185 if (req->newptr == USER_ADDR_NULL) { in kperf_sysctl_get_set_unsigned_uint32()
196 if (req->oldptr != USER_ADDR_NULL) { in kperf_sysctl_get_set_unsigned_uint32()
220 if (req->newptr == USER_ADDR_NULL) { in sysctl_timer_period()
231 if (req->oldptr != USER_ADDR_NULL) { in sysctl_timer_period()
252 if (req->newptr == USER_ADDR_NULL) { in sysctl_action_filter()
263 if (req->oldptr != USER_ADDR_NULL) { in sysctl_action_filter()
334 if (req->oldptr != USER_ADDR_NULL) { in sysctl_kdebug_filter()
344 } else if (req->newptr != USER_ADDR_NULL) { in sysctl_kdebug_filter()
485 if (req->oldptr == USER_ADDR_NULL && req->newptr != USER_ADDR_NULL) {
587 if (req->newptr != USER_ADDR_NULL) {
/xnu-8020.121.3/bsd/skywalk/nexus/ !
H A Dnexus_syscalls.c78 if (__improbable(uap->init == USER_ADDR_NULL || in __nexus_open()
168 if (__improbable(uap->reg == USER_ADDR_NULL || in __nexus_register()
169 uap->reg_len < sizeof(reg) || uap->prov_uuid == USER_ADDR_NULL || in __nexus_register()
293 uap->nx_uuid == USER_ADDR_NULL)) { in __nexus_create()
357 if (__improbable(uap->nx_uuid == USER_ADDR_NULL || in __nexus_destroy()
411 if (__improbable(uap->aoptlen == USER_ADDR_NULL)) { in __nexus_get_opt()
417 if (uap->aoptval != USER_ADDR_NULL) { in __nexus_get_opt()
H A Dnexus.c338 user_addr_t tmp_ptr = USER_ADDR_NULL; in nxctl_get_nexus_prov_list()
349 if (sopt->sopt_val == USER_ADDR_NULL) { in nxctl_get_nexus_prov_list()
369 if (tmp_ptr != USER_ADDR_NULL && nrlr.nrl_num_regs > 0) { in nxctl_get_nexus_prov_list()
413 if (err == 0 && tmp_ptr != USER_ADDR_NULL) { in nxctl_get_nexus_prov_list()
446 if (sopt->sopt_val == USER_ADDR_NULL) { in nxctl_get_nexus_prov_entry()
501 user_addr_t tmp_ptr = USER_ADDR_NULL; in nxctl_get_nexus_list()
513 if (sopt->sopt_val == USER_ADDR_NULL) { in nxctl_get_nexus_list()
535 if (tmp_ptr != USER_ADDR_NULL && nlr.nl_num_nx_uuids > 0) { in nxctl_get_nexus_list()
583 if (err == 0 && nxprov != NULL && tmp_ptr != USER_ADDR_NULL) { in nxctl_get_nexus_list()
632 if (sopt->sopt_val == USER_ADDR_NULL) { in nxctl_nexus_bind()
[all …]
/xnu-8020.121.3/bsd/skywalk/channel/ !
H A Dchannel_syscalls.c133 if (__improbable(uap->init == USER_ADDR_NULL || in __channel_open()
157 init.ci_key == USER_ADDR_NULL) || in __channel_open()
158 (init.ci_key_len == 0 && init.ci_key != USER_ADDR_NULL))) { in __channel_open()
247 init.ci_key = USER_ADDR_NULL; in __channel_open()
308 if (__improbable(uap->cinfo == USER_ADDR_NULL || in __channel_get_info()
684 if (uap->aoptlen == USER_ADDR_NULL) { in __channel_get_opt()
690 if (uap->aoptval != USER_ADDR_NULL) { in __channel_get_opt()
/xnu-8020.121.3/bsd/crypto/entropy/ !
H A Dentropy_sysctl.c89 if (req->oldptr == USER_ADDR_NULL) {
104 if (req->oldptr == USER_ADDR_NULL) {
/xnu-8020.121.3/bsd/netinet6/ !
H A Dnd6_send.c128 if (req->oldptr != USER_ADDR_NULL && req->oldlen > 0) {
172 if (req->newptr == USER_ADDR_NULL) {
/xnu-8020.121.3/bsd/i386/ !
H A Dtypes.h107 #define USER_ADDR_NULL ((user_addr_t) 0) macro
/xnu-8020.121.3/bsd/arm/ !
H A Dtypes.h94 #define USER_ADDR_NULL ((user_addr_t) 0) macro
/xnu-8020.121.3/bsd/netinet/ !
H A Din_tclass.c1721 if (req->oldptr == USER_ADDR_NULL) {
1737 if (req->newptr != USER_ADDR_NULL) {
1930 if (req->oldptr == USER_ADDR_NULL) {
1947 if (req->newptr == USER_ADDR_NULL) {
1996 if (req->newptr == USER_ADDR_NULL) {
2029 if (arg->param == USER_ADDR_NULL || retval == NULL || in net_qos_guideline()
2173 if (error != 0 || req->newptr == USER_ADDR_NULL) {
2176 if (req->newptr == USER_ADDR_NULL) {
2214 if (req->newptr == USER_ADDR_NULL) {
H A Dmptcp_usrreq.c421 if (aidp == USER_ADDR_NULL) { in mptcp_getassocids()
447 if (cidp == USER_ADDR_NULL) { in mptcp_getconnids()
513 if (aux_data != USER_ADDR_NULL) { in mptcp_getconninfo()
648 aux_type, USER_ADDR_NULL, aux_len); in mptcp_getconninfo()
652 aux_type, USER_ADDR_NULL, aux_len); in mptcp_getconninfo()
683 if (aux_data != USER_ADDR_NULL) { in mptcp_getconninfo()
724 } else if (aux_data != USER_ADDR_NULL) { in mptcp_getconninfo()
H A Dip_dummynet.c539 pipe_bp->head = pipe_bp->tail = USER_ADDR_NULL; in cp_pipe_to_64_user()
540 pipe_bp->fs.next = USER_ADDR_NULL; in cp_pipe_to_64_user()
541 pipe_bp->fs.pipe = USER_ADDR_NULL; in cp_pipe_to_64_user()
542 pipe_bp->fs.rq = USER_ADDR_NULL; in cp_pipe_to_64_user()
2379 qp->next = USER_ADDR_NULL; in dn_copy_set_64()
2380 qp->head = qp->tail = USER_ADDR_NULL; in dn_copy_set_64()
2381 qp->fs = USER_ADDR_NULL; in dn_copy_set_64()
2492 fs_bp->pipe = USER_ADDR_NULL; in dummynet_get()
2493 fs_bp->rq = USER_ADDR_NULL; in dummynet_get()
/xnu-8020.121.3/bsd/skywalk/namespace/ !
H A Dprotons.c313 if (req->oldptr != USER_ADDR_NULL && buffer_space != 0) {
322 } else if (req->oldptr == USER_ADDR_NULL) {
/xnu-8020.121.3/bsd/net/ !
H A Dif_loop.c719 if (err != 0 || req->newptr == USER_ADDR_NULL) {
744 if (err != 0 || req->newptr == USER_ADDR_NULL) {
776 if (err != 0 || req->newptr == USER_ADDR_NULL) {
H A Dif_ports_used.c466 if (req->oldptr == USER_ADDR_NULL) {
470 if (req->newptr != USER_ADDR_NULL) {
489 if (req->oldptr == USER_ADDR_NULL) {
493 if (req->newptr != USER_ADDR_NULL) {
573 if (req->oldptr == USER_ADDR_NULL) {
629 if (req->newptr != USER_ADDR_NULL) {
641 if (req->oldptr == USER_ADDR_NULL) {
H A Dif_mib.c196 if (req->oldptr == USER_ADDR_NULL) { in make_ifmibdata()
/xnu-8020.121.3/iokit/Kernel/ !
H A DIOStatistics.cpp662 if (req->oldptr == USER_ADDR_NULL) { in getStatistics()
668 if (req->newptr != USER_ADDR_NULL) { in getStatistics()
756 if (req->oldptr == USER_ADDR_NULL) { in getWorkLoopStatistics()
762 if (req->newptr != USER_ADDR_NULL) { in getWorkLoopStatistics()
814 if (req->oldptr == USER_ADDR_NULL) { in getUserClientStatistics()

12345