Searched refs:NULL (Results 251 - 275 of 625) sorted by relevance

<<11121314151617181920>>

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_input.c279 int (*fr_checkp)(struct ip *, int, struct ifnet *, int, struct mbuf **) = NULL;
391 if ((ip_mutex = lck_mtx_alloc_init(ip_mutex_grp, ip_mutex_attr)) == NULL) {
402 if ((sadb_stat_mutex = lck_mtx_alloc_init(sadb_stat_mutex_grp, sadb_stat_mutex_attr)) == NULL) {
425 mbuf_setnextpkt(packet, NULL);
453 proto_register_input(PF_INET, ip_proto_input, NULL, 1);
539 struct in_ifaddr *ia = NULL;
554 args.eh = NULL;
555 args.oif = NULL;
556 args.rule = NULL;
558 args.next_hop = NULL;
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs4_vnops.c112 error = nfs_request(np, NULL, &nmreq, NFSPROC4_COMPOUND, ctx, &nmrep, &xid, &status);
134 nfsm_chain_loadattr(error, &nmrep, np, nfsvers, NULL, &xid);
194 error = nfs4_parsefattr(&nmrep, NULL, nvap, NULL, NULL);
231 error = nfs_request(np, NULL, &nmreq, NFSPROC4_COMPOUND, ctx, &nmrep, &xid, &status);
239 nfsm_chain_loadattr(error, &nmrep, np, NFS_VER4, NULL, &xid);
306 error = nfs_request_async(np, NULL, &nmreq, NFSPROC4_COMPOUND, thd, cred, cb, reqp);
352 nfsm_chain_loadattr(error, &nmrep, np, nfsvers, NULL, &xid);
418 error = nfs_request_async(np, NULL,
[all...]
H A Dkrpc_subr.c188 error = krpc_call(sin, SOCK_DGRAM, PMAPPROG, PMAPVERS, PMAPPROC_GETPORT, &m, NULL);
233 nam = mhead = NULL;
283 m = NULL;
318 *data = NULL;
331 if ((error = mbuf_pkthdr_setrcvif(mhead, NULL)))
370 msg.msg_name = NULL;
381 m = NULL;
400 m = NULL;
438 error = sock_receivembuf(so, NULL, &m, MSG_WAITALL, &readlen);
451 msg.msg_namelen = (from_p == NULL)
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOPMrootDomain.cpp79 static const OSSymbol *sleepSupportedPEFunction = NULL;
393 wrangler = NULL;
866 return sleepSystemOptions (NULL);
1139 NULL);
1158 OSNumber *new_feature_data = NULL;
1159 OSNumber *existing_feature = NULL;
1160 OSArray *existing_feature_arr = NULL;
1161 OSObject *osObj = NULL;
1255 OSSymbol *dictKey = NULL;
1256 OSCollectionIterator *dictIterator = NULL;
[all...]
H A DIOPlatformExpert.cpp139 if (mydata != NULL) {
141 if (serNoString != NULL) {
242 return NULL;
509 if ( (NULL == theDevice) || (NULL == inSubTree) )
526 if ( NULL != (deviceDictionary = theDevice->dictionaryWithProperties ())) {
535 if ( NULL != (nubDictionary = theNub->dictionaryWithProperties ()) ) {
543 if (NULL != multipleParentKeyValue) {
545 multiParentMatch = (NULL != aNumber) ? multipleParentKeyValue->isEqualTo (aNumber) : false;
552 // NULL the
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_resource.c258 if (pun->errorp != NULL)
260 if (pun->foundp != NULL) {
279 if (pun->errorp != NULL)
281 if (pun->foundp!= NULL) {
344 pgrp_iterate(pg, PGRP_DROPREF, ppgrp_donice_callback, (void *)&ppgrp, NULL, NULL);
361 proc_iterate(PROC_ALLPROCLIST, puser_donice_callback, (void *)&punice, NULL, NULL);
401 if (suser(ucred, NULL) && ucred->cr_ruid &&
476 if ( fp == NULL || (fd
[all...]
H A Duipc_syscalls.c208 procfdtbl_releasefd(p, fd, NULL);
236 struct sockaddr *sa = NULL;
245 if (so == NULL) {
299 if (so != NULL)
338 struct sockaddr *sa = NULL;
341 struct socket *head, *so = NULL;
364 if (head == NULL) {
375 if (head->so_proto->pr_getlock != NULL) {
393 if ((head->so_state & SS_NBIO) && head->so_comp.tqh_first == NULL) {
450 so->so_head = NULL;
[all...]
H A Duipc_socket.c145 { 1, NULL, filt_sordetach, filt_solisten };
147 { 1, NULL, filt_sordetach, filt_soread };
149 { 1, NULL, filt_sowdetach, filt_sowrite };
268 if (so_cache_mtx == NULL)
278 timeout(so_cache_timer, NULL, (SO_CACHE_FLUSH_INTERVAL * hz));
429 timeout(so_cache_timer, NULL, (SO_CACHE_FLUSH_INTERVAL * hz));
450 if (so != NULL)
455 if (so != NULL) {
462 return (NULL);
498 if (pffinddomain(dom) == NULL) {
[all...]
H A Dsys_pipe.c190 NULL };
198 { 1, NULL, filt_pipedetach, filt_piperead };
200 { 1, NULL, filt_pipedetach, filt_pipewrite };
267 SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_ANY, pipeinit, NULL);
329 if ((pmtx = lck_mtx_alloc_init(pipe_mtx_grp, pipe_mtx_attr)) == NULL)
332 rpipe = wpipe = NULL;
404 procfdtbl_releasefd(p, retval[0], NULL);
405 procfdtbl_releasefd(p, retval[1], NULL);
432 if (cpipe == NULL)
576 if ((*cpipep = cpipe) == NULL)
[all...]
H A Dubc_subr.c193 const CS_CodeDirectory *cd = NULL;
204 return NULL;
238 return NULL;
263 return NULL;
270 hash = NULL;
581 cluster_zero(upl, (uint32_t)lastoff, PAGE_SIZE - (uint32_t)lastoff, NULL);
594 (memory_object_size_t)(olastpgend - lastpg), NULL, NULL,
677 (void) ubc_msync(vp, (off_t)0, ubc_getsize(vp), NULL, UBC_PUSHALL); local
782 if (uthread == NULL || (uthrea
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fdesc/
H A Dfdesc_vfsops.c158 mp->mnt_data = NULL;
202 if (fdp->fd_ofiles[i] == NULL &&
259 if (fdp->fd_ofiles[i] == NULL &&
296 NULL, /* quotactl */
305 NULL,
306 {NULL}
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_lookup.c204 if (cnp->cn_pnbuf == NULL) {
317 unlock_fsnode(ndp->ni_dvp, NULL);
334 if (cp == NULL) {
408 * if either ni_dvp or ni_vp is non-NULL, then
421 cnp->cn_pnbuf = NULL;
559 * cache_lookup_path returned a non-NULL ni_vp then,
606 if (dp->v_mount == NULL) { /* forced umount */
637 error = vnode_authorize(dp, NULL, KAUTH_VNODE_SEARCH, ctx);
653 (dp->v_flag & VROOT) && (dp->v_mount != NULL) &&
657 unlock_fsnode(dp, NULL);
[all...]
H A Dvfs_vnops.c131 { vn_read, vn_write, vn_ioctl, vn_select, vn_closefile, vn_kqfilt_add, NULL };
212 vp = NULL;
213 dvp = NULL;
236 if (vp == NULL) {
238 if (vap == NULL) {
252 if ((error = vnode_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx)) != 0)
272 if (vp->v_name == NULL)
296 ndp->ni_dvp = NULL;
311 ndp->ni_dvp = NULL;
337 ndp->ni_dvp = NULL;
[all...]
H A Dvfs_journal.c129 if (jnl == NULL) {\
132 if (jnl->jdev == NULL) { \
135 if (jnl->fsdev == NULL) { \
162 if (tr == NULL) {\
165 if (tr->jnl == NULL) {\
380 ret = VNOP_IOCTL(jnl->jdev, DKIOCSYNCHRONIZECACHE, NULL, FWRITE, &context);
420 VNOP_IOCTL(jnl->jdev, DKIOCSYNCHRONIZECACHE, NULL, FWRITE, &context);
443 jnl->tr_freeme = NULL;
466 transaction *ctr, *prev=NULL, *next;
479 if (tr == NULL) {
[all...]
H A Dvfs_cluster.c228 if (cl_mtxp == NULL)
310 if ((rap = ubc->cl_rahead) == NULL) {
319 if (ubc->cl_rahead == NULL)
331 return ((struct cl_readahead *)NULL);
356 if ((wbp = ubc->cl_wbehind) == NULL) {
359 return ((struct cl_writebehind *)NULL);
368 if (ubc->cl_wbehind == NULL)
389 if ((wbp = cluster_get_wbp(vp, 0)) != NULL) {
422 if (vp->v_mount != NULL)
545 if (cbp_next == NULL)
[all...]
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dkext.cpp225 if (!getKext(extName->getCStringNoCopy(), &extPlist, NULL, NULL, NULL)) {
596 if (!addDependenciesForKext(kextPlist, dependencyList, NULL, false)) {
635 if (!getKext(library_name, &kextPlist, NULL, NULL, NULL)) {
646 if (!getKext(library_name, &kextPlist, NULL, NULL, NULL)) {
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmachine_routines.c131 {NULL, 0x00000000}
165 return((vm_offset_t)NULL);
188 return((vm_offset_t)NULL);
206 if (paddr_cur != (vm_offset_t)NULL) {
250 initialize_screen(NULL, kPEAcquireScreen);
400 if (proc_info == (struct per_proc_info *)NULL)
403 if (proc_info->pp_cbfr == (void *)NULL)
411 if (proc_info->pp_chud == (void *)NULL)
420 if(in_processor_info->time_base_enable != (void(*)(cpu_id_t, boolean_t ))NULL)
423 proc_info->time_base_enable = (void(*)(cpu_id_t, boolean_t ))NULL;
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_readwrite.c198 kauth_cred_t cred = NULL;
311 if (cred && suser(cred, NULL) != 0)
540 VNOP_IOCTL(hfsmp->hfs_devvp, DKIOCSYNCHRONIZECACHE, NULL, FWRITE, NULL);
553 if (resid > uio_resid(uio) && cred && suser(cred, NULL)) {
656 * the index if there is a match. If no_match_indexp is non-NULL it
902 tmp = cache_binSearch(parents, num_parents-1, thisNodeID, NULL);
928 if (suser(myp_ucred, NULL) == 0) {
950 myErr = vnode_authorize(vp, NULL, (KAUTH_VNODE_SEARCH | KAUTH_VNODE_LIST_DIRECTORY), my_context);
952 myErr = vnode_authorize(vp, NULL, KAUTH_VNODE_READ_DAT
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/
H A Dsynthfs_vnops.c119 {(struct vnodeop_desc *) NULL, (int (*) ()) NULL}
289 VATTR_RETURN(vap, va_acl, NULL);
355 if (ouid != uid && suser(cred, NULL)) sp->s_mode &= ~S_ISUID;
356 if (ogid != gid && suser(cred, NULL)) sp->s_mode &= ~S_ISGID;
517 target_sp = targetPar_sp = source_sp = sourcePar_sp = NULL;
545 target_sp = target_vp ? VTOS(target_vp) : NULL;
565 target_vp = NULL;
566 target_sp = NULL;
640 struct vnode *vp = NULL;
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dbsd_comp.c352 return NULL;
379 return NULL;
386 return NULL;
390 db->lens = NULL;
396 return NULL;
451 || (decomp && db->lens == NULL))
541 wptr = NULL; \
564 *mret = NULL;
576 if (m != NULL) {
584 wptr = cp_end = NULL;
[all...]
H A Drtsock.c168 so->so_pcb = NULL;
302 struct rt_msghdr *rtm = NULL;
303 struct rtentry *rt = NULL;
304 struct rtentry *saved_nrt = NULL;
308 struct ifnet *ifp = NULL;
317 if (m == NULL ||
330 dst = NULL;
334 if (rtm == NULL) {
335 dst = NULL;
340 dst = NULL;
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Ddtrace_isa.c185 ASSERT(pcstack == NULL || pcstack_limit > 0);
199 if (pcstack != NULL) {
277 if (thread == NULL)
281 if (regs == NULL)
339 if (thread == NULL)
346 if (regs == NULL)
375 n += dtrace_getustack_common(NULL, 0, pc, fp);
403 if (thread == NULL)
407 if (regs == NULL)
525 if (intrpc != NULL
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/device/
H A Diokit_rpc.c148 return (NULL);
156 obj = NULL;
170 return (NULL);
178 obj = NULL;
188 io_object_t obj = NULL;
240 if( obj == NULL)
262 if( obj == NULL)
337 if( obj == NULL)
379 io_object_t obj = NULL;
395 obj = NULL;
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dmtrr.c84 #define CACHE_CONTROL_MTRR (NULL)
251 if (mtrr_state.var_range == NULL)
371 mtrr_update_teardown, NULL);
389 mtrr_update_setup(NULL);
390 mtrr_update_action(NULL);
391 mtrr_update_teardown(NULL);
452 for (i = 0, free_range = NULL; i < mtrr_state.var_count; i++)
473 free_range = NULL;
483 mtrr_update_teardown, NULL);
536 mtrr_update_teardown, NULL);
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c414 buffer = NULL;
500 struct buf *bp = NULL;
501 struct vnode *vp = NULL;
527 *buffer = NULL;
570 journal_modify_block_end(hfsmp->jnl, bp, NULL, NULL);
685 u_int32_t *buffer = NULL;
686 u_int32_t *currCache = NULL;
757 buffer = currCache = NULL;
829 buffer = currCache = NULL;
[all...]

Completed in 289 milliseconds

<<11121314151617181920>>