Lines Matching refs:pevent
503 struct fanotify_path_event *pevent; in fanotify_alloc_path_event() local
505 pevent = kmem_cache_alloc(fanotify_path_event_cachep, gfp); in fanotify_alloc_path_event()
506 if (!pevent) in fanotify_alloc_path_event()
509 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH; in fanotify_alloc_path_event()
510 pevent->path = *path; in fanotify_alloc_path_event()
514 return &pevent->fae; in fanotify_alloc_path_event()
520 struct fanotify_perm_event *pevent; in fanotify_alloc_perm_event() local
522 pevent = kmem_cache_alloc(fanotify_perm_event_cachep, gfp); in fanotify_alloc_perm_event()
523 if (!pevent) in fanotify_alloc_perm_event()
526 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH_PERM; in fanotify_alloc_perm_event()
527 pevent->response = 0; in fanotify_alloc_perm_event()
528 pevent->state = FAN_EVENT_INIT; in fanotify_alloc_perm_event()
529 pevent->path = *path; in fanotify_alloc_perm_event()
532 return &pevent->fae; in fanotify_alloc_perm_event()