/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_data.c | 65 if ((mpc = mac_get_mpc(handle)) != NULL) 77 if (mmd != NULL) {
|
H A D | mac_internal.h | 233 if (proc == NULL) 243 if (proc == NULL) 299 #define mac_mbuf_to_label(m) (NULL) 315 if (mpc == NULL) \ 318 if (mpc->mpc_ops->mpo_ ## check != NULL) \ 326 if (mpc == NULL) \ 329 if (mpc->mpc_ops->mpo_ ## check != NULL) \ 352 if (mpc == NULL) \ 355 if (mpc->mpc_ops->mpo_ ## operation != NULL) \ 363 if (mpc == NULL) \ [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ |
H A D | mach_traps.h | 272 #define munge_w NULL 273 #define munge_ww NULL 274 #define munge_www NULL 275 #define munge_wwww NULL 276 #define munge_wwwww NULL 277 #define munge_wwwwww NULL 278 #define munge_wwwwwww NULL 279 #define munge_wwwwwwww NULL 280 #define munge_d NULL 281 #define munge_dd NULL [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ipsec.c | 272 * OUT: NULL: no apropreate SP found, the following value is set to error. 288 struct inpcbpolicy *pcbsp = NULL; 289 struct secpolicy *currsp = NULL; /* policy on socket */ 290 struct secpolicy *kernsp = NULL; /* policy on kernel */ 294 if (m == NULL || so == NULL || error == NULL) 295 panic("ipsec4_getpolicybysock: NULL pointer was passed.\n"); 297 if (so->so_pcb == NULL) { 298 printf("ipsec4_getpolicybysock: so->so_pcb == NULL\ [all...] |
H A D | ipcomp_input.c | 96 struct secasvar *sav = NULL; 106 md = m_pulldown(m, off, sizeof(*ipcomp), NULL); 108 m = NULL; /*already freed*/ 128 if (sav != NULL 144 ipcomp = NULL; 162 m = NULL; 208 sav = NULL; 213 ipsec4_in_reject(m, NULL)) { 220 m = NULL; 249 struct secasvar *sav = NULL; [all...] |
H A D | nd6_nbr.c | 107 char *lladdr = NULL; 113 struct sockaddr_dl *proxydl = NULL; 120 if (nd_ns == NULL) { 349 struct in6_ifaddr *ia = NULL; 354 struct ifnet *outif = NULL; 375 m = NULL; 378 if (m == NULL) 380 m->m_pkthdr.rcvif = NULL; 382 if (daddr6 == NULL || IN6_IS_ADDR_MULTICAST(daddr6)) { 420 if (ia == NULL) { [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_subr.c | 111 for (hdlr = dtrace_invop_hdlr; hdlr != NULL; hdlr = hdlr->dtih_next) { 133 dtrace_invop_hdlr_t *hdlr = dtrace_invop_hdlr, *prev = NULL; 136 if (hdlr == NULL) 146 if (prev == NULL) {
|
H A D | dtrace.c | 300 NULL, 301 NULL, 302 NULL, 675 if (svar == NULL || svar->dtsv_size == 0) 748 if (s1 == NULL) 753 if (s2 == NULL) 890 if (s1 == NULL || s2 == NULL) 929 * We should always have a non-NULL state cred here, since if cred 932 ASSERT(s_cr != NULL); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_chash.c | 174 return (NULL); 178 return (NULL); 193 return (NULL); 199 return (NULL); 240 * If the cnode is C_DELETED, then return NULL since that 248 struct cnode *ncp = NULL; 275 if (vp == NULL) { 297 ncp = NULL; 328 vp = NULL; 329 cp = NULL; [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | kpi_interfacefilter.c | 43 if (interface == NULL) return ENOENT;
|
H A D | route.c | 389 if ((rt_mtx = lck_mtx_alloc_init(rt_mtx_grp, rt_mtx_attr)) == NULL) { 406 if (rte_zone == NULL) 441 if ((rt = ro->ro_rt) != NULL) { 442 if (rt->rt_ifp != NULL && rt->rt_flags & RTF_UP) 445 ro->ro_rt = NULL; 482 struct rtentry *rt, *newrt = NULL; 487 if (rnh == NULL) 494 rt = rt_lookup(FALSE, dst, NULL, rnh, ifscope); 495 if (rt == NULL) 506 err = rtrequest_locked(RTM_RESOLVE, dst, NULL, NUL [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOPMinformee.cpp | 43 if (!newInformee) return NULL;
|
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | bsearch.c | 106 return (NULL);
|
H A D | dgraph.c | 97 dgraph_entry_t * current_dependent = NULL; 110 current_dependent = NULL; 114 current_dependent = NULL; 122 load_address = strtoul(address, NULL, 0); 128 /* expected kmod name */ NULL, /* expected vers */ 0, 135 /* expected kmod name */ NULL, /* expected vers */ 0, 182 entry->name = NULL; 186 entry->expected_kmod_name = NULL; 190 entry->expected_kmod_vers = NULL; 194 entry->dependencies = NULL; [all...] |
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/ |
H A D | fprintf_stderr.c | 55 if (vprintf_stderr_func == NULL)
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | sched_average.c | 104 { compute_stack_target, NULL, SCHED_AVG_SECS(5), 1 }, 105 { NULL, NULL, 0, 0 } 192 for (avg = sched_average; avg->comp != NULL; ++avg) {
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | makedis.c | 427 if ((f = fopen(argv[i], "r")) == NULL) { 438 static char *string = NULL; 484 if (fp == NULL) 585 for (fp = functions; fp != NULL; fp = fp->next) { 598 fp->first = fp->last = NULL; 623 fp->first = fp->last = NULL; 663 return NULL; 665 ep->next = NULL; 666 ep->bits = NULL; 668 if (fp->first != NULL) [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | uipc_proto.c | 126 SYSCTL_NODE(_net, PF_LOCAL, local, CTLFLAG_RW|CTLFLAG_LOCKED, NULL, "Local domain"); 127 SYSCTL_NODE(_net_local, SOCK_STREAM, stream, CTLFLAG_RW|CTLFLAG_LOCKED, NULL, "SOCK_STREAM"); 128 SYSCTL_NODE(_net_local, SOCK_DGRAM, dgram, CTLFLAG_RW|CTLFLAG_LOCKED, NULL, "SOCK_DGRAM");
|
H A D | kern_authorization.c | 164 kauth_lck_grp = NULL; 171 kauth_scope_process = kauth_register_scope(KAUTH_SCOPE_PROCESS, kauth_authorize_process_callback, NULL); 172 kauth_scope_generic = kauth_register_scope(KAUTH_SCOPE_GENERIC, kauth_authorize_generic_callback, NULL); 173 kauth_scope_fileop = kauth_register_scope(KAUTH_SCOPE_FILEOP, NULL, NULL); 189 if (sp == NULL) 190 return(NULL); 208 if (lsp == NULL) 209 return(NULL); 222 if ((sp = kauth_alloc_scope(identifier, callback, idata)) == NULL) [all...] |
H A D | kern_panicinfo.c | 64 vm_offset_t newimage = (vm_offset_t )NULL; 131 newimage = (vm_offset_t )NULL; 146 if ( prev_image_ptr != NULL ) { 166 if ( prev_image_ptr != NULL ) { 175 if ( newimage != (vm_offset_t )NULL )
|
H A D | uipc_domain.c | 121 if ((dp->dom_mtx = lck_mtx_alloc_init(domain_proto_mtx_grp, domain_proto_mtx_attr)) == NULL) { 185 for (dp2 = NULL, dp1 = domains; dp1; dp2 = dp1, dp1 = dp1->dom_next) 210 for (pp2 = NULL, pp1 = dp->dom_protosw; pp1; pp1 = pp1->pr_next) 217 if (pp2 == NULL) 239 for (pp2 = NULL, pp1 = dp->dom_protosw; pp1; pp1 = pp1->pr_next) 245 if (pp1 == NULL) { 296 if ((domain_proto_mtx = lck_mtx_alloc_init(domain_proto_mtx_grp, domain_proto_mtx_attr)) == NULL) { 340 timeout(pffasttimo, NULL, 1); 341 timeout(pfslowtimo, NULL, 1); 350 while (dp != NULL) [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | ip_edgehole.c | 53 static thread_call_t edgehole_callout = NULL; 55 static struct edgehole_delayed_notify *edgehole_delay_list = NULL; 126 while (!OSCompareAndSwapPtr(head, NULL, &edgehole_delay_list)); 128 if (head == NULL) 170 for (current = head; current != NULL; current = current->next) 210 if (tag->eh_inp == NULL || tag->eh_inpinfo == NULL) 251 if (edgehole_callout == NULL) 253 thread_call_t tmp_callout = thread_call_allocate(ip_edgehole_process_delayed, NULL); 255 if (!OSCompareAndSwapPtr(NULL, tmp_callou [all...] |
H A D | ip_output.c | 240 struct ifnet *ifp = NULL; 244 struct sockaddr_in *dst = NULL; 245 struct in_ifaddr *ia = NULL; 250 struct socket *so = NULL; 251 struct secpolicy *sp = NULL; 273 args.next_hop = NULL; 274 args.eh = NULL; 275 args.rule = NULL; 277 args.ipoa = NULL; 281 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DUMMYNET, NULL)) ! [all...] |
H A D | kpi_ipfilter.c | 29 #include <sys/param.h> /* for definition of NULL */ 114 if (filter->name == NULL || (filter->ipf_input == NULL && filter->ipf_output == NULL)) 118 if (new_filter == NULL) 130 if (filter->name != NULL && 244 if (mtag == NULL) { 275 if (m == NULL) return ENOMEM; 282 if (mtag == NULL) { 306 if (ro.ro_rt == NULL) { [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | queue.h | 182 { NULL } 192 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) 208 ((var) = *(varp)) != NULL; \ 212 SLIST_FIRST((head)) = NULL; \ 255 { NULL, &(head).stqh_first } 273 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL) 289 STAILQ_FIRST((head)) = NULL; \ 294 if ((STAILQ_NEXT((elm), field) = STAILQ_NEXT((tqelm), field)) == NULL)\ 300 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \ 306 STAILQ_NEXT((elm), field) = NULL; \ [all...] |