Searched refs:wd (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxWatchService.java | 109 private volatile int wd; field in LinuxWatchService.LinuxWatchKey 111 LinuxWatchKey(UnixPath dir, LinuxWatchService watcher, int ifd, int wd) { in LinuxWatchKey() argument 114 this.wd = wd; in LinuxWatchKey() 118 return wd; in descriptor() 124 inotifyRmWatch(ifd, wd); in invalidate() 129 wd = -1; in invalidate() 134 return (wd != -1); in isValid() 262 int wd = -1; in implRegister() local 267 wd = inotifyAddWatch(ifd, buffer.address(), mask); in implRegister() 279 LinuxWatchKey key = wdToKey.get(wd); in implRegister() [all …]
|
/libcore/ojluni/src/main/native/ |
D | LinuxWatchService.c | 66 arr[0] = (jint)offsetof(struct inotify_event, wd); in Java_sun_nio_fs_LinuxWatchService_eventOffsets() 104 (JNIEnv* env, jclass clazz, jint fd, jint wd) in Java_sun_nio_fs_LinuxWatchService_inotifyRmWatch() argument 106 int err = inotify_rm_watch((int)fd, (int)wd); in Java_sun_nio_fs_LinuxWatchService_inotifyRmWatch()
|