Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxWatchService.java115 private volatile int wd; field in LinuxWatchService.LinuxWatchKey
117 LinuxWatchKey(UnixPath dir, LinuxWatchService watcher, int ifd, int wd) { in LinuxWatchKey() argument
120 this.wd = wd; in LinuxWatchKey()
124 return wd; in descriptor()
130 inotifyRmWatch(ifd, wd); in invalidate()
135 wd = -1; in invalidate()
140 return (wd != -1); in isValid()
267 int wd = -1; in implRegister() local
272 wd = inotifyAddWatch(ifd, buffer.address(), mask); in implRegister()
284 LinuxWatchKey key = wdToKey.get(wd); in implRegister()
[all …]
/libcore/ojluni/src/main/native/
DLinuxWatchService.c60 arr[0] = (jint)offsetof(struct inotify_event, wd); in Java_sun_nio_fs_LinuxWatchService_eventOffsets()
98 (JNIEnv* env, jclass clazz, jint fd, jint wd) in Java_sun_nio_fs_LinuxWatchService_inotifyRmWatch() argument
100 int err = inotify_rm_watch((int)fd, (int)wd); in Java_sun_nio_fs_LinuxWatchService_inotifyRmWatch()