Home
last modified time | relevance | path

Searched refs:i_mark (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/notify/inotify/
H A Dinotify_user.c360 struct inotify_inode_mark *i_mark) in inotify_add_to_idr()
367 ret = idr_alloc_cyclic(idr, i_mark, 1, 0, GFP_NOWAIT); in inotify_add_to_idr()
370 i_mark->wd = ret; in inotify_add_to_idr()
371 fsnotify_get_mark(&i_mark->fsn_mark); in inotify_add_to_idr()
384 struct inotify_inode_mark *i_mark; in inotify_idr_find_locked() local
388 i_mark = idr_find(idr, wd); in inotify_idr_find_locked()
389 if (i_mark) { in inotify_idr_find_locked()
390 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked()
397 return i_mark; in inotify_idr_find_locked()
403 struct inotify_inode_mark *i_mark; in inotify_idr_find() local
359 inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, struct inotify_inode_mark *i_mark) inotify_add_to_idr() argument
417 inotify_remove_from_idr(struct fsnotify_group *group, struct inotify_inode_mark *i_mark) inotify_remove_from_idr() argument
488 struct inotify_inode_mark *i_mark; inotify_ignored_and_remove_idr() local
506 struct inotify_inode_mark *i_mark; inotify_update_existing_watch() local
763 struct inotify_inode_mark *i_mark; SYSCALL_DEFINE2() local
[all...]
H A Dinotify_fsnotify.c62 struct inotify_inode_mark *i_mark; in inotify_handle_inode_event() local
79 i_mark = container_of(inode_mark, struct inotify_inode_mark, in inotify_handle_inode_event()
86 wd = READ_ONCE(i_mark->wd); in inotify_handle_inode_event()
152 struct inotify_inode_mark *i_mark; in idr_callback() local
160 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in idr_callback()
173 fsn_mark->group, i_mark->wd); in idr_callback()
194 struct inotify_inode_mark *i_mark; in inotify_free_mark() local
196 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in inotify_free_mark()
198 kmem_cache_free(inotify_inode_mark_cachep, i_mark); in inotify_free_mark()
/kernel/linux/linux-6.6/fs/notify/inotify/
H A Dinotify_user.c396 struct inotify_inode_mark *i_mark) in inotify_add_to_idr()
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
395 inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, struct inotify_inode_mark *i_mark) inotify_add_to_idr() argument
453 inotify_remove_from_idr(struct fsnotify_group *group, struct inotify_inode_mark *i_mark) inotify_remove_from_idr() argument
524 struct inotify_inode_mark *i_mark; inotify_ignored_and_remove_idr() local
542 struct inotify_inode_mark *i_mark; inotify_update_existing_watch() local
797 struct inotify_inode_mark *i_mark; SYSCALL_DEFINE2() local
[all...]
H A 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()
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()

Completed in 3 milliseconds