Lines Matching refs:NULL
190 if (event_zone == NULL) {
241 if (watcher->devices_to_watch == NULL) {
347 kfs_event *kfse, *best_kfse=NULL;
382 if (str != NULL) {
383 if (kfse->len != 0 && kfse->str != NULL) {
397 if (history[i].kfse == NULL) {
417 if (i < MAX_HISTORY && history[i].kfse == NULL) {
431 if (str != NULL && best_kfse) {
435 best_kfse = NULL;
461 static void *last_ptr=NULL;
475 kfs_event *kfse, *kfse_dest=NULL, *cur;
482 char *pathbuff=NULL;
512 void *ptr=NULL;
530 if (ptr != NULL) {
580 if (kfse_dest == NULL) {
583 kfse = NULL;
588 if (kfse == NULL) { // yikes! no free events
604 str = NULL;
616 pathbuff = NULL;
620 str = NULL;
633 kfse = find_an_event(str, len, NULL, &reuse_type, &longest_match_len);
635 if (kfse == NULL) {
643 if (watcher == NULL) {
668 if (watcher_table[ii] == NULL) {
687 pathbuff = NULL;
695 } else if ((kfse->type == FSE_RENAME || kfse->type == FSE_EXCHANGE) && kfse->dest == NULL) {
696 panic("add_fsevent: bogus kfse %p (type %d, but dest is NULL)\n", kfse, kfse->type);
727 if (new_str == NULL || new_str[0] == '\0') {
760 if (kfse_dest != NULL) {
769 if (kfse_dest == NULL) {
772 kfse_dest = find_an_event(NULL, 0, kfse, &dest_reuse_type, &dest_match_len);
774 if (kfse_dest == NULL) {
844 kfse->str = NULL;
846 if (kfse->kevent_list.le_prev != NULL) {
869 kfse_dest->str = NULL;
871 if (kfse_dest->kevent_list.le_prev != NULL) {
950 if (kfse->str != NULL) {
955 if (vp == NULL) {
956 panic("add_fsevent: you can't pass me a NULL vnode ptr (type %d)!\n",
968 cur->str = NULL;
984 if (pathbuff == NULL) {
994 pathbuff = NULL;
1006 if (cur->str == NULL || cur->str[0] == '\0') {
1011 pathbuff = NULL;
1034 if (kfse->str != NULL) {
1085 if (watcher == NULL) {
1114 pathbuff = NULL;
1165 dest_copy.str = NULL;
1180 if (kfse->dest->kevent_list.le_prev != NULL) {
1196 if (kfse->kevent_list.le_prev != NULL) {
1247 if (watcher == NULL) {
1253 watcher->devices_to_watch = NULL;
1262 watcher->fseh = NULL;
1277 if (watcher_table[i] == NULL) {
1314 watcher_table[j] = NULL;
1356 if (kfse != NULL) {
1363 watcher->event_list = NULL;
1367 watcher->devices_to_watch = NULL;
1379 static thread_call_t event_delivery_timer = NULL;
1391 if (watcher_table[i] != NULL && watcher_table[i]->rd != watcher_table[i]->wr) {
1410 if (event_delivery_timer == NULL) {
1411 event_delivery_timer = thread_call_allocate((thread_call_func_t)delayed_event_delivery, NULL);
1560 if (kfse->type == FSE_RENAME && kfse->dest == NULL) {
1598 if (cur->str == NULL || cur->str[0] == '\0') {
1711 if (uio_resid(uio) < 2048 || watcher == NULL) {
1938 dev_t *devices_to_watch, *tmp=NULL;
1950 fseh->watcher->devices_to_watch = NULL;
1963 if (devices_to_watch == NULL) {
2043 fg->fg_data = NULL;
2044 fseh->watcher = NULL;
2203 char *write_buffer=NULL;
2214 if (write_buffer == NULL) {
2300 fsevent_handle *fseh = NULL;
2341 if (fseh == NULL) {
2349 if (event_list == NULL) {
2393 procfdtbl_releasefd(p, fd, NULL);
2428 NULL, /* tty's */
2533 if (path == NULL) {