Searched refs:i_mark (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/notify/inotify/ |
H A D | inotify_user.c | 396 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 …]
|
H A D | inotify_fsnotify.c | 63 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() 87 wd = READ_ONCE(i_mark->wd); in inotify_handle_inode_event() 153 struct inotify_inode_mark *i_mark; in idr_callback() local 161 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in idr_callback() 174 fsn_mark->group, i_mark->wd); in idr_callback() 196 struct inotify_inode_mark *i_mark; in inotify_free_mark() local 198 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in inotify_free_mark() 200 kmem_cache_free(inotify_inode_mark_cachep, i_mark); in inotify_free_mark()
|