Searched refs:FAN_EVENT_METADATA_LEN (Results 1 – 4 of 4) sorted by relevance
189 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()
157 if (ret < (int)FAN_EVENT_METADATA_LEN) { in test01()
263 if (ret < (int)FAN_EVENT_METADATA_LEN) { in test_fanotify()
123 #define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata)) macro129 #define FAN_EVENT_OK(meta, len) ((long)(len) >= (long)FAN_EVENT_METADATA_LEN && \130 (long)(meta)->event_len >= (long)FAN_EVENT_METADATA_LEN && \