Lines Matching refs:pevent
431 struct fanotify_path_event *pevent; in fanotify_alloc_path_event() local
433 pevent = kmem_cache_alloc(fanotify_path_event_cachep, gfp); in fanotify_alloc_path_event()
434 if (!pevent) in fanotify_alloc_path_event()
437 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH; in fanotify_alloc_path_event()
438 pevent->path = *path; in fanotify_alloc_path_event()
441 return &pevent->fae; in fanotify_alloc_path_event()
447 struct fanotify_perm_event *pevent; in fanotify_alloc_perm_event() local
449 pevent = kmem_cache_alloc(fanotify_perm_event_cachep, gfp); in fanotify_alloc_perm_event()
450 if (!pevent) in fanotify_alloc_perm_event()
453 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH_PERM; in fanotify_alloc_perm_event()
454 pevent->response = 0; in fanotify_alloc_perm_event()
455 pevent->state = FAN_EVENT_INIT; in fanotify_alloc_perm_event()
456 pevent->path = *path; in fanotify_alloc_perm_event()
459 return &pevent->fae; in fanotify_alloc_perm_event()