Searched refs:iocb (Results 1 - 7 of 7) sorted by relevance

/freebsd-10-stable/lib/librt/
H A Daio.c53 typedef void (*aio_func)(union sigval val, struct aiocb *iocb);
55 extern int __sys_aio_read(struct aiocb *iocb);
56 extern int __sys_aio_write(struct aiocb *iocb);
58 extern int __sys_aio_return(struct aiocb *iocb);
59 extern int __sys_aio_error(struct aiocb *iocb);
60 extern int __sys_aio_fsync(int op, struct aiocb *iocb);
71 aio_sigev_alloc(struct aiocb *iocb, struct sigev_node **sn, argument
80 *sn = __sigev_alloc(SI_ASYNCIO, &iocb->aio_sigevent, NULL, 1);
86 *saved_ev = iocb->aio_sigevent;
87 (*sn)->sn_id = (sigev_id_t)iocb;
99 aio_io(struct aiocb *iocb, int (*sysfunc)(struct aiocb *iocb)) argument
126 __aio_read(struct aiocb *iocb) argument
133 __aio_write(struct aiocb *iocb) argument
159 __aio_return(struct aiocb *iocb) argument
174 __aio_fsync(int op, struct aiocb *iocb) argument
[all...]
/freebsd-10-stable/tests/sys/aio/
H A Daio_kqueue_test.c60 struct aiocb *iocb[MAX_IOCBS], *kq_iocb; local
96 for (i = 0; i < nitems(iocb); i++) {
97 iocb[i] = (struct aiocb *)calloc(1,
99 if (iocb[i] == NULL)
104 for (i = 0; i < nitems(iocb); i++) {
106 iocb[i]->aio_nbytes = sizeof(buffer);
107 iocb[i]->aio_buf = buffer;
108 iocb[i]->aio_fildes = fd;
109 iocb[i]->aio_offset = iocb[
[all...]
H A Dlio_kqueue_test.c65 struct aiocb *iocb[MAX_IOCBS]; local
108 lio[j][i] = iocb[k] =
110 iocb[k]->aio_nbytes = sizeof(buffer);
111 iocb[k]->aio_buf = buffer;
112 iocb[k]->aio_fildes = fd;
113 iocb[k]->aio_offset
114 = iocb[k]->aio_nbytes * k * (run + 1);
117 printf("hello iocb[k] %ld\n",
118 iocb[k]->aio_offset);
120 iocb[
[all...]
/freebsd-10-stable/libexec/bootpd/
H A Dhwaddr.c161 struct strioctl iocb; local
166 iocb.ic_cmd = SIOCSARP;
167 iocb.ic_timout = 0;
168 iocb.ic_dp = (char *)&arpreq;
169 iocb.ic_len = sizeof(arpreq);
170 if (ioctl(fd, I_STR, (caddr_t)&iocb) < 0) {
/freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h708 int sdp_sendmsg_zcopy(struct kiocb *iocb, struct socket *sk, struct iovec *iov);
H A Dsdp_zcopy.c711 int sdp_sendmsg_zcopy(struct kiocb *iocb, struct socket *sk, struct iovec *iov) argument
/freebsd-10-stable/sys/kern/
H A Dvfs_aio.c352 static int aio_qphysio(struct proc *p, struct aiocblist *iocb);
2246 struct aiocb *iocb; local
2322 iocb = acb_list[i];
2323 if (iocb != NULL) {
2324 error = aio_aqueue(td, iocb, lj, LIO_NOP, ops);

Completed in 136 milliseconds