/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_dhcp.c | 254 m = (struct mbuf *)m_devget(pkt, pktsize, 0, NULL, NULL); 257 return NULL; 312 return (NULL); 369 *timer_arg = NULL; 391 if (dhcpol_find(options_p, dhcptag_subnet_mask_e, &len, NULL) != NULL) { 394 if (dhcpol_find(options_p, dhcptag_router_e, &len, NULL) != NULL) { 406 opt = dhcpol_find(options_p, dhcptag_dhcp_message_type_e, &len, NULL); [all...] |
H A D | in_var.h | 192 (ifp) = (ia == NULL) ? NULL : ia->ia_ifp; \ 207 (ia) != NULL && (ia)->ia_ifp != (ifp); \ 275 (inm) = ifma ? ifma->ifma_protospec : NULL; \ 282 * and get the first record. Both macros return a NULL "inm" when there 289 if (((inm) = (step).i_inm) != NULL) \
|
H A D | igmp.c | 177 if (rti != NULL) 247 if (rti == NULL) { 314 while (inm != NULL) { 375 if (inm != NULL) { 402 if (inm->inm_rti == NULL) return ENOMEM; 438 while (inm != NULL) { 441 } else if ((--inm->inm_timer == 0) && (inm->inm_rti != NULL)) { 484 if (m == NULL) 522 imo.imo_multicast_loop = (ip_mrouter != NULL); 531 ip_output(m, router_alert, &igmprt, 0, &imo, NULL); [all...] |
H A D | ip_flow.c | 130 while (ipf != NULL) { 165 if ((ipf = ipflow_lookup(ip)) == NULL) 248 struct ipflow *ipf, *maybe_ipf = NULL; 253 while (ipf != NULL) { 265 if (maybe_ipf == NULL 283 ipf->ipf_ro.ro_rt = NULL; 296 while (ipf != NULL) { 334 if (ipf == NULL) { 340 if (ipf == NULL) 349 ipf->ipf_ro.ro_rt = NULL; [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | raw_ip6.c | 132 struct mbuf *opts = NULL; 190 n, opts, NULL) == 0) { 194 opts = NULL; 218 (struct sockaddr *)&rip6src, m, opts, NULL) == 0) { 248 struct ip6ctlparam *ip6cp = NULL; 249 const struct sockaddr_in6 *sa6_src = NULL; 259 notify = in6_rtchange, d = NULL; 261 d = NULL; 266 if (d != NULL) { 273 m = NULL; [all...] |
H A D | ip6_input.c | 247 if ((ip6_mutex = lck_mtx_alloc_init(ip6_mutex_grp, ip6_mutex_attr)) == NULL) { 251 if ((dad6_mutex = lck_mtx_alloc_init(ip6_mutex_grp, ip6_mutex_attr)) == NULL) { 255 if ((nd6_mutex = lck_mtx_alloc_init(ip6_mutex_grp, ip6_mutex_attr)) == NULL) { 260 if ((prefix6_mutex = lck_mtx_alloc_init(ip6_mutex_grp, ip6_mutex_attr)) == NULL) { 282 proto_register_input(PF_INET6, ip6_proto_input, NULL, 0); 298 in6_ifattach(lo_ifp, NULL, NULL); 325 callout_reset(&nd6_timer_ch, hz, nd6_timer, NULL); 329 callout_reset(&in6_rr_timer_ch, hz, in6_rr_timer, NULL); 335 in6_tmpaddrtimer, NULL); [all...] |
H A D | ipcomp_output.c | 172 if (mcopy == NULL) { 177 if (md0 == NULL) { 187 if (mprev == NULL || mprev->m_next != md) { 196 mprev->m_next = NULL; 197 if ((md = ipsec_copypkt(md)) == NULL) { 207 if ((*algo->compress)(m, md, &plen) || mprev->m_next == NULL) { 209 m = NULL; 234 md0 = NULL; 244 struct ip *ip = NULL; 247 struct ip6_hdr *ip6 = NULL; [all...] |
H A D | udp6_usrreq.c | 143 if (im6o == NULL) 147 for (imm = im6o->im6o_memberships.lh_first; imm != NULL; 149 if ((ifp == NULL || 168 struct mbuf *opts = NULL; 182 (struct sockaddr *)udp_in6, n, opts, NULL) == 0) 197 struct mbuf *opts = NULL; 240 struct mbuf *n = NULL; 360 if (reuse_sock == 0 || ((m = n) == NULL)) 448 m, opts, NULL) == 0) { 449 m = NULL; [all...] |
H A D | ah_output.c | 97 if (isr == NULL) 98 panic("ah_hdrsiz: NULL was passed.\n"); 111 if (isr->sav == NULL) 166 u_char *ahsumpos = NULL; 325 m = NULL; 383 u_char *ahsumpos = NULL; 521 * Returns NULL if there's no source routing options. 522 * Returns NULL on errors too. 538 panic("ah4_finaldst: m == NULL"); 549 return NULL; [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOCPU.cpp | 105 { { NULL, NULL }, (iocpu_platform_action_t) &clean_mmu_dcache, 97000, 0, 0, NULL }, 106 { { NULL, NULL }, (iocpu_platform_action_t) &arm_sleep, 99000, 0, 0, NULL }, 179 NULL, NULL, NULL)); 186 NULL, NUL [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | trap.c | 72 perfCallback tempDTraceTrapHook = NULL; /* Pointer to DTrace fbt trap hook routine */ 199 unresolved_kernel_trap(trapno, ssp, dsisr, dar, NULL); 219 unresolved_kernel_trap(trapno, ssp, dsisr, dar, NULL); 241 unresolved_kernel_trap(trapno, ssp, dsisr, dar, NULL); /* Go panic */ 270 unresolved_kernel_trap(trapno, ssp, dsisr, dar, NULL); 276 unresolved_kernel_trap(trapno, ssp, dsisr, dar, NULL); 279 dsisr, dar, NULL); 342 FALSE, THREAD_UNINT, NULL, vm_map_trunc_page(0)); 345 unresolved_kernel_trap(trapno, ssp, dsisr, dar, NULL); 361 thread->recover = (vm_offset_t)NULL; [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | dtrace_subr_ppc.c | 83 * must always be either NULL, or point to a valid, 119 if (dtrace_return_probe_ptr != NULL) (void)(*dtrace_return_probe_ptr)(sv); 154 if (dtrace_pid_probe_ptr != NULL &&
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | rtsock_mip.c | 57 if ((m = rt_msg1(cmd, &info)) == NULL) { 72 raw_input(m, NULL, &route_proto, &route_src, &route_dst);
|
H A D | radix.c | 118 #define RN_MATCHF(rn, f, arg) (f == NULL || (*f)((rn), arg)) 214 return (rn_lookup_args(v_arg, m_arg, head, NULL, NULL)); 222 caddr_t netmask = NULL; 227 return (NULL); 268 return (rn_match_args(v_arg, head, NULL, NULL)); 319 if (t == NULL || RN_MATCHF(t, f, w)) { 329 return (NULL); 388 return (NULL); [all...] |
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_system.c | 81 vp != NULL ? vp->v_label : NULL);
|
H A D | mac_socket.c | 101 if (label == NULL) 102 return (NULL); 108 return (NULL); 121 if (label == NULL) 122 return (NULL); 128 return (NULL); 139 if (so->so_label == NULL) 142 if (so->so_peerlabel == NULL) { 144 so->so_label = NULL; 170 if (so->so_label != NULL) { [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_vfsutils.c | 181 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork, 210 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork, 234 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork, 248 error = cat_idlookup(hfsmp, kHFSRootFolderID, 0, NULL, NULL, NULL); 328 if ((hfsmp->hfs_flags & HFS_READ_ONLY) == 0 && hfsmp->jnl == NULL [all...] |
H A D | hfs_lookup.c | 169 dcp = NULL; 171 *vpp = NULL; 174 tvp = NULL; 220 retval = cat_lookup(hfsmp, &cndesc, 0, &desc, &attr, &fork, NULL); 231 dcp = NULL; 272 cache_enter(dvp, NULL, cnp); 408 * exist) the vnode pointer will be NULL. 432 *vpp = NULL; 486 if (cat_lookup(VTOHFS(vp), &desc, 0, &desc, NULL, NULL, NUL [all...] |
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/ |
H A D | socket_tests.c | 27 char * my_parent_pathp = NULL; 28 char * my_child_pathp = NULL; 39 if ( my_parent_pathp == NULL ) { 44 if ( my_child_pathp == NULL ) { 181 my_msghdr.msg_control = NULL; 195 MSG_WAITALL, NULL, NULL ); 253 my_msghdr.msg_control = NULL; 295 my_wait_pid = wait4( my_pid, &my_status, 0, NULL ); 316 if ( my_parent_pathp != NULL ) { [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | tty_tty.c | 93 if (ttyvp == NULL) 113 if (ttyvp == NULL) 132 if (ttyvp == NULL) 152 if (ttyvp == NULL) 192 if (ttyvp == NULL)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/ |
H A D | devfs_vnops.c | 164 devnode_t * node = NULL; /* the node we are searching for */ 174 *result_vnode = NULL; /* safe not sorry */ /*XXX*/ 204 * to make sure that our device node has a non-NULL dn_vn 234 * We return ni_vp == NULL to indicate that the entry 263 *result_vnode = NULL; 315 *result_vnode = NULL; 327 *result_vnode = NULL; 411 VATTR_RETURN(vap, va_acl, NULL); 524 return VNOP_READDIR(ap->a_vp, ap->a_uio, 0, NULL, NULL, a [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | security.c | 73 if (space == IS_NULL || space->is_task == NULL) 111 if (space == IS_NULL || space->is_task == NULL) 220 if (space == IS_NULL || space->is_task == NULL) 251 if (objl == NULL) { 291 if (space == IS_NULL || space->is_task == NULL) 310 if (objl == NULL) 313 if (subl == NULL) 361 if (space == IS_NULL || space->is_task == NULL) 380 if (objl == NULL) 383 if (subl == NULL) [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/ |
H A D | cd9660_vfsops.c | 133 NULL, /* quotactl */ 141 NULL, 142 {NULL} 191 struct iso_mnt *imp = NULL; 258 result = NULL; 261 return (NULL); 270 for (s=whole_path, saved=NULL; *s; ++s) 307 struct vnode *rvp = NULL; 308 struct vnode *videovp = NULL; 314 err = cd9660_root(isomp->im_mountp, &rvp, NULL); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_gss.c | 219 nfs_gss_svc_ctx_timer_call = thread_call_allocate(nfs_gss_svc_ctx_timer, NULL); 282 if (req->r_thread == NULL) { 296 if (cp == NULL) { 351 if (cp == NULL) 388 if (req->r_gss_ctx == NULL) { 434 msleep(cp, cp->gss_clnt_mtx, slpflag, "ctxwait", NULL); 455 msleep(cp, cp->gss_clnt_mtx, slpflag, "seqwin", NULL); 472 if (gsp == NULL) 635 if (cp == NULL) 671 if (cp->gss_clnt_verf == NULL) [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/YarrowCoreLib/src/ |
H A D | prng.c | 92 static HANDLE Statmutex = NULL; 148 YSHA1_CTX* ctx = NULL; 150 BYTE* bigbuf = NULL; 152 BYTE* buf = NULL; 235 Statmutex = CreateMutex(NULL,TRUE,NULL); 236 if(Statmutex == NULL) {mutexCreatorId = 0; return PRNG_ERR_MUTEX;} 272 /* NULL init */ 296 Statmutex = NULL; 369 gettimeofday(&tv, NULL); [all...] |