/third_party/ltp/testcases/kernel/syscalls/io_submit/ |
D | io_submit01.c | 34 static struct iocb iocb; variable 35 static struct iocb *iocbs[] = {&iocb}; 37 static struct iocb inv_fd_iocb; 38 static struct iocb *inv_fd_iocbs[] = {&inv_fd_iocb}; 41 static struct iocb rdonly_fd_iocb; 42 static struct iocb *rdonly_fd_iocbs[] = {&rdonly_fd_iocb}; 45 static struct iocb wronly_fd_iocb; 46 static struct iocb *wronly_fd_iocbs[] = {&wronly_fd_iocb}; 48 static struct iocb zero_buf_iocb; 49 static struct iocb *zero_buf_iocbs[] = {&zero_buf_iocb}; [all …]
|
D | io_submit03.c | 34 static struct iocb iocb; variable 35 static struct iocb *iocbs[] = {&iocb}; 37 static struct iocb inv_fd_iocb; 38 static struct iocb *inv_fd_iocbs[] = {&inv_fd_iocb}; 41 static struct iocb rdonly_fd_iocb; 42 static struct iocb *rdonly_fd_iocbs[] = {&rdonly_fd_iocb}; 45 static struct iocb wronly_fd_iocb; 46 static struct iocb *wronly_fd_iocbs[] = {&wronly_fd_iocb}; 48 static struct iocb *zero_iocbs[1]; 53 struct iocb **iocbs; [all …]
|
D | io_submit02.c | 31 static struct iocb iocb; variable 32 static struct iocb *iocbs[] = {&iocb}; 37 struct iocb **iocbs; 44 static inline void io_prep_option(struct iocb *cb, int fd, void *buf, in io_prep_option() 59 io_prep_option(&iocb, fd, buf, 0, 0, IOCB_CMD_PREAD); in setup()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aiocp.c | 66 struct iocb **iocb_free; /* array of pointers to iocb */ 136 if ((iocb_free = malloc(n * sizeof(struct iocb *))) == 0) { in init_iocb() 142 (iocb_free[i] = malloc(sizeof(struct iocb)))) in init_iocb() 162 static struct iocb *alloc_iocb(void) in alloc_iocb() 169 void free_iocb(struct iocb *io) in free_iocb() 193 struct iocb *iocb = ep->obj; in io_wait_run() local 197 ep, iocb, ep->res, ep->res2); in io_wait_run() 199 cb(ctx, iocb, ep->res, ep->res2); in io_wait_run() 225 static void wr_done(io_context_t ctx, struct iocb *iocb, long res, long res2) in wr_done() argument 230 if (res != iocb->u.c.nbytes) { in wr_done() [all …]
|
D | aiodio_sparse.c | 66 struct iocb **iocbs; in aiodio_sparse() 78 iocbs = malloc(sizeof(struct iocb *) * num_aio); in aiodio_sparse() 80 if ((iocbs[i] = malloc(sizeof(struct iocb))) == 0) { in aiodio_sparse() 121 struct iocb *iocbp; in aiodio_sparse() 144 iocbp = (struct iocb *)event.obj; in aiodio_sparse() 178 struct iocb *iocbp; in aiodio_sparse() 188 iocbp = (struct iocb *)event.obj; in aiodio_sparse()
|
D | aio-stress.c | 194 struct iocb iocb; member 233 struct iocb **iocbs; 352 s.st_size > (io->iocb.u.c.offset + io->res)) { in check_finished_io() 357 io->iocb.aio_lio_opcode, io->iocb.u.c.offset, in check_finished_io() 368 io->io_oper->file_name, io->iocb.u.c.offset); in check_finished_io() 633 io_prep_pwrite(&io->iocb, oper->fd, io->buf, oper->reclen, 638 io_prep_pread(&io->iocb, oper->fd, io->buf, oper->reclen, 645 io_prep_pread(&io->iocb, oper->fd, io->buf, oper->reclen, 651 io_prep_pwrite(&io->iocb, oper->fd, io->buf, oper->reclen, 713 struct iocb **my_iocbs) [all …]
|
D | aiodio_append.c | 49 struct iocb iocb_array[naio]; in aiodio_append() 50 struct iocb *iocbs[naio]; in aiodio_append() 87 struct iocb *iocbp; in aiodio_append() 91 iocbp = (struct iocb *)event.obj; in aiodio_append()
|
/third_party/ltp/testcases/kernel/io/aio/ |
D | aio02.c | 67 static void work_done(io_context_t ctx, struct iocb *iocb, long res, long res2) in work_done() argument 74 if (res != (long)iocb->u.c.nbytes) in work_done() 76 iocb->u.c.nbytes, res); in work_done() 100 struct iocb *iocb = ep->obj; in io_wait_run() local 101 cb(ctx, iocb, ep->res, ep->res2); in io_wait_run() 116 struct iocb iocb_array[AIO_MAXIO]; in io_tio() 117 struct iocb *iocbps[AIO_MAXIO]; in io_tio()
|
D | aio01.c | 81 struct iocb **iocbs; /* I/O Control Blocks */ 379 if ((iocbs[0] = malloc(sizeof(struct iocb))) == NULL) in setup()
|
/third_party/ltp/testcases/kernel/syscalls/eventfd/ |
D | eventfd01.c | 504 struct iocb iocb; in trigger_eventfd_overflow() local 505 struct iocb *iocbap[1]; in trigger_eventfd_overflow() 534 io_prep_pwrite(&iocb, *fd, buf, sizeof(buf), 0); in trigger_eventfd_overflow() 535 io_set_eventfd(&iocb, evfd); in trigger_eventfd_overflow() 537 iocbap[0] = &iocb; in trigger_eventfd_overflow()
|
/third_party/pulseaudio/src/tests/ |
D | mainloop-test.c | 47 static void iocb(pa_mainloop_api*a, pa_io_event *e, int fd, pa_io_event_flags_t f, void *userdata) { in iocb() function 96 ioe = a->io_new(a, 0, PA_IO_EVENT_INPUT, iocb, NULL); in START_TEST()
|
/third_party/openssl/engines/ |
D | e_afalg.c | 122 static ossl_inline int io_read(aio_context_t ctx, long n, struct iocb **iocb) in io_read() argument 124 return syscall(__NR_io_submit, ctx, n, iocb); in io_read() 270 struct iocb *cb; in afalg_fin_cipher_aio()
|
D | e_afalg.h | 74 struct iocb cbt[MAX_INFLIGHTS];
|
/third_party/ltp/testcases/kernel/syscalls/io_pgetevents/ |
D | io_pgetevents01.c | 41 struct iocb cb, *cbs[1]; in run()
|
D | io_pgetevents02.c | 53 struct iocb cb, *cbs[1]; in setup()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 43390 struct kiocb *iocb; member 43817 struct iocb { struct 43968 struct aio_kiocb *iocb; member 45706 struct kiocb *iocb; member 56003 struct kiocb *iocb; member 56415 struct kiocb *iocb; member 68461 struct kiocb iocb; member
|
/third_party/libabigail/tests/data/test-read-dwarf/ |
D | test15-pr18892.so.abi | 10188 …<parameter type-id='type-id-980' name='iocb' filepath='../../.././libsanitizer/sanitizer_common/sa… 10195 …<parameter type-id='type-id-980' name='iocb' filepath='../../.././libsanitizer/sanitizer_common/sa…
|
/third_party/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 17978 …<parameter type-id='type-id-980' name='iocb' filepath='../../.././libsanitizer/sanitizer_common/sa… 17991 …<parameter type-id='type-id-980' name='iocb' filepath='../../.././libsanitizer/sanitizer_common/sa…
|