Home
last modified time | relevance | path

Searched refs:EVENT_SIZE (Results 1 – 21 of 21) sorted by relevance

/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify05.c29 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
30 #define EVENT_BUF_LEN (EVENT_SIZE * 16)
106 if ((int)(i + EVENT_SIZE) != len) { in verify_inotify()
119 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify01.c29 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
31 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
136 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify03.c33 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
35 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
112 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify08.c45 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
47 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
122 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify04.c32 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
34 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
177 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify07.c44 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
46 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
130 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify02.c35 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
37 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
207 i += EVENT_SIZE + event->len; in verify_inotify()
/external/crosvm/gpu_display/src/
Devent_device.rs13 const EVENT_SIZE: usize = virtio_input_event::SIZE; constant
14 const EVENT_BUFFER_LEN_MAX: usize = 16 * EVENT_SIZE;
104 if self.event_buffer.len() > (EVENT_BUFFER_LEN_MAX - EVENT_SIZE * (it.len() + 1)) { in send_report()
133 if self.event_buffer.len() <= (EVENT_BUFFER_LEN_MAX - EVENT_SIZE) { in send_event_encoded()
/external/tpm2-tss/test/integration/
Dfapi-pcr-test.int.c23 #define EVENT_SIZE 10 macro
165 uint8_t data[EVENT_SIZE] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in test_fapi_pcr_test()
176 r = Fapi_PcrExtend(context, 16, data, EVENT_SIZE, "{ \"test\": \"myfile\" }"); in test_fapi_pcr_test()
Dfapi-quote.int.c27 #define EVENT_SIZE 10 macro
63 uint8_t data[EVENT_SIZE] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in test_fapi_quote()
83 r = Fapi_PcrExtend(context, 16, data, EVENT_SIZE, "{ \"test\": \"myfile\" }"); in test_fapi_quote()
/external/selinux/restorecond/
Duser.c105 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
107 #define BUF_LEN (1024 * (EVENT_SIZE + 16))
142 i += EVENT_SIZE + event->len; in io_channel_callback()
Dwatch.c32 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
34 #define BUF_LEN (1024 * (EVENT_SIZE + 16))
221 i += EVENT_SIZE + event->len; in watch()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify02.c28 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
30 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify06.c46 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
48 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify04.c29 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
31 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify12.c30 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
31 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify09.c39 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
41 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify03.c32 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
34 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify01.c28 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
30 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify10.c40 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
42 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
/external/fastrpc/src/
Dlog_config.c55 #define EVENT_SIZE ( sizeof (struct inotify_event) ) macro
56 #define EVENT_BUF_LEN ( 1024 * ( EVENT_SIZE + 16 ) )
380 i += EVENT_SIZE + event->len; in file_watcher_thread()