Searched refs:inotify_source (Results 1 – 1 of 1) sorted by relevance
104 static InotifyKernelSource *inotify_source; variable412 if (g_once_init_enter (&inotify_source)) in _ik_startup()413 g_once_init_leave (&inotify_source, ik_source_new (cb)); in _ik_startup()415 return inotify_source->fd >= 0; in _ik_startup()426 g_assert (inotify_source && inotify_source->fd >= 0); in _ik_watch()428 wd = inotify_add_watch (inotify_source->fd, path, mask); in _ik_watch()448 g_assert (inotify_source && inotify_source->fd >= 0); in _ik_ignore()450 if (inotify_rm_watch (inotify_source->fd, wd) < 0) in _ik_ignore()