Home
last modified time | relevance | path

Searched refs:aio (Results 1 – 10 of 10) sorted by relevance

/dragonfly/lib/libc/net/
H A Dname6.c636 struct hp_order *aio; in _hpreorder() local
667 if ((aio = malloc(sizeof(*aio) * n)) == NULL) in _hpreorder()
669 memset(aio, 0, sizeof(*aio) * n); in _hpreorder()
675 free(aio); in _hpreorder()
682 sa = &aio[i].aio_sa; in _hpreorder()
712 qsort(aio, n, sizeof(*aio), comp_dst); in _hpreorder()
719 free(aio); in _hpreorder()
849 aio->aio_srcscope = -1; in set_source()
874 aio->aio_srcscope = gai_addr2scopetype(&aio->aio_srcsa); in set_source()
875 aio->aio_srcpolicy = match_addrselectpolicy(&aio->aio_srcsa, ph); in set_source()
[all …]
H A Dgetaddrinfo.c587 struct ai_order *aio; in reorder() local
602 if ((aio = malloc(sizeof(*aio) * n)) == NULL) in reorder()
604 memset(aio, 0, sizeof(*aio) * n); in reorder()
610 free(aio); in reorder()
615 aio[i].aio_ai = ai; in reorder()
623 qsort(aio, n, sizeof(*aio), comp_dst); in reorder()
627 *aip = aio[i].aio_ai; in reorder()
633 free(aio); in reorder()
795 aio->aio_srcscope = gai_addr2scopetype(&aio->aio_srcsa); in set_source()
796 aio->aio_srcpolicy = match_addrselectpolicy(&aio->aio_srcsa, ph); in set_source()
[all …]
/dragonfly/share/examples/scsi_target/
H A Dscsi_target.c210 struct aiocb aio, *aiop; in main() local
213 memset(&aio, 0, sizeof(aio)); in main()
214 aio.aio_buf = malloc(sector_size); in main()
215 if (aio.aio_buf == NULL) in main()
217 aio.aio_fildes = file_fd; in main()
218 aio.aio_offset = 0; in main()
219 aio.aio_nbytes = sector_size; in main()
221 if (aio_read(&aio) != 0) { in main()
228 assert(aiop == &aio); in main()
230 free((void *)aio.aio_buf); in main()
/dragonfly/sys/netproto/smb/
H A Dsmb_trantcp.c282 struct iovec aio; in nbssn_recvhdr() local
286 aio.iov_base = (caddr_t)&len; in nbssn_recvhdr()
287 aio.iov_len = sizeof(len); in nbssn_recvhdr()
288 auio.uio_iov = &aio; in nbssn_recvhdr()
/dragonfly/lib/librt/
H A DMakefile7 SRCS+= mq.c aio.c
/dragonfly/sys/conf/
H A Dkern.fwd.mk26 _lhdrs= aio.h errno.h fcntl.h linker_set.h poll.h syslog.h ucontext.h
/dragonfly/sys/vfs/nfs/
H A Dbootp_subr.c580 struct iovec aio; in bootpc_call() local
728 aio.iov_base = (caddr_t) &ifctx->call; in bootpc_call()
729 aio.iov_len = sizeof(ifctx->call); in bootpc_call()
731 auio.uio_iov = &aio; in bootpc_call()
795 aio.iov_base = (caddr_t) &gctx->reply; in bootpc_call()
796 aio.iov_len = sizeof(gctx->reply); in bootpc_call()
798 auio.uio_iov = &aio; in bootpc_call()
H A Dnfs_socket.c546 struct iovec aio; in nfs_receive() local
614 aio.iov_base = (caddr_t)&len; in nfs_receive()
615 aio.iov_len = sizeof(u_int32_t); in nfs_receive()
616 auio.uio_iov = &aio; in nfs_receive()
/dragonfly/test/x86_64/
H A DMakefile100 --disable-aio \
/dragonfly/include/
H A DMakefile41 LHDRS= aio.h errno.h fcntl.h linker_set.h poll.h sched.h syslog.h ucontext.h