Lines Matching refs:wd
183 inotify_event.wd = event->wd; in copy_event_to_user()
368 i_mark->wd = ret; in inotify_add_to_idr()
378 int wd) in inotify_idr_find_locked() argument
386 i_mark = idr_find(idr, wd); in inotify_idr_find_locked()
399 int wd) in inotify_idr_find() argument
405 i_mark = inotify_idr_find_locked(group, wd); in inotify_idr_find()
421 int wd; in inotify_remove_from_idr() local
424 wd = i_mark->wd; in inotify_remove_from_idr()
430 if (wd == -1) { in inotify_remove_from_idr()
432 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr()
437 found_i_mark = inotify_idr_find_locked(group, wd); in inotify_remove_from_idr()
440 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr()
453 i_mark->wd, i_mark->fsn_mark.group, found_i_mark, in inotify_remove_from_idr()
454 found_i_mark->wd, found_i_mark->fsn_mark.group); in inotify_remove_from_idr()
464 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr()
469 idr_remove(idr, wd); in inotify_remove_from_idr()
473 i_mark->wd = -1; in inotify_remove_from_idr()
549 ret = i_mark->wd; in inotify_update_existing_watch()
576 tmp_i_mark->wd = -1; in inotify_new_watch()
599 ret = tmp_i_mark->wd; in inotify_new_watch()
640 oevent->wd = -1; in inotify_new_group()
762 SYSCALL_DEFINE2(inotify_rm_watch, int, fd, __s32, wd) in SYSCALL_DEFINE2() argument
781 i_mark = inotify_idr_find(group, wd); in SYSCALL_DEFINE2()