Lines Matching refs:wd
221 inotify_event.wd = event->wd; in copy_event_to_user()
406 i_mark->wd = ret; in inotify_add_to_idr()
416 int wd) in inotify_idr_find_locked() argument
424 i_mark = idr_find(idr, wd); in inotify_idr_find_locked()
437 int wd) in inotify_idr_find() argument
443 i_mark = inotify_idr_find_locked(group, wd); in inotify_idr_find()
459 int wd; in inotify_remove_from_idr() local
462 wd = i_mark->wd; in inotify_remove_from_idr()
468 if (wd == -1) { in inotify_remove_from_idr()
470 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr()
475 found_i_mark = inotify_idr_find_locked(group, wd); in inotify_remove_from_idr()
478 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr()
491 i_mark->wd, i_mark->fsn_mark.group, found_i_mark, in inotify_remove_from_idr()
492 found_i_mark->wd, found_i_mark->fsn_mark.group); in inotify_remove_from_idr()
502 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr()
507 idr_remove(idr, wd); in inotify_remove_from_idr()
511 i_mark->wd = -1; in inotify_remove_from_idr()
582 ret = i_mark->wd; in inotify_update_existing_watch()
607 tmp_i_mark->wd = -1; in inotify_new_watch()
630 ret = tmp_i_mark->wd; in inotify_new_watch()
672 oevent->wd = -1; in inotify_new_group()
794 SYSCALL_DEFINE2(inotify_rm_watch, int, fd, __s32, wd) in SYSCALL_DEFINE2() argument
811 i_mark = inotify_idr_find(group, wd); in SYSCALL_DEFINE2()