Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify09.c189 if (ret < tc->nevents * (int)FAN_EVENT_METADATA_LEN) { in test_fanotify()
192 ret, tc->nevents * (int)FAN_EVENT_METADATA_LEN); in test_fanotify()
198 if (ret > tc->nevents * (int)FAN_EVENT_METADATA_LEN) { in test_fanotify()
202 tc->nevents * (int)FAN_EVENT_METADATA_LEN); in test_fanotify()
205 for (ev = event; ret >= (int)FAN_EVENT_METADATA_LEN; ev++) { in test_fanotify()
208 ret -= (int)FAN_EVENT_METADATA_LEN; in test_fanotify()
216 ret = read(fd_notify[i], event_buf, FAN_EVENT_METADATA_LEN); in test_fanotify()
Dfanotify06.c157 if (ret < (int)FAN_EVENT_METADATA_LEN) { in test01()
Dfanotify10.c263 if (ret < (int)FAN_EVENT_METADATA_LEN) { in test_fanotify()
/external/kernel-headers/original/uapi/linux/
Dfanotify.h123 #define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata)) macro
129 #define FAN_EVENT_OK(meta, len) ((long)(len) >= (long)FAN_EVENT_METADATA_LEN && \
130 (long)(meta)->event_len >= (long)FAN_EVENT_METADATA_LEN && \