Home
last modified time | relevance | path

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

/fs/notify/fanotify/
Dfanotify.c46 struct fsnotify_event *new_event; in fanotify_merge() local
77 new_event = fsnotify_clone_event(test_event); in fanotify_merge()
83 if (unlikely(!new_event)) in fanotify_merge()
87 new_event->mask = (test_event->mask | event->mask); in fanotify_merge()
88 fsnotify_replace_event(test_holder, new_event); in fanotify_merge()
91 return new_event; in fanotify_merge()
/fs/notify/
Dnotification.c320 struct fsnotify_event *new_event) in fsnotify_replace_event() argument
323 struct fsnotify_event_holder *new_holder = &new_event->holder; in fsnotify_replace_event()
330 pr_debug("%s: old_event=%p new_event=%p\n", __func__, old_event, new_event); in fsnotify_replace_event()
339 spin_lock_nested(&new_event->lock, SPINLOCK_NEW); in fsnotify_replace_event()
341 new_holder->event = new_event; in fsnotify_replace_event()
344 spin_unlock(&new_event->lock); in fsnotify_replace_event()
351 fsnotify_get_event(new_event); /* on the list take reference */ in fsnotify_replace_event()