Lines Matching defs:event
50 struct fsnotify_event *event)
55 return event_compare(last_event, event);
63 struct inotify_event_info *event;
83 * We can be racing with mark being detached. Don't report event with
90 * Whoever is interested in the event, pays for the allocation. Do not
95 event = kmalloc(alloc_len, GFP_KERNEL_ACCOUNT | __GFP_RETRY_MAYFAIL);
98 if (unlikely(!event)) {
100 * Treat lost event due to ENOMEM the same way as queue
101 * overflow to let userspace know event was lost.
116 fsn_event = &event->fse;
118 event->mask = mask;
119 event->wd = wd;
120 event->sync_cookie = cookie;
121 event->name_len = len;
123 strcpy(event->name, name->name);
127 /* Our event wasn't used in the end. Free it. */