Lines Matching refs:idr_lock
323 spin_lock(&data->idr_lock); in inotify_ioctl()
325 spin_unlock(&data->idr_lock); in inotify_ioctl()
372 static int inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, in inotify_add_to_idr() argument
378 spin_lock(idr_lock); in inotify_add_to_idr()
387 spin_unlock(idr_lock); in inotify_add_to_idr()
396 spinlock_t *idr_lock = &group->inotify_data.idr_lock; in inotify_idr_find_locked() local
399 assert_spin_locked(idr_lock); in inotify_idr_find_locked()
417 spinlock_t *idr_lock = &group->inotify_data.idr_lock; in inotify_idr_find() local
419 spin_lock(idr_lock); in inotify_idr_find()
421 spin_unlock(idr_lock); in inotify_idr_find()
434 spinlock_t *idr_lock = &group->inotify_data.idr_lock; in inotify_remove_from_idr() local
438 spin_lock(idr_lock); in inotify_remove_from_idr()
489 spin_unlock(idr_lock); in inotify_remove_from_idr()
577 spinlock_t *idr_lock = &group->inotify_data.idr_lock; in inotify_new_watch() local
589 ret = inotify_add_to_idr(idr, idr_lock, tmp_i_mark); in inotify_new_watch()
658 spin_lock_init(&group->inotify_data.idr_lock); in inotify_new_group()