Searched refs:NULL (Results 51 - 75 of 625) sorted by relevance

1234567891011>>

/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dxattr_tests.c25 char * my_pathp = NULL;
31 if ( my_pathp == NULL ) {
53 my_result = listxattr( my_pathp, NULL, 0, 0 );
83 my_result = listxattr( my_pathp, NULL, 0, 0 );
109 my_result = flistxattr( my_fd, NULL, 0, 0 );
139 my_result = flistxattr( my_fd, NULL, 0, 0 );
158 if ( my_pathp != NULL ) {
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dif_atm.c112 struct natmpcb *npcb = NULL;
154 if (rt->rt_ifp->if_ioctl == NULL) panic("atm null ioctl");
166 npcb = npcb_add(NULL, rt->rt_ifp, ATM_PH_VCI(aph),
168 if (npcb == NULL)
180 api.rxhand = NULL;
195 rt->rt_llinfo = NULL;
213 rt->rt_llinfo = NULL;
222 api.rxhand = NULL;
261 if (rt == NULL) {
263 if (rt == NULL) got
[all...]
H A Dip_dummynet.c148 static struct dn_pipe *all_pipes = NULL ; /* list of all pipes */
149 static struct dn_flow_set *all_flow_sets = NULL ;/* list of all flow_sets */
245 if (p == NULL) {
259 * Insert element in heap. Normally, p != NULL, we insert p in
260 * a new position and bubble up. If p == NULL, then the element is
282 if (p == NULL) /* data already there, set starting point */
309 * remove top element from heap, or obj if obj != NULL
321 if (obj != NULL) { /* extract specific element, index is at offset */
347 heap_insert(h, father, NULL); /* this one cannot fail */
402 heap_insert(h, i , NULL) ;
[all...]
H A Dip_divert.h62 KERNEL_TAG_TYPE_DIVERT, NULL);
78 KERNEL_TAG_TYPE_DIVERT, NULL);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_audit.c244 if (ar->k_ar.ar_arg_upath1 != NULL) {
247 if (ar->k_ar.ar_arg_upath2 != NULL) {
251 if (ar->k_ar.ar_arg_kpath1 != NULL) {
255 if (ar->k_ar.ar_arg_kpath2 != NULL) {
259 if (ar->k_ar.ar_arg_text != NULL) {
263 if (ar->k_udata != NULL) {
268 if (ar->k_ar.ar_vnode1_mac_labels != NULL) {
271 if (ar->k_ar.ar_vnode2_mac_labels != NULL) {
274 if (ar->k_ar.ar_cred_mac_labels != NULL) {
277 if (ar->k_ar.ar_arg_mac_string != NULL) {
[all...]
H A Dimageboot.c62 char *root_path = NULL;
67 if (root_path == NULL)
100 char *root_path = NULL;
105 if (root_path == NULL)
121 mountroot = NULL;
125 if (error == 0 && rootvnode != NULL) {
H A Dmcache.c93 mcache_llock_owner = NULL; \
127 { 1, 4096, 32768, NULL },
128 { 3, 2048, 16384, NULL },
129 { 7, 1024, 12288, NULL },
130 { 15, 256, 8192, NULL },
131 { 31, 64, 4096, NULL },
132 { 47, 0, 2048, NULL },
133 { 63, 0, 1024, NULL },
134 { 95, 0, 512, NULL },
135 { 143, 0, 256, NULL },
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/chud/
H A Dchud_bsd_callback.c41 static chudxnu_kdebug_callback_func_t kdebug_callback_fn = NULL;
79 kdebug_callback_fn = NULL;
80 kdbg_control_chud(FALSE, NULL);
88 static chudxnu_syscall_callback_func_t syscall_callback_fn = NULL;
117 syscall_callback_fn = NULL;
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dcatalogue.cpp58 // executing 32 bit kernel, or NULL.
61 // from the currently executing 32 bit kernel, or NULL.
122 OSString * bundleIdentifier = NULL; // do not release
123 OSObject * rawValue = NULL; // do not release
124 OSString * stringValue = NULL; // do not release
125 OSBoolean * booleanValue = NULL; // do not release
126 OSDictionary * personalities = NULL; // do not release
127 OSDictionary * libraries = NULL; // do not release
128 OSCollectionIterator * keyIterator = NULL; // must release
129 OSString * key = NULL; // d
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Datp_open.c113 atp_trans_abort.head = NULL;
114 atp_trans_abort.tail = NULL;
116 atp_need_rel.head = NULL;
117 atp_need_rel.tail = NULL;
142 if (atp_rcb_data == NULL) {
145 if (atp_rcb_data == NULL) {
156 if (atp_state_data == NULL) {
159 if (atp_state_data == NULL) {
175 if ((atp = atp_free_list) == NULL)
189 atp->atp_trans_wait.head = NULL;
[all...]
H A Dat_ddp_brt.h68 brt = NULL; \
81 brt = NULL; \
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dif_media.c112 ifm->ifm_cur = NULL;
147 if (ifm == NULL) {
157 if (entry == NULL)
201 if (match == NULL) {
232 if (ifp == NULL || ifr == NULL || ifm == NULL)
247 if (match == NULL) {
302 kptr = NULL; /* XXX gcc */
339 for (; ep != NULL
[all...]
H A Dif_vlan.c392 if (g_vlan != NULL) {
396 if (v != NULL) {
401 if (g_vlan != NULL) {
403 if (v != NULL) {
410 if (v == NULL) {
444 if (func != NULL) {
455 if (func != NULL) {
585 if (ifv == NULL || ifvlan_flags_detaching(ifv)) {
589 if (vlp == NULL) {
601 if (ifv == NULL || ifvlan_flags_detachin
[all...]
H A Dbridge.c152 bdg_hash_table *bdg_table = NULL ;
158 SYSINIT(interfaces, SI_SUB_PROTO_IF, SI_ORDER_FIRST, bdginit, NULL)
161 struct bdg_softc *ifp2sc = NULL ;
242 if (bdg_table == NULL)
288 if (ifp == NULL)
367 NULL, 0, &sysctl_refresh, "I", "iface refresh");
399 if (bdg_table == NULL)
403 bdg_table[i].name= NULL; /* clear table */
428 bdg_table[age_index].name = NULL ;
458 if (bdg_table == NULL)
[all...]
H A Dif_stf.c147 in_stf_input, NULL, NULL, rip_ctloutput,
148 NULL,
149 NULL, NULL, NULL, NULL,
150 NULL,
152 NULL, rip_unlock, NULL, {NUL
[all...]
H A Dppp_deflate.c190 return NULL;
193 return NULL;
197 if (state == NULL)
198 return NULL;
200 state->strm.next_in = NULL;
206 return NULL;
278 *mret = NULL;
287 if (m != NULL) {
312 state->strm.next_out = NULL;
314 wptr = NULL;
[all...]
H A Dndrv.c181 if (np == NULL)
188 if (m == NULL)
222 if (np == NULL)
234 np->nd_if = NULL;
284 if (np->nd_faddr == NULL)
334 if (np->nd_laddr == NULL)
354 if (ifp == NULL)
428 m = NULL;
459 if (*nam == NULL)
481 if (*nam == NULL)
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Dsdt.c94 for (prov = sdt_providers; prov->sdtp_name != NULL; prov++) {
99 if (mp->sdt_nprobes != 0 || (sdpd = mp->sdt_probes) == NULL)
102 for (sdpd = mp->sdt_probes; sdpd != NULL; sdpd = sdpd->sdpd_next) {
107 for (prov = sdt_providers; prov->sdtp_prefix != NULL; prov++) {
138 if (func == NULL)
147 ASSERT(old != NULL);
179 if (ctl != NULL && ctl->mod_loadcnt == sdp->sdp_loadcnt) {
187 while (sdp != NULL) {
194 last = NULL;
198 ASSERT(hash != NULL);
[all...]
H A Ddtrace_ptss.c53 struct dtrace_ptss_page_entry* entry = NULL;
58 if (temp == NULL) {
63 if (page == NULL)
64 return NULL;
103 struct dtrace_ptss_page_entry* entry = NULL;
108 if (temp == NULL) {
144 * entries next field set to NULL. It does not add the page or the entries to
154 if (ptss_page == NULL)
155 return NULL;
193 // The last entry should point to NULL
[all...]
H A Dfasttrap.c291 if (t != NULL)
354 while ((fp = *fpp) != NULL) {
428 fasttrap_timeout = dtrace_timeout(&fasttrap_pid_cleanup_cb, NULL, NANOSEC / SEC);
447 fasttrap_timeout = dtrace_timeout(&fasttrap_pid_cleanup_cb, NULL, NANOSEC / MILLISEC);
497 for (tp = bucket->ftb_data; tp != NULL; tp = tp->ftt_next) {
580 fasttrap_tracepoint_t *tp, *new_tp = NULL;
615 for (tp = bucket->ftb_data; tp != NULL; tp = tp->ftt_next) {
634 ASSERT(tp->ftt_ids != NULL || tp->ftt_retids != NULL);
660 if (new_tp != NULL) {
[all...]
H A Dprofile_prvd.c227 if (NULL != kern_regs) {
234 if (NULL == tagged_regs) {
283 if (NULL != kern_regs) {
290 if (NULL == tagged_regs) {
319 if (dtrace_probe_lookup(profile_id, NULL, NULL, name) != 0)
341 NULL, NULL, name,
351 const char *name, *suffix = NULL;
359 { NULL, NUL
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Daffinity.c103 if (thread->affinity_set != NULL)
121 affinity_set_t empty_aset = NULL;
123 affinity_space_t new_aspc = NULL;
129 if (aspc == NULL) {
132 if (new_aspc == NULL)
135 if (thread->task->affinity_space == NULL) {
137 new_aspc = NULL;
154 if (aset != NULL) {
165 if (aset != NULL) {
176 if (empty_aset != NULL) {
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/
H A Ddevfs_tree.c122 devdirent_t * dev_root = NULL; /* root of backing tree */
157 error = dev_add_entry("root", NULL, DEV_DIR, NULL, NULL, NULL, &dev_root);
184 devfs_mount(devfs_hidden_mount,"dummy",NULL,NULL,NULL);
236 return NULL;
254 devnode_t * dnp = NULL;
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dipcomp_core.c116 if (deflate_stream.zalloc == NULL) {
129 if (inflate_stream.zalloc == NULL) {
144 return NULL;
176 struct mbuf *n = NULL, *n0 = NULL, **np;
190 n = NULL; \
204 n->m_next = NULL; \
209 if (*np == NULL) { \
225 if (zs->zalloc == NULL) {
228 * if zs->zalloc is NULL, eithe
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_notification.c66 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL);
72 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL);

Completed in 202 milliseconds

1234567891011>>