Searched refs:iovec (Results 1 - 25 of 114) sorted by relevance

12345

/haiku/headers/posix/sys/
H A Duio.h12 typedef struct iovec { struct
15 } iovec; typedef in typeref:struct:iovec
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/add-ons/kernel/bus_managers/scsi/
H A DKernelExport_ext.h19 #include <iovec.h>
25 // get memory map of iovec
27 iovec *vec, // iovec to analyze
/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)
29 pwritev(int fd, const struct iovec *vecs, int count, off_t pos)
/haiku/headers/private/kernel/util/
H A Diovec_support.h45 get_iovecs_from_user(const iovec* userVecs, size_t vecCount, iovec*& vecs,
55 vecs = (iovec*)malloc(sizeof(iovec) * vecCount);
59 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/tests/misc/
H A Dwritev-test.cpp20 iovec vec1 = { &dummy, sizeof(dummy) };
27 iovec vec2 = { (void *)0x80100000, 0x1000 };
34 iovec vec3 = { 0, 1 };
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dsg_buffer.h19 #include <iovec.h>
26 iovec iov; /**< to avoid extra memory allocations */
27 iovec *piov; /**< ptr to scatter/gather list, default is equal to &iov */
H A Dproto_common.h22 status_t process_data_io(usb_device_info *udi, iovec *sg_data, int32 sg_count/*sg_buffer *sgb*/, EDirection dir);
H A Dsg_buffer.c35 sgb->piov = (iovec *) ccbio->cam_data_ptr;
38 sgb->iov.iov_base = (iovec *) ccbio->cam_data_ptr;
64 sgb->iov.iov_base = (iovec *)ptr;
H A Dproto_module.h52 iovec *sg_data,
H A Dtracing.h76 void usb_scsi_trace_SG(iovec *sg, int count);
/haiku/src/system/libroot/posix/sys/
H A Duio.c17 readv(int fd, const struct iovec *vecs, int count)
31 readv_pos(int fd, off_t pos, const struct iovec *vecs, int count)
45 writev(int fd, const struct iovec *vecs, int count)
59 writev_pos(int fd, off_t pos, const struct iovec *vecs, 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)
54 struct iovec systemVecs[kMaxIOVecs];
74 struct iovec systemVecs[kMaxIOVecs];
93 struct iovec systemVecs[kMaxIOVecs];
113 struct iovec systemVecs[kMaxIOVecs];
/haiku/src/add-ons/kernel/network/devices/ethernet/
H A Dethernet.cpp294 struct iovec iovec; local
303 iovec.iov_base = device->write_buffer;
304 iovec.iov_len = buffer->size;
319 gBufferModule->get_iovecs(buffer, &iovec, 1);
322 gBufferModule->get_iovecs(buffer, &iovec, 1);
325 //dump_block((const char *)iovec.iov_base, buffer->size, " ");
326 ssize_t bytesWritten = write(device->fd, iovec.iov_base, iovec.iov_len);
356 struct iovec iove local
[all...]
/haiku/headers/private/kernel/
H A Dport.h10 #include <iovec.h>
45 status_t writev_port_etc(port_id id, int32 msgCode, const iovec *msgVecs,
68 const iovec *msgVecs, size_t vecCount,
/haiku/src/add-ons/kernel/network/protocols/unix/
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 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 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/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;
67 evWrite(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt,
101 evRead(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt,
204 memput(old->iovOrig, sizeof (struct iovec) * old->iovOrigCount);
211 copyvec(evStream *str, const struct iovec *iov, int iocnt) {
214 str->iovOrig = (struct iovec *)memget(sizeof(struct iovec) * iocnt);
231 /* Pull off or truncate lead iovec(
[all...]
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A DL2capEndpoint.h53 ssize_t Send(const iovec* vecs, size_t vecCount,
55 ssize_t Receive(const iovec* vecs, size_t vecCount,
/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/src/add-ons/kernel/file_systems/fat/
H A Dfile.h40 off_t pos, const iovec *vecs, size_t count, size_t *_numBytes);
42 off_t pos, const iovec *vecs, size_t count, size_t *_numBytes);
/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);

Completed in 120 milliseconds

12345