Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dfanotify.h236 #define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata)) macro
242 #define FAN_EVENT_OK(meta, len) ((long)(len) >= (long)FAN_EVENT_METADATA_LEN && \
243 (long)(meta)->event_len >= (long)FAN_EVENT_METADATA_LEN && \
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify_user.c160 size_t event_len = FAN_EVENT_METADATA_LEN; in fanotify_event_len()
665 metadata.metadata_len = FAN_EVENT_METADATA_LEN; in copy_event_to_user()
755 if (copy_to_user(buf, &metadata, FAN_EVENT_METADATA_LEN)) in copy_event_to_user()
758 buf += FAN_EVENT_METADATA_LEN; in copy_event_to_user()
759 count -= FAN_EVENT_METADATA_LEN; in copy_event_to_user()
987 send_len += FAN_EVENT_METADATA_LEN; in fanotify_ioctl()