/aosp_15_r20/external/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify04.c | 28 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro 37 static char event_buf[EVENT_SIZE]; 106 SAFE_READ(0, fd_notify, event_buf, EVENT_SIZE); in verify_event() 140 ret = read(fd_notify, event_buf, EVENT_SIZE); in verify_no_event() 152 EVENT_SIZE); in verify_no_event()
|
H A D | fanotify02.c | 29 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro 31 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
|
H A D | fanotify12.c | 31 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro 32 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
|
H A D | fanotify19.c | 32 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro 33 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
|
H A D | fanotify23.c | 29 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro 31 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
|
H A D | fanotify06.c | 48 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro 50 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
|
H A D | fanotify03.c | 33 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro 35 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
|
H A D | fanotify15.c | 35 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata) + \ macro 39 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE * 2)
|
H A D | fanotify01.c | 29 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro 31 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/inotify/ |
H A D | inotify05.c | 29 #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()
|
H A D | inotify11.c | 40 #define EVENT_SIZE (sizeof(struct inotify_event)) macro 41 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) 80 for (i = 0; i < len; i += EVENT_SIZE + event->len) { in verify_inotify()
|
H A D | inotify01.c | 30 #define EVENT_SIZE (sizeof (struct inotify_event)) macro 32 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) 131 i += EVENT_SIZE + event->len; in verify_inotify()
|
H A D | inotify08.c | 49 #define EVENT_SIZE (sizeof (struct inotify_event)) macro 51 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) 126 i += EVENT_SIZE + event->len; in verify_inotify()
|
H A D | inotify03.c | 32 #define EVENT_SIZE (sizeof(struct inotify_event)) macro 34 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) 111 i += EVENT_SIZE + event->len; in verify_inotify()
|
H A D | inotify04.c | 36 #define EVENT_SIZE (sizeof(struct inotify_event)) macro 38 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) 160 i += EVENT_SIZE + event->len; in verify_inotify()
|
H A D | inotify07.c | 48 #define EVENT_SIZE (sizeof (struct inotify_event)) macro 50 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) 134 i += EVENT_SIZE + event->len; in verify_inotify()
|
H A D | inotify10.c | 34 #define EVENT_SIZE (sizeof(struct inotify_event)) macro 35 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) 182 i += EVENT_SIZE + event->len; in verify_inotify()
|
H A D | inotify02.c | 35 #define EVENT_SIZE (sizeof (struct inotify_event)) macro 37 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) 192 i += EVENT_SIZE + event->len; in verify_inotify()
|
H A D | inotify12.c | 34 #define EVENT_SIZE (sizeof(struct inotify_event)) macro 35 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
|
/aosp_15_r20/external/tpm2-tss/test/integration/ |
H A D | fapi-pcr-test.int.c | 23 #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()
|
H A D | fapi-quote.int.c | 27 #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()
|
/aosp_15_r20/external/crosvm/gpu_display/src/ |
H A D | event_device.rs | 23 const EVENT_SIZE: usize = virtio_input_event::SIZE; constant 24 const EVENT_BUFFER_LEN_MAX: usize = 64 * EVENT_SIZE; 97 let event_bytes = match EVENT_SIZE.checked_mul(num_events) { in can_buffer_events()
|
/aosp_15_r20/external/selinux/restorecond/ |
H A D | user.c | 109 #define EVENT_SIZE (sizeof (struct inotify_event)) macro 111 #define BUF_LEN (1024 * (EVENT_SIZE + 16)) 146 i += EVENT_SIZE + event->len; in io_channel_callback()
|
H A D | watch.c | 32 #define EVENT_SIZE (sizeof (struct inotify_event)) macro 34 #define BUF_LEN (1024 * (EVENT_SIZE + 16)) 221 i += EVENT_SIZE + event->len; in watch()
|
/aosp_15_r20/external/fastrpc/src/ |
H A D | log_config.c | 55 #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()
|