Home
last modified time | relevance | path

Searched refs:iovec (Results 1 – 25 of 115) sorted by relevance

12345

/haiku/headers/posix/sys/
H A Duio.h12 typedef struct iovec { struct
15 } iovec; argument
22 ssize_t readv(int fd, const struct iovec *vector, int count);
23 ssize_t readv_pos(int fd, off_t pos, const struct iovec *vec, int count);
24 ssize_t writev(int fd, const struct iovec *vector, int count);
25 ssize_t writev_pos(int fd, off_t pos, const struct iovec *vec, int count);
/haiku/src/tools/fs_shell/
H A Duio.cpp25 extern "C" ssize_t _kern_readv(int fd, off_t pos, const struct iovec *vecs, size_t count);
26 extern "C" ssize_t _kern_writev(int fd, off_t pos, const struct iovec *vecs, size_t count);
35 struct iovec* systemVecs) in prepare_iovecs()
54 struct iovec systemVecs[kMaxIOVecs]; in fssh_readv()
74 struct iovec systemVecs[kMaxIOVecs]; in fssh_readv_pos()
93 struct iovec systemVecs[kMaxIOVecs]; in fssh_writev()
113 struct iovec systemVecs[kMaxIOVecs]; in fssh_writev_pos()
/haiku/src/system/libroot/posix/sys/
H A Duio.c17 readv(int fd, const struct iovec *vecs, int count) in readv()
31 readv_pos(int fd, off_t pos, const struct iovec *vecs, int count) in readv_pos()
45 writev(int fd, const struct iovec *vecs, int count) in writev()
59 writev_pos(int fd, off_t pos, const struct iovec *vecs, int count) in writev_pos()
/haiku/src/tests/misc/
H A Dwritev-test.cpp20 iovec vec1 = { &dummy, sizeof(dummy) }; in main()
27 iovec vec2 = { (void *)0x80100000, 0x1000 }; in main()
34 iovec vec3 = { 0, 1 }; in main()
/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_streams.c48 static int copyvec(evStream *str, const struct iovec *iov, int iocnt);
55 struct iovec
57 struct iovec ret; in evConsIovec()
67 evWrite(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt, in evWrite()
101 evRead(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt, in evRead()
204 memput(old->iovOrig, sizeof (struct iovec) * old->iovOrigCount); in evCancelRW()
211 copyvec(evStream *str, const struct iovec *iov, int iocnt) { in copyvec()
214 str->iovOrig = (struct iovec *)memget(sizeof(struct iovec) * iocnt); in copyvec()
/haiku/headers/private/kernel/util/
H A Diovec_support.h49 get_iovecs_from_user(const iovec* userVecs, size_t vecCount, iovec* vecs,
58 if (user_memcpy(vecs, userVecs, sizeof(iovec) * vecCount) != B_OK)
H A Dring_buffer.h12 struct iovec;
46 int32 ring_buffer_get_vecs(struct ring_buffer *buffer, struct iovec *vecs);
/haiku/src/build/libroot/
H A Dfs_freebsd.h15 ssize_t haiku_freebsd_readv(int fd, const struct iovec *vecs, size_t count);
16 ssize_t haiku_freebsd_writev(int fd, const struct iovec *vecs, size_t count);
/haiku/headers/compatibility/bsd/sys/
H A Duio.h22 preadv(int fd, const struct iovec *vecs, int count, off_t pos) in preadv()
29 pwritev(int fd, const struct iovec *vecs, int count, off_t pos) in pwritev()
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixFifo.h38 UnixRequest(const iovec* vecs, size_t count,
56 const iovec* fVecs;
135 ssize_t Read(const iovec* vecs, size_t vecCount,
138 ssize_t Write(const iovec* vecs, size_t vecCount,
H A DUnixDatagramEndpoint.h35 ssize_t Send(const iovec* vecs, size_t vecCount,
39 ssize_t Receive(const iovec* vecs, size_t vecCount,
H A DUnixEndpoint.h56 virtual ssize_t Send(const iovec* vecs, size_t vecCount,
60 virtual ssize_t Receive(const iovec* vecs, size_t vecCount,
H A DUnixStreamEndpoint.h51 ssize_t Send(const iovec* vecs, size_t vecCount,
55 ssize_t Receive(const iovec* vecs, size_t vecCount,
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dsg_buffer.h26 iovec iov; /**< to avoid extra memory allocations */
27 iovec *piov; /**< ptr to scatter/gather list, default is equal to &iov */
H A Dsg_buffer.c35 sgb->piov = (iovec *) ccbio->cam_data_ptr; in init_sg_buffer()
38 sgb->iov.iov_base = (iovec *) ccbio->cam_data_ptr; in init_sg_buffer()
64 sgb->iov.iov_base = (iovec *)ptr; in realloc_sg_buffer()
H A Dproto_common.h22 status_t process_data_io(usb_device_info *udi, iovec *sg_data, int32 sg_count/*sg_buffer *sgb*/, ED…
/haiku/headers/private/net/
H A Dnet_protocol.h15 struct iovec;
109 ssize_t (*send_data_no_buffer)(net_protocol* self, const iovec* vecs,
113 ssize_t (*read_data_no_buffer)(net_protocol* self, const iovec* vecs,
/haiku/headers/private/kernel/
H A Dport.h45 status_t writev_port_etc(port_id id, int32 msgCode, const iovec *msgVecs,
68 const iovec *msgVecs, size_t vecCount,
/haiku/headers/private/userlandfs/fuse/
H A Dfuse_lowlevel.h1184 int fuse_reply_iov(fuse_req_t req, const struct iovec *iov, int count);
1282 const struct iovec *in_iov, size_t in_count,
1283 const struct iovec *out_iov, size_t out_count);
1309 int fuse_reply_ioctl_iov(fuse_req_t req, int result, const struct iovec *iov,
1743 int (*send)(struct fuse_chan *ch, const struct iovec iov[],
1821 int fuse_chan_send(struct fuse_chan *ch, const struct iovec iov[],
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A DKernelExport_ext.h27 iovec *vec, // iovec to analyze
/haiku/src/add-ons/kernel/network/devices/ethernet/
H A Dethernet.cpp305 struct iovec iovec; in ethernet_send_data() local
306 gBufferModule->get_iovecs(buffer, &iovec, 1); in ethernet_send_data()
309 ssize_t bytesWritten = write(device->fd, iovec.iov_base, iovec.iov_len); in ethernet_send_data()
/haiku/headers/os/drivers/
H A DDrivers.h37 const iovec *vec, size_t count, size_t *_numBytes);
39 const iovec *vec, size_t count, size_t *_numBytes);
/haiku/headers/private/kernel/fs/
H A Dfd.h32 const struct iovec *vecs, int count);
34 const struct iovec *vecs, int count);
/haiku/src/system/libnetwork/netresolv/include/isc/
H A Deventlib.h137 struct iovec evConsIovec __P((void *, size_t));
138 int evWrite __P((evContext, int, const struct iovec *, int,
140 int evRead __P((evContext, int, const struct iovec *, int,
/haiku/src/tests/system/kernel/cache/
H A Dpages_io_test.cpp171 set_vecs(iovec *vecs, size_t *_count, ...) in set_vecs()
297 const iovec *vecs, size_t count, size_t *bytes, bool kernel) in vfs_read_pages()
310 const iovec *vecs, size_t count, size_t *bytes, bool kernel) in vfs_write_pages()
445 pages_io(file_cache_ref *ref, off_t offset, const iovec *vecs, size_t count, in pages_io()
553 iovec tempVecs[MAX_TEMP_IO_VECS]; in pages_io()
651 iovec vecs[MAX_IO_VECS]; in main()

12345