Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/uapi/linux/
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-6.3-rc2/fs/notify/fanotify/
A Dfanotify_user.c160 size_t event_len = FAN_EVENT_METADATA_LEN; in fanotify_event_len()
672 metadata.metadata_len = FAN_EVENT_METADATA_LEN; in copy_event_to_user()
735 if (copy_to_user(buf, &metadata, FAN_EVENT_METADATA_LEN)) in copy_event_to_user()
738 buf += FAN_EVENT_METADATA_LEN; in copy_event_to_user()
739 count -= FAN_EVENT_METADATA_LEN; in copy_event_to_user()
971 send_len += FAN_EVENT_METADATA_LEN; in fanotify_ioctl()

Completed in 9 milliseconds