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