Lines Matching refs:pSelf
914 static int iwAddWatch(inotifyWatch *pSelf, const char *pcszPath)
917 if ( pSelf->inotify_add_watch(pSelf->mhInotify, pcszPath, IN_FLAGS) >= 0
925 static int iwInit(inotifyWatch *pSelf)
931 AssertPtr(pSelf);
932 pSelf->mhInotify = -1;
937 *(void **)(&pSelf->inotify_add_watch)
939 if (!pSelf->inotify_add_watch)
962 pSelf->mhInotify = fd;
967 static void iwTerm(inotifyWatch *pSelf)
969 AssertPtrReturnVoid(pSelf);
970 if (pSelf->mhInotify != -1)
972 close(pSelf->mhInotify);
973 pSelf->mhInotify = -1;
977 static int iwGetFD(inotifyWatch *pSelf)
979 AssertPtrReturn(pSelf, -1);
980 return pSelf->mhInotify;