Lines Matching refs:pevent
436 struct fanotify_path_event *pevent; in fanotify_alloc_path_event() local
438 pevent = kmem_cache_alloc(fanotify_path_event_cachep, gfp); in fanotify_alloc_path_event()
439 if (!pevent) in fanotify_alloc_path_event()
442 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH; in fanotify_alloc_path_event()
443 pevent->path = *path; in fanotify_alloc_path_event()
446 return &pevent->fae; in fanotify_alloc_path_event()
452 struct fanotify_perm_event *pevent; in fanotify_alloc_perm_event() local
454 pevent = kmem_cache_alloc(fanotify_perm_event_cachep, gfp); in fanotify_alloc_perm_event()
455 if (!pevent) in fanotify_alloc_perm_event()
458 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH_PERM; in fanotify_alloc_perm_event()
459 pevent->response = 0; in fanotify_alloc_perm_event()
460 pevent->state = FAN_EVENT_INIT; in fanotify_alloc_perm_event()
461 pevent->path = *path; in fanotify_alloc_perm_event()
464 return &pevent->fae; in fanotify_alloc_perm_event()