Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/notify/inotify/
Dinotify_user.c560 struct inotify_inode_mark *tmp_i_mark; in inotify_new_watch() local
568 tmp_i_mark = kmem_cache_alloc(inotify_inode_mark_cachep, GFP_KERNEL); in inotify_new_watch()
569 if (unlikely(!tmp_i_mark)) in inotify_new_watch()
572 fsnotify_init_mark(&tmp_i_mark->fsn_mark, group); in inotify_new_watch()
573 tmp_i_mark->fsn_mark.mask = mask; in inotify_new_watch()
574 tmp_i_mark->wd = -1; in inotify_new_watch()
576 ret = inotify_add_to_idr(idr, idr_lock, tmp_i_mark); in inotify_new_watch()
582 inotify_remove_from_idr(group, tmp_i_mark); in inotify_new_watch()
588 ret = fsnotify_add_inode_mark_locked(&tmp_i_mark->fsn_mark, inode, 0); in inotify_new_watch()
591 inotify_remove_from_idr(group, tmp_i_mark); in inotify_new_watch()
[all …]