Home
last modified time | relevance | path

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

/Linux-v6.1/fs/notify/inotify/
Dinotify_user.c396 struct inotify_inode_mark *i_mark) in inotify_add_to_idr() argument
403 ret = idr_alloc_cyclic(idr, i_mark, 1, 0, GFP_NOWAIT); in inotify_add_to_idr()
406 i_mark->wd = ret; in inotify_add_to_idr()
407 fsnotify_get_mark(&i_mark->fsn_mark); in inotify_add_to_idr()
420 struct inotify_inode_mark *i_mark; in inotify_idr_find_locked() local
424 i_mark = idr_find(idr, wd); in inotify_idr_find_locked()
425 if (i_mark) { in inotify_idr_find_locked()
426 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked()
433 return i_mark; in inotify_idr_find_locked()
439 struct inotify_inode_mark *i_mark; in inotify_idr_find() local
[all …]
Dinotify_fsnotify.c63 struct inotify_inode_mark *i_mark; in inotify_handle_inode_event() local
80 i_mark = container_of(inode_mark, struct inotify_inode_mark, in inotify_handle_inode_event()
113 event->wd = i_mark->wd; in inotify_handle_inode_event()
146 struct inotify_inode_mark *i_mark; in idr_callback() local
154 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in idr_callback()
167 fsn_mark->group, i_mark->wd); in idr_callback()
189 struct inotify_inode_mark *i_mark; in inotify_free_mark() local
191 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in inotify_free_mark()
193 kmem_cache_free(inotify_inode_mark_cachep, i_mark); in inotify_free_mark()