Searched refs:i_mark (Results 1 – 2 of 2) sorted by relevance
/linux/fs/notify/inotify/ |
H A D | inotify_user.c | 395 struct inotify_inode_mark *i_mark) in inotify_add_to_idr() argument 402 ret = idr_alloc_cyclic(idr, i_mark, 1, 0, GFP_NOWAIT); in inotify_add_to_idr() 405 i_mark->wd = ret; in inotify_add_to_idr() 406 fsnotify_get_mark(&i_mark->fsn_mark); in inotify_add_to_idr() 419 struct inotify_inode_mark *i_mark; in inotify_idr_find_locked() local 423 i_mark = idr_find(idr, wd); in inotify_idr_find_locked() 424 if (i_mark) { in inotify_idr_find_locked() 425 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked() 432 return i_mark; in inotify_idr_find_locked() 438 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()
|