Home
last modified time | relevance | path

Searched refs:ifd (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxWatchService.java60 int ifd = - 1; in LinuxWatchService() local
62 ifd = inotifyInit(); in LinuxWatchService()
74 configureBlocking(ifd, false); in LinuxWatchService()
78 UnixNativeDispatcher.close(ifd); in LinuxWatchService()
82 this.poller = new Poller(fs, this, ifd, sp); in LinuxWatchService()
107 private final int ifd; field in LinuxWatchService.LinuxWatchKey
111 LinuxWatchKey(UnixPath dir, LinuxWatchService watcher, int ifd, int wd) { in LinuxWatchKey() argument
113 this.ifd = ifd; in LinuxWatchKey()
124 inotifyRmWatch(ifd, wd); in invalidate()
183 private final int ifd; field in LinuxWatchService.Poller
[all …]
/libcore/ojluni/src/main/native/
DLinuxWatchService.c81 int ifd = inotify_init(); in Java_sun_nio_fs_LinuxWatchService_inotifyInit() local
82 if (ifd == -1) { in Java_sun_nio_fs_LinuxWatchService_inotifyInit()
85 return (jint)ifd; in Java_sun_nio_fs_LinuxWatchService_inotifyInit()