Home
last modified time | relevance | path

Searched refs:aiov (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/tools/tools/kttcp/sys/
H A Dkttcp.c155 struct iovec aiov; in kttcp_send() local
157 bzero(&aiov, sizeof(aiov)); in kttcp_send()
159 auio.uio_iov = &aiov; in kttcp_send()
175 aiov.iov_len = nbyte; in kttcp_send()
203 struct iovec aiov; in kttcp_recv() local
205 bzero(&aiov, sizeof(aiov)); in kttcp_recv()
207 auio.uio_iov = &aiov; in kttcp_recv()
223 aiov.iov_len = nbyte; in kttcp_recv()
/freebsd/sys/kern/
H A Dsys_getrandom.c52 struct iovec aiov; in kern_getrandom() local
99 aiov.iov_base = user_buf; in kern_getrandom()
100 aiov.iov_len = buflen; in kern_getrandom()
101 auio.uio_iov = &aiov; in kern_getrandom()
H A Dvfs_extattr.c178 struct iovec aiov; in extattr_set_vp() local
190 aiov.iov_base = data; in extattr_set_vp()
191 aiov.iov_len = nbytes; in extattr_set_vp()
192 auio.uio_iov = &aiov; in extattr_set_vp()
354 struct iovec aiov; in extattr_get_vp() local
373 aiov.iov_base = data; in extattr_get_vp()
374 aiov.iov_len = nbytes; in extattr_get_vp()
375 auio.uio_iov = &aiov; in extattr_get_vp()
736 struct iovec aiov; in sys_extattr_list_fd() local
739 aiov.iov_base = uap->data; in sys_extattr_list_fd()
[all …]
H A Dkern_alq.c317 struct iovec aiov[2]; in alq_doio() local
330 bzero(&aiov, sizeof(aiov)); in alq_doio()
334 aiov[0].iov_base = alq->aq_entbuf + alq->aq_writetail; in alq_doio()
338 totlen = aiov[0].iov_len = alq->aq_writehead - alq->aq_writetail; in alq_doio()
341 totlen = aiov[0].iov_len = alq->aq_buflen - alq->aq_writetail - in alq_doio()
349 aiov[0].iov_len = alq->aq_buflen - alq->aq_writetail - in alq_doio()
352 aiov[1].iov_base = alq->aq_entbuf; in alq_doio()
353 aiov[1].iov_len = alq->aq_writehead; in alq_doio()
354 totlen = aiov[0].iov_len + aiov[1].iov_len; in alq_doio()
360 auio.uio_iov = &aiov[0]; in alq_doio()
H A Duipc_syscalls.c800 struct iovec aiov; in sys_sendto() local
804 msg.msg_iov = &aiov; in sys_sendto()
811 aiov.iov_base = __DECONST(void *, uap->buf); in sys_sendto()
812 aiov.iov_len = uap->len; in sys_sendto()
821 struct iovec aiov; in osend() local
825 msg.msg_iov = &aiov; in osend()
827 aiov.iov_base = __DECONST(void *, uap->buf); in osend()
828 aiov.iov_len = uap->len; in osend()
1057 struct iovec aiov; in kern_recvfrom() local
1069 msg.msg_iov = &aiov; in kern_recvfrom()
1102 struct iovec aiov; orecv() local
[all...]
H A Dvfs_default.c813 struct iovec aiov; in vop_stdallocate() local
890 aiov.iov_base = buf; in vop_stdallocate()
891 aiov.iov_len = cur; in vop_stdallocate()
892 auio.uio_iov = &aiov; in vop_stdallocate()
910 aiov.iov_base = buf; in vop_stdallocate()
911 aiov.iov_len = cur; in vop_stdallocate()
912 auio.uio_iov = &aiov; in vop_stdallocate()
945 struct iovec aiov; in vp_zerofill() local
967 aiov.iov_base = __DECONST(void *, zero_region); in vp_zerofill()
968 aiov.iov_len = xfersize; in vp_zerofill()
[all …]
H A Dsys_generic.c192 struct iovec aiov; in sys_read() local
197 aiov.iov_base = uap->buf; in sys_read()
198 aiov.iov_len = uap->nbyte; in sys_read()
199 auio.uio_iov = &aiov; in sys_read()
230 struct iovec aiov; in kern_pread() local
235 aiov.iov_base = buf; in kern_pread()
236 aiov.iov_len = nbyte; in kern_pread()
237 auio.uio_iov = &aiov; in kern_pread()
393 struct iovec aiov; in sys_write() local
398 aiov in sys_write()
432 struct iovec aiov; kern_pwrite() local
[all...]
H A Dkern_ktrace.c1313 struct iovec aiov[3]; in ktr_writerequest() local
1350 auio.uio_iov = &aiov[0]; in ktr_writerequest()
1354 aiov[0].iov_base = (caddr_t)kth; in ktr_writerequest()
1355 aiov[0].iov_len = sizeof(struct ktr_header); in ktr_writerequest()
1360 aiov[1].iov_base = (caddr_t)&req->ktr_data; in ktr_writerequest()
1361 aiov[1].iov_len = datalen; in ktr_writerequest()
1368 aiov[auio.uio_iovcnt].iov_base = req->ktr_buffer; in ktr_writerequest()
1369 aiov[auio.uio_iovcnt].iov_len = buflen; in ktr_writerequest()
H A Dvfs_lookup.c497 struct iovec aiov; in namei_follow_link()
522 aiov.iov_base = cp; in namei_follow_link()
523 aiov.iov_len = MAXPATHLEN; in namei_follow_link()
524 auio.uio_iov = &aiov; in namei_follow_link()
486 struct iovec aiov; namei_follow_link() local
H A Dvfs_syscalls.c2701 struct iovec aiov; in kern_readlink_vp() local
2714 aiov.iov_base = buf; in kern_readlink_vp()
2715 aiov.iov_len = count; in kern_readlink_vp()
2716 auio.uio_iov = &aiov; in kern_readlink_vp()
4183 struct iovec aiov; in kern_getdirentries() local
4210 aiov.iov_base = buf; in kern_getdirentries()
4211 aiov.iov_len = count; in kern_getdirentries()
4212 auio.uio_iov = &aiov; in kern_getdirentries()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c121 struct iovec aiov; in zfs_file_write_impl() local
124 aiov.iov_base = (void *)(uintptr_t)buf; in zfs_file_write_impl()
125 aiov.iov_len = count; in zfs_file_write_impl()
126 auio.uio_iov = &aiov; in zfs_file_write_impl()
178 struct iovec aiov; in zfs_file_read_impl() local
181 aiov.iov_base = (void *)(uintptr_t)buf; in zfs_file_read_impl()
182 aiov.iov_len = count; in zfs_file_read_impl()
183 auio.uio_iov = &aiov; in zfs_file_read_impl()
/freebsd/sys/fs/tarfs/
H A Dtarfs_io.c158 struct iovec aiov; in tarfs_io_read_buf() local
167 aiov.iov_base = buf; in tarfs_io_read_buf()
168 aiov.iov_len = len; in tarfs_io_read_buf()
169 auio.uio_iov = &aiov; in tarfs_io_read_buf()
322 struct iovec aiov; in tarfs_zread_zstd() local
419 aiov.iov_base = ibuf; in tarfs_zread_zstd()
420 aiov.iov_len = bsize; in tarfs_zread_zstd()
421 auio.uio_iov = &aiov; in tarfs_zread_zstd()
426 auio.uio_resid = aiov.iov_len; in tarfs_zread_zstd()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c829 struct iovec aiov[1]; in linux_sendto_hdrincl() local
851 msg.msg_iov = aiov; in linux_sendto_hdrincl()
855 aiov[0].iov_base = (char *)packet; in linux_sendto_hdrincl()
856 aiov[0].iov_len = linux_args->len; in linux_sendto_hdrincl()
1274 struct iovec aiov; in linux_sendto() local
1292 msg.msg_iov = &aiov; in linux_sendto()
1294 aiov.iov_base = PTRIN(args->msg); in linux_sendto()
1295 aiov.iov_len = args->len; in linux_sendto()
1306 struct iovec aiov; in linux_recvfrom() local
1325 msg.msg_iov = &aiov; in linux_recvfrom()
[all …]
H A Dlinux_xattr.c136 struct iovec aiov; in listxattr() local
147 auio.uio_iov = &aiov; in listxattr()
156 aiov.iov_base = data; in listxattr()
157 aiov.iov_len = sz; in listxattr()
/freebsd/sys/ufs/ufs/
H A Dufs_extattr.c374 struct iovec aiov; in ufs_extattr_iterate_directory() local
383 auio.uio_iov = &aiov; in ufs_extattr_iterate_directory()
400 aiov.iov_base = dirbuf; in ufs_extattr_iterate_directory()
401 aiov.iov_len = DIRBLKSIZ; in ufs_extattr_iterate_directory()
596 struct iovec aiov; in ufs_extattr_enable() local
626 auio.uio_iov = &aiov; in ufs_extattr_enable()
628 aiov.iov_base = (caddr_t) &attribute->uele_fileheader; in ufs_extattr_enable()
629 aiov.iov_len = sizeof(struct ufs_extattr_fileheader); in ufs_extattr_enable()
H A Dufs_quota.c1226 struct iovec aiov; in dqopen() local
1231 auio.uio_iov = &aiov; in dqopen()
1233 aiov.iov_base = &dqh; in dqopen()
1234 aiov.iov_len = sizeof(dqh); in dqopen()
1277 struct iovec aiov; in dqget() local
1417 auio.uio_iov = &aiov; in dqget()
1419 aiov.iov_base = buf; in dqget()
1420 aiov.iov_len = recsize; in dqget()
1550 struct iovec aiov; in dqsync() local
1611 auio.uio_iov = &aiov; in dqsync()
[all …]
/freebsd/sys/dev/filemon/
H A Dfilemon_wrapper.c53 struct iovec aiov; in filemon_output() local
59 aiov.iov_base = msg; in filemon_output()
60 aiov.iov_len = len; in filemon_output()
61 auio.uio_iov = &aiov; in filemon_output()
/freebsd/sys/dev/md/
H A Dmd.c880 struct iovec aiov; in mdstart_vnode() local
967 aiov.iov_base = (void *)(sc->kva + (ma_offs & PAGE_MASK)); in mdstart_vnode()
968 aiov.iov_len = iolen; in mdstart_vnode()
969 auio.uio_iov = &aiov; in mdstart_vnode()
974 aiov.iov_base = bp->bio_data; in mdstart_vnode()
975 aiov.iov_len = bp->bio_length; in mdstart_vnode()
976 auio.uio_iov = &aiov; in mdstart_vnode()
1398 struct iovec aiov; in mdsetcred() local
1403 aiov.iov_base = tmpbuf; in mdsetcred()
1404 aiov.iov_len = sc->sectorsize; in mdsetcred()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_lookup.c855 struct iovec aiov; in ext2_add_first_entry() local
877 aiov.iov_len = auio.uio_resid; in ext2_add_first_entry()
878 aiov.iov_base = (caddr_t)buf; in ext2_add_first_entry()
883 aiov.iov_len = auio.uio_resid; in ext2_add_first_entry()
884 aiov.iov_base = (caddr_t)entry; in ext2_add_first_entry()
887 auio.uio_iov = &aiov; in ext2_add_first_entry()
H A Dext2_htree.c423 struct iovec aiov; in ext2_htree_append_block() local
434 aiov.iov_len = blksize; in ext2_htree_append_block()
435 aiov.iov_base = data; in ext2_htree_append_block()
436 auio.uio_iov = &aiov; in ext2_htree_append_block()
/freebsd/sys/vm/
H A Dvnode_pager.c762 struct iovec aiov; in vnode_pager_input_old() local
789 aiov.iov_base = (caddr_t)sf_buf_kva(sf); in vnode_pager_input_old()
790 aiov.iov_len = size; in vnode_pager_input_old()
791 auio.uio_iov = &aiov; in vnode_pager_input_old()
1378 struct iovec aiov; in vnode_pager_generic_putpages() local
1447 auio.uio_iov = &aiov; in vnode_pager_generic_putpages()
1492 aiov.iov_base = NULL; in vnode_pager_generic_putpages()
1495 prev_resid = auio.uio_resid = aiov.iov_len = next_offset - in vnode_pager_generic_putpages()
/freebsd/sys/ufs/ffs/
H A Dffs_snapshot.c215 struct iovec aiov; in ffs_snapshot() local
800 auio.uio_iov = &aiov; in ffs_snapshot()
802 aiov.iov_base = (void *)snapblklist; in ffs_snapshot()
803 aiov.iov_len = snaplistsize * sizeof(daddr_t); in ffs_snapshot()
804 auio.uio_resid = aiov.iov_len; in ffs_snapshot()
2005 struct iovec aiov; in ffs_snapshot_mount() local
2092 auio.uio_iov = &aiov; in ffs_snapshot_mount()
2094 aiov.iov_base = (void *)&snaplistsize; in ffs_snapshot_mount()
2095 aiov.iov_len = sizeof(snaplistsize); in ffs_snapshot_mount()
2096 auio.uio_resid = aiov.iov_len; in ffs_snapshot_mount()
[all …]
/freebsd/sys/fs/cd9660/
H A Dcd9660_vnops.c199 struct iovec aiov; in cd9660_getattr() local
204 aiov.iov_base = cp; in cd9660_getattr()
205 aiov.iov_len = MAXPATHLEN; in cd9660_getattr()
206 auio.uio_iov = &aiov; in cd9660_getattr()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_logging.c357 struct iovec aiov; in pmclog_loop() local
440 aiov.iov_base = lb->plb_base; in pmclog_loop()
441 aiov.iov_len = nbytes = lb->plb_ptr - lb->plb_base; in pmclog_loop()
443 auio.uio_iov = &aiov; in pmclog_loop()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clvnops.c572 struct iovec aiov; in nfs_access() local
577 aiov.iov_base = buf; in nfs_access()
578 aiov.iov_len = 1; in nfs_access()
579 auio.uio_iov = &aiov; in nfs_access()
592 aiov.iov_base = bp; in nfs_access()
593 aiov.iov_len = auio.uio_resid = NFS_DIRBLKSIZ; in nfs_access()

12