Lines Matching full:wd

220 	inotify_event.wd = event->wd;  in copy_event_to_user()
405 i_mark->wd = ret; in inotify_add_to_idr()
415 int wd) in inotify_idr_find_locked() argument
423 i_mark = idr_find(idr, wd); in inotify_idr_find_locked()
436 int wd) in inotify_idr_find() argument
442 i_mark = inotify_idr_find_locked(group, wd); in inotify_idr_find()
458 int wd; in inotify_remove_from_idr() local
461 wd = i_mark->wd; in inotify_remove_from_idr()
467 if (wd == -1) { in inotify_remove_from_idr()
468 WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p\n", in inotify_remove_from_idr()
469 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr()
474 found_i_mark = inotify_idr_find_locked(group, wd); in inotify_remove_from_idr()
476 WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p\n", in inotify_remove_from_idr()
477 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr()
482 * We found an mark in the idr at the right wd, but it's in inotify_remove_from_idr()
487 WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p " in inotify_remove_from_idr()
488 "found_i_mark=%p found_i_mark->wd=%d " in inotify_remove_from_idr()
490 i_mark->wd, i_mark->fsn_mark.group, found_i_mark, in inotify_remove_from_idr()
491 found_i_mark->wd, found_i_mark->fsn_mark.group); in inotify_remove_from_idr()
500 printk(KERN_ERR "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p\n", in inotify_remove_from_idr()
501 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group); in inotify_remove_from_idr()
506 idr_remove(idr, wd); in inotify_remove_from_idr()
510 i_mark->wd = -1; in inotify_remove_from_idr()
518 * Send IN_IGNORED for this wd, remove this wd from the idr.
580 /* return the wd */ in inotify_update_existing_watch()
581 ret = i_mark->wd; in inotify_update_existing_watch()
606 tmp_i_mark->wd = -1; in inotify_new_watch()
629 ret = tmp_i_mark->wd; in inotify_new_watch()
671 oevent->wd = -1; in inotify_new_group()
793 SYSCALL_DEFINE2(inotify_rm_watch, int, fd, __s32, wd) in SYSCALL_DEFINE2() argument
810 i_mark = inotify_idr_find(group, wd); in SYSCALL_DEFINE2()