Lines Matching refs:tmp_i_mark
595 struct inotify_inode_mark *tmp_i_mark; in inotify_new_watch() local
600 tmp_i_mark = kmem_cache_alloc(inotify_inode_mark_cachep, GFP_KERNEL); in inotify_new_watch()
601 if (unlikely(!tmp_i_mark)) in inotify_new_watch()
604 fsnotify_init_mark(&tmp_i_mark->fsn_mark, group); in inotify_new_watch()
605 tmp_i_mark->fsn_mark.mask = inotify_arg_to_mask(inode, arg); in inotify_new_watch()
606 tmp_i_mark->fsn_mark.flags = inotify_arg_to_flags(arg); in inotify_new_watch()
607 tmp_i_mark->wd = -1; in inotify_new_watch()
609 ret = inotify_add_to_idr(idr, idr_lock, tmp_i_mark); in inotify_new_watch()
615 inotify_remove_from_idr(group, tmp_i_mark); in inotify_new_watch()
621 ret = fsnotify_add_inode_mark_locked(&tmp_i_mark->fsn_mark, inode, 0); in inotify_new_watch()
624 inotify_remove_from_idr(group, tmp_i_mark); in inotify_new_watch()
630 ret = tmp_i_mark->wd; in inotify_new_watch()
634 fsnotify_put_mark(&tmp_i_mark->fsn_mark); in inotify_new_watch()