Lines Matching defs:pevent
542 struct fanotify_path_event *pevent;
544 pevent = kmem_cache_alloc(fanotify_path_event_cachep, gfp);
545 if (!pevent)
548 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH;
549 pevent->path = *path;
553 return &pevent->fae;
559 struct fanotify_perm_event *pevent;
561 pevent = kmem_cache_alloc(fanotify_perm_event_cachep, gfp);
562 if (!pevent)
565 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH_PERM;
566 pevent->response = 0;
567 pevent->hdr.type = FAN_RESPONSE_INFO_NONE;
568 pevent->hdr.pad = 0;
569 pevent->hdr.len = 0;
570 pevent->state = FAN_EVENT_INIT;
571 pevent->path = *path;
574 return &pevent->fae;