Lines Matching refs:inotify_fd
80 int inotify_fd;
645 if (u->inotify_fd >= 0) {
646 pa_close(u->inotify_fd);
647 u->inotify_fd = -1;
654 if (u->inotify_fd >= 0)
657 if ((u->inotify_fd = inotify_init1(IN_CLOEXEC|IN_NONBLOCK)) < 0) {
662 r = inotify_add_watch(u->inotify_fd, "/dev/snd", IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF);
667 pa_close(u->inotify_fd);
668 u->inotify_fd = -1;
687 pa_assert_se(u->inotify_io = u->core->mainloop->io_new(u->core->mainloop, u->inotify_fd, PA_IO_EVENT_INPUT, inotify_cb, u));
712 u->inotify_fd = -1;
855 if (u->inotify_fd >= 0)
856 pa_close(u->inotify_fd);