Lines Matching defs:pevent
538 struct fanotify_path_event *pevent;
540 pevent = kmem_cache_alloc(fanotify_path_event_cachep, gfp);
541 if (!pevent)
544 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH;
545 pevent->path = *path;
549 return &pevent->fae;
555 struct fanotify_perm_event *pevent;
557 pevent = kmem_cache_alloc(fanotify_perm_event_cachep, gfp);
558 if (!pevent)
561 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH_PERM;
562 pevent->response = 0;
563 pevent->hdr.type = FAN_RESPONSE_INFO_NONE;
564 pevent->hdr.pad = 0;
565 pevent->hdr.len = 0;
566 pevent->state = FAN_EVENT_INIT;
567 pevent->path = *path;
570 return &pevent->fae;