Home
last modified time | relevance | path

Searched refs:new_fsn_mark (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/notify/dnotify/
H A Ddnotify.c246 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify() local
255 new_fsn_mark = NULL; in fcntl_dirnotify()
302 /* set up the new_fsn_mark and new_dn_mark */ in fcntl_dirnotify()
303 new_fsn_mark = &new_dn_mark->fsn_mark; in fcntl_dirnotify()
304 fsnotify_init_mark(new_fsn_mark, dnotify_group); in fcntl_dirnotify()
305 new_fsn_mark->mask = mask; in fcntl_dirnotify()
311 /* add the new_fsn_mark or find an old one. */ in fcntl_dirnotify()
317 error = fsnotify_add_inode_mark_locked(new_fsn_mark, inode, 0); in fcntl_dirnotify()
322 spin_lock(&new_fsn_mark->lock); in fcntl_dirnotify()
323 fsn_mark = new_fsn_mark; in fcntl_dirnotify()
[all...]
/kernel/linux/linux-6.6/fs/notify/dnotify/
H A Ddnotify.c264 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify() local
273 new_fsn_mark = NULL; in fcntl_dirnotify()
320 /* set up the new_fsn_mark and new_dn_mark */ in fcntl_dirnotify()
321 new_fsn_mark = &new_dn_mark->fsn_mark; in fcntl_dirnotify()
322 fsnotify_init_mark(new_fsn_mark, dnotify_group); in fcntl_dirnotify()
323 new_fsn_mark->mask = mask; in fcntl_dirnotify()
329 /* add the new_fsn_mark or find an old one. */ in fcntl_dirnotify()
335 error = fsnotify_add_inode_mark_locked(new_fsn_mark, inode, 0); in fcntl_dirnotify()
340 spin_lock(&new_fsn_mark->lock); in fcntl_dirnotify()
341 fsn_mark = new_fsn_mark; in fcntl_dirnotify()
[all...]

Completed in 2 milliseconds