Searched refs:NULL (Results 276 - 300 of 625) sorted by relevance

<<11121314151617181920>>

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsysv_shm.c110 SYSINIT(sysv_shm, SI_SUB_SYSV_SHM, SI_ORDER_FIRST, shminit, NULL)
242 return NULL;
247 return NULL;
260 shm_handle->shm_object = NULL;
313 shminit(NULL);
316 if (shmmap_s == NULL) {
354 struct shmmap_state *shmmap_s = NULL;
369 shminit(NULL);
374 if (shmmap_s == NULL) {
377 if (shmmap_s == NULL) {
[all...]
H A Dsubr_prf.c199 return ((tpr_t) NULL);
217 struct tty *tp = NULL;
254 if (tp != NULL) {
275 pca.tty = NULL;
303 pca.tty = NULL;
427 if ((pca->flags & TOCONS) && pca->tty == NULL && constty) {
452 pca.tty = NULL;
H A Dkern_sysctl.c234 sysctlfn *fnp = NULL;
294 fnp = NULL;
455 if (p == NULL)
775 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
799 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
821 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
843 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
871 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
880 *oldlenp = copylen - 1; /* deal with NULL strings correctly */
908 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
[all...]
H A Dkern_proc.c211 struct uidinfo *newuip = NULL;
244 if (newuip != NULL) {
246 newuip = NULL;
256 if (newuip == NULL)
260 if (newuip != NULL)
422 /* if process still in creation return NULL */
428 /* if process has not started exit or is being reaped, return NULL */
748 if (uth != NULL)
751 return(NULL);
789 /* LP64todo - figure out how to identify 64-bit processes if NULL proc
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_attrlist.c102 if (source != NULL)
108 if (ext != NULL)
118 attrlist_pack_variable2(ab, source, count, NULL, 0);
131 if (source == NULL) {
459 if ((auio = uio_createwithbuffer(1, 0, UIO_SYSSPACE, UIO_WRITE, uio_buf, sizeof(uio_buf))) == NULL) {
490 *np = NULL;
522 const char *cnp = NULL; /* protected by ATTR_CMN_NAME */
526 ab.base = NULL;
529 vs.f_vol_name = NULL;
555 if (vs.f_vol_name == NULL) {
[all...]
H A Dvfs_init.c165 if (*opv_desc_vector_p == NULL) {
218 if (opv_desc_vector[VOFFSET(vnop_default)]==NULL) {
222 if (opv_desc_vector[k] == NULL)
241 *(vfs_opv_descs[i]->opv_desc_vector_p) = NULL;
379 * until the first NULL ->vfs_vfsops is encountered.
497 * through ->vfc_next, and the list is NULL terminated.
509 * NULL-valued ->vfc_vfsops, so if we delete a VFS, we must
510 * ensure we set the entry back to NULL.
513 if (vfsconf[slot].vfc_vfsops == NULL)
537 slotp->vfc_next = NULL;
[all...]
H A Dvfs_xattr.c128 if ((error = vnode_authorize(vp, NULL, KAUTH_VNODE_READ_EXTATTRIBUTES, context))) {
132 if (uio != NULL && uio_offset(uio) != 0 &&
140 if (uio != NULL && uio_offset(uio) != 0 &&
188 error = vnode_authorize(vp, NULL, KAUTH_VNODE_WRITE_EXTATTRIBUTES, context);
214 native = VNOP_GETXATTR(vp, name, NULL, &sz, 0, context) ? 0 : 1;
215 dufile = default_getxattr(vp, name, NULL, &sz, 0, context) ? 0 : 1;
276 error = vnode_authorize(vp, NULL, KAUTH_VNODE_WRITE_EXTATTRIBUTES, context);
334 error = vnode_authorize(vp, NULL, KAUTH_VNODE_READ_EXTATTRIBUTES, context);
358 if (name == NULL || name[0] == '\0') {
415 vnode_update_identity(svp, vp, NULL,
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/panic_ui/
H A Dqtif2kraw.c90 unsigned int * panic_clut = NULL;
91 static char * clutin = NULL;
107 char *file = NULL;
108 char *kraw = NULL;
162 if( file == NULL)
170 if ( file != NULL )
269 if ( (ostream = fopen(kraw, "wb")) == NULL ) {
337 if ( currP == NULL || data == NULL )
479 currP = NULL;
[all...]
H A Dgenimage.c181 unsigned int * panic_clut = NULL;
182 static char * clutin = NULL;
198 char *file = NULL;
199 char *out = NULL;
200 char *kraw = NULL;
201 char *qtraw = NULL;
202 char *clutout = NULL;
203 char *whdname = NULL;
297 if( file == NULL)
299 if ( whdname == NULL )
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_pageout.c715 holding_page = NULL;
876 vm_page_t local_freeq = NULL;
990 object = NULL;
991 last_object_tried = NULL;
1002 DTRACE_VM2(rev, int, 1, (uint64_t *), NULL);
1036 DTRACE_VM2(scan, int, 1, (uint64_t *), NULL);
1049 if (object != NULL) {
1051 object = NULL;
1089 m->pageq.next = NULL;
1090 m->pageq.prev = NULL;
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/vn/
H A Dvn.c162 /* ttys */ NULL,
176 struct vnode *sc_vp; /* vnode if not NULL */
179 struct vnode *sc_shadow_vp; /* shadow vnode if not NULL */
181 shadow_map_t * sc_shadow_map; /* shadow map if not NULL */
264 if (resid != NULL) {
357 if (tmpbuf == NULL) {
363 vn->sc_secsize, NULL);
370 vn->sc_secsize, NULL);
546 if (vn->sc_shadow_vp != NULL) {
626 if (vn->sc_shadow_vp != NULL) {
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Daurp_aurpd.c144 if (m == NULL) {
154 sopt.sopt_p = NULL;
163 if (m == NULL) {
174 sopt.sopt_p = NULL;
272 if (*err || (p_mbuf == NULL)) {
435 error = sosend(aurp_global.tunnel, (struct sockaddr *) &rem_addr, NULL, m, NULL, flags);
H A Dddp_lap.c166 return((at_ifaddr_t *)NULL);
181 *elapp = NULL;
218 if (gbuf_cont(m) != NULL)
220 if (iocbp->ioc_count < size || (gbuf_cont(m) == NULL) || i < size) {
323 gbuf_t *mt = NULL; /* temp */
351 if ( (gbuf_cont(m) == NULL)
352 || (elapp = find_ifID(gbuf_rptr(gbuf_cont(m)))) == NULL) {
358 PRI_MED)) == NULL) {
394 gbuf_cont(m) = NULL;
398 if ((gbuf_cont(m) = gbuf_alloc(sizeof(ZT_entryno), PRI_MED)) == NULL) {
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/
H A Dchud_thread.c70 processor_t proc = NULL;
154 size = 0; addr = NULL;
224 *thing_list = NULL;
292 size = 0; addr = NULL;
348 *threads_out = NULL;
403 *task_list = NULL;
441 *thread_list = NULL;
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_base.c159 * be able to deal with a NULL label being returned on any mbufs that
326 if (mlj == NULL)
344 return (NULL);
354 if (mlj == NULL) {
564 if ((mpc != NULL) && (mpc->mpc_ops->mpo_policy_initbsd != NULL))
589 if (mpc->mpc_labelnames == NULL)
637 if (mle == NULL) {
645 if (mle == NULL) {
688 if (mpc->mpc_labelnames == NULL)
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/default_pager/
H A Ddp_backing_store.c159 ipc_port_t min_pages_trigger_port = NULL;
160 ipc_port_t max_pages_trigger_port = NULL;
250 vs_async_free_list = NULL;
571 if(alias_struct != NULL) {
701 if ((vs_count != 0) && (vs != NULL))
706 while((vs_count != 0) && (vs != NULL)) {
731 &upl, NULL, &count,
737 upl_commit(upl, NULL, 0);
785 vs = NULL;
909 if((void *)bs->bs_port->alias != NULL)
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_attrlist.c108 void *attrbufptr = NULL;
115 struct cat_desc *lastdescp = NULL;
116 struct cat_entrylist *ce_list = NULL;
117 directoryhint_t *dirhint = NULL;
226 dcp = NULL;
230 struct cnode *cp = NULL;
231 struct vnode *vp = NULL;
252 vp = NULL;
258 if (vp != NULL) {
274 cp = NULL;
[all...]
H A Dhfs_vfsops.c165 if ((error = hfs_mountfs(rvp, mp, NULL, 0, context)))
182 (void)hfs_statfs(mp, vfsp, NULL);
198 struct hfsmount *hfsmp = NULL;
236 hfsmp->hfs_downgrading_proc = NULL;
246 hfsmp->hfs_downgrading_proc = NULL;
267 hfsmp->hfs_downgrading_proc = NULL;
275 hfsmp->jnl = NULL;
284 hfsmp->hfs_downgrading_proc = NULL;
304 && hfsmp->jnl == NULL
305 && hfsmp->jvp != NULL) {
[all...]
H A Dhfs_vnops.c242 (VTOHFS(vp)->jnl == NULL) ||
350 hfsmp->hfs_freezing_proc = NULL;
721 struct cnode *cp = NULL;
762 if (cp == NULL) {
954 if (!suser(cred, NULL))
1324 struct filefork *fp = NULL;
1345 if (VTOF(vp)->fcbBTCBPtr != NULL) {
1347 if (hfsmp->jnl == NULL) {
1437 if (VTOF(vp)->fcbBTCBPtr != NULL) {
1468 VNOP_IOCTL(hfsmp->hfs_devvp, DKIOCSYNCHRONIZECACHE, NULL, FWRIT
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Din6_ifattach.c94 struct in6_ifstat **in6_ifstat = NULL;
95 struct icmp6_ifstat **icmp6_ifstat = NULL;
283 if (sdl == NULL)
490 if (ifp->if_type == IFT_PPP && ifra_passed != NULL) /* PPP provided both addresses for us */
537 * a link-local address. We can set NULL to the 3rd argument, because
541 if ((error = in6_update_ifa(ifp, &ifra, NULL)) != 0) {
561 ia = in6ifa_ifpforlinklocal(ifp, 0); /* ia must not be NULL */
564 panic("ia == NULL in in6_ifattach_linklocal");
583 pr0.ndpr_plen = in6_mask2len(&ifra.ifra_prefixmask.sin6_addr, NULL);
601 * probably returns NULL
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dmp.c101 #define FULL_SLAVE_INIT (NULL)
593 static volatile void (*mp_PM_func)(void) = NULL;
600 if (mp_PM_func != NULL)
609 if (mp_PM_func != NULL) {
714 if (mp_rv_setup_func != NULL)
728 if (mp_rv_action_func != NULL)
739 if (mp_rv_teardown_func != NULL)
754 if (setup_func != NULL)
756 if (action_func != NULL)
758 if (teardown_func != NULL)
1067 mp_cpus_call(cpu_to_cpumask(master_cpu), ASYNC, etimer_timer_expire, NULL); local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dthread.c172 thread_template.parameter = NULL;
186 thread_template.pending_promoter[1] = NULL;
221 thread_template.special_handler.next = NULL;
225 thread_template.recover = (vm_offset_t)NULL;
237 thread_template.affinity_set = NULL;
323 task->bsd_info != NULL) {
398 thread->uthread = NULL;
543 result = kernel_thread_start_priority((thread_continue_t)thread_terminate_daemon, NULL, MINPRI_KERNEL, &thread);
552 result = kernel_thread_start_priority((thread_continue_t)thread_stack_daemon, NULL, BASEPRI_PREEMPT, &thread);
576 if (first_thread == NULL)
[all...]
H A Dclock_oldops.c158 NULL, NULL,
181 thread_call_setup(&alarm_done_call, (thread_call_func_t)alarm_done, NULL);
182 timer_call_setup(&alarm_expire_timer, (timer_call_func_t)alarm_expire, NULL);
191 clock->cl_ops = NULL;
588 if (((alarm->al_prev)->al_next = alarm->al_next) != NULL)
631 while ((alrm2 = alrm1->al_next) != NULL) {
640 if ((alrm1->al_next = alrm2->al_next) != NULL)
648 alrm2->al_next = NULL;
661 if ((alrm2->al_next = alrmdone) != NULL)
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_syscalls.c276 msleep(thd, nfsiod_mutex, PWAIT | PDROP, "nfsiodw", NULL);
339 nmp->nm_niod = NULL;
340 niod->niod_nmp = NULL;
449 error = VFS_VPTOFH(vp, (int*)&nfh.nfh_len, &nfh.nfh_fid[0], NULL);
520 error = nfsrv_fhtovp(&nfh, NULL, &vp, &nx, &nxo);
555 if ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)
606 procfdtbl_releasefd(p, indx, NULL);
666 nam = NULL;
839 struct nfsrv_descript *nd = NULL;
890 error = msleep(nfsd, nfsd_mutex, PSOCK | PCATCH, "nfsd", NULL);
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fifofs/
H A Dfifo_vnops.c123 { (struct vnodeop_desc*)NULL, (int(*)())NULL }
136 *ap->a_vpp = NULL;
165 error = msleep(&fip->fi_flags, &vp->v_lock, PRIBIO | PCATCH, "fifocreatewait", NULL);
246 PCATCH | PSOCK, "fifoor", NULL);
264 PCATCH | PSOCK, "fifoow", NULL);
364 error = sosend(wso, (struct sockaddr *)0, ap->a_uio, NULL,
490 fip->fi_readsock = NULL;
491 fip->fi_writesock = NULL;

Completed in 248 milliseconds

<<11121314151617181920>>