Home
last modified time | relevance | path

Searched refs:tmp_i_mark (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/fs/notify/inotify/
Dinotify_user.c595 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()
[all …]