Home
last modified time | relevance | path

Searched refs:FAN_EVENT_METADATA_LEN (Results 1 – 2 of 2) sorted by relevance

/linux/include/uapi/linux/
H A Dfanotify.h235 #define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata)) macro
241 #define FAN_EVENT_OK(meta, len) ((long)(len) >= (long)FAN_EVENT_METADATA_LEN && \
242 (long)(meta)->event_len >= (long)FAN_EVENT_METADATA_LEN && \
/linux/fs/notify/fanotify/
H A Dfanotify_user.c159 size_t event_len = FAN_EVENT_METADATA_LEN; in fanotify_event_len()
671 metadata.metadata_len = FAN_EVENT_METADATA_LEN; in copy_event_to_user()
734 if (copy_to_user(buf, &metadata, FAN_EVENT_METADATA_LEN)) in copy_event_to_user()
737 buf += FAN_EVENT_METADATA_LEN; in copy_event_to_user()
738 count -= FAN_EVENT_METADATA_LEN; in copy_event_to_user()
975 send_len += FAN_EVENT_METADATA_LEN; in fanotify_ioctl()