Lines Matching refs:NULL

46 	if (handle->priv != NULL)  in get_priv_data()
50 if (handle->priv == NULL) in get_priv_data()
51 return (NULL); in get_priv_data()
53 ((struct priv_data *)handle->priv)->procnetdev = NULL; in get_priv_data()
54 ((struct priv_data *)handle->priv)->sysfsvbd = NULL; in get_priv_data()
76 while ((de = readdir(d)) != NULL) { in getBridge()
78 && (strstr(de->d_name, excludeName) == NULL)) { in getBridge()
120 if (iface != NULL) in parseNetDevLine()
122 if (rxBytes != NULL) in parseNetDevLine()
124 if (rxPackets != NULL) in parseNetDevLine()
126 if (rxErrs != NULL) in parseNetDevLine()
128 if (rxDrops != NULL) in parseNetDevLine()
130 if (rxFifo != NULL) in parseNetDevLine()
132 if (rxFrames != NULL) in parseNetDevLine()
134 if (rxPackets != NULL) in parseNetDevLine()
136 if (rxComp != NULL) in parseNetDevLine()
138 if (txBytes != NULL) in parseNetDevLine()
140 if (txPackets != NULL) in parseNetDevLine()
142 if (txErrs != NULL) in parseNetDevLine()
144 if (txDrops != NULL) in parseNetDevLine()
146 if (txFifo != NULL) in parseNetDevLine()
148 if (txColls != NULL) in parseNetDevLine()
150 if (txCarrier != NULL) in parseNetDevLine()
152 if (txComp != NULL) in parseNetDevLine()
174 unsigned long long ullTmp = strtoull(tmp, NULL, 10); in parseNetDevLine()
177 case 2: if (rxBytes != NULL) in parseNetDevLine()
180 case 3: if (rxPackets != NULL) in parseNetDevLine()
183 case 4: if (rxErrs != NULL) in parseNetDevLine()
186 case 5: if (rxDrops != NULL) in parseNetDevLine()
189 case 6: if (rxFifo != NULL) in parseNetDevLine()
192 case 7: if (rxFrames != NULL) in parseNetDevLine()
195 case 8: if (rxComp != NULL) in parseNetDevLine()
198 case 9: if (rxMcast != NULL) in parseNetDevLine()
201 case 10: if (txBytes != NULL) in parseNetDevLine()
204 case 11: if (txPackets != NULL) in parseNetDevLine()
207 case 12: if (txErrs != NULL) in parseNetDevLine()
210 case 13: if (txDrops != NULL) in parseNetDevLine()
213 case 14: if (txFifo != NULL) in parseNetDevLine()
216 case 15: if (txColls != NULL) in parseNetDevLine()
219 case 16: if (txCarrier != NULL) in parseNetDevLine()
222 case 17: if (txComp != NULL) in parseNetDevLine()
229 if (iface != NULL) { in parseNetDevLine()
231 if (tmp2 != NULL) in parseNetDevLine()
256 if (nodename_file != NULL) { in get_iface_domid_network()
279 if (priv == NULL) { in xenstat_collect_networks()
285 if (priv->procnetdev == NULL) { in xenstat_collect_networks()
288 if (priv->procnetdev == NULL) { in xenstat_collect_networks()
321 parseNetDevLine(line, iface, &rxBytes, &rxPackets, &rxErrs, &rxDrops, NULL, NULL, NULL, in xenstat_collect_networks()
322 NULL, &txBytes, &txPackets, &txErrs, &txDrops, NULL, NULL, NULL, NULL); in xenstat_collect_networks()
326 if ((strstr(iface, devBridge) != NULL) && in xenstat_collect_networks()
327 (strstr(iface, devNoBridge) == NULL) && in xenstat_collect_networks()
328 ((domain = xenstat_node_domain(node, 0)) != NULL)) { in xenstat_collect_networks()
358 if (domain == NULL) { in xenstat_collect_networks()
365 if (domain->networks == NULL) { in xenstat_collect_networks()
374 if (tmp == NULL) in xenstat_collect_networks()
378 if (domain->networks == NULL) in xenstat_collect_networks()
391 if (priv != NULL && priv->procnetdev != NULL) in xenstat_uninit_networks()
417 if (priv == NULL) { in xenstat_collect_vbds()
422 if (priv->sysfsvbd == NULL) { in xenstat_collect_vbds()
424 if (priv->sysfsvbd == NULL) { in xenstat_collect_vbds()
435 for(dp = readdir(priv->sysfsvbd); dp != NULL ; in xenstat_collect_vbds()
457 if (domain == NULL) { in xenstat_collect_vbds()
488 if ((xenstat_save_vbd(domain, &vbd)) == NULL) { in xenstat_collect_vbds()
501 if (priv != NULL && priv->sysfsvbd != NULL) in xenstat_uninit_vbds()