Home
last modified time | relevance | path

Searched refs:iov_base (Results 1 – 25 of 52) sorted by relevance

123

/haiku/src/system/libnetwork/netresolv/resolv/
H A Dherror.c100 v->iov_base = t; in __weak_alias()
104 v->iov_base = t; in __weak_alias()
109 v->iov_base = t; in __weak_alias()
110 v->iov_len = strlen(v->iov_base); in __weak_alias()
113 v->iov_base = t; in __weak_alias()
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dsg_buffer.c38 sgb->iov.iov_base = (iovec *) ccbio->cam_data_ptr; in init_sg_buffer()
64 sgb->iov.iov_base = (iovec *)ptr; in realloc_sg_buffer()
86 uchar *ptr = (uchar *)sgb->piov[i].iov_base; in sg_access_byte()
109 d_ptr = d_sgb->piov->iov_base + d_offset; in sg_memcpy()
117 s_ptr = s_sgb->piov->iov_base + s_offset; in sg_memcpy()
158 free(sgb->piov[i].iov_base); in free_sg_buffer()
H A Dtracing.c348 usb_scsi_trace_bytes(sgbPrefix, sgb_own.piov->iov_base, sgb_own.piov->iov_len); in usb_scsi_trace_sgb()
/haiku/headers/private/kernel/util/
H A Diovec_support.h63 if (permitNull && vecs[i].iov_base == NULL)
65 if (!is_user_address_range(vecs[i].iov_base, vecs[i].iov_len)) {
/haiku/src/system/kernel/util/
H A Dring_buffer.cpp287 vecs[0].iov_base = buffer->buffer + buffer->first; in ring_buffer_get_vecs()
296 vecs[0].iov_base = buffer->buffer + buffer->first; in ring_buffer_get_vecs()
298 vecs[1].iov_base = buffer->buffer; in ring_buffer_get_vecs()
371 vecs[0].iov_base = buffer->buffer + buffer->first;
373 vecs[1].iov_base = buffer->buffer;
/haiku/src/tools/fs_shell/
H A Duio.cpp43 systemVecs[i].iov_base = vecs[i].iov_base; in prepare_iovecs()
H A Dfile_cache.cpp87 vec.iov_base = (void *)buffer; in read_from_file()
106 vec.iov_base = (void *)buffer; in write_to_file()
H A Dfd.cpp525 status = descriptor->ops->fd_read(descriptor, pos, vecs[i].iov_base, &length); in _kern_readv()
604 status = descriptor->ops->fd_write(descriptor, pos, vecs[i].iov_base, &length); in _kern_writev()
/haiku/headers/posix/sys/
H A Duio.h13 void *iov_base; member
/haiku/headers/private/fs_shell/
H A Dfssh_uio.h13 void *iov_base; member
/haiku/src/bin/fwcontrol/
H A Dfwdv.c230 wbuf[vec].iov_base = pad; in dvrecv()
245 wbuf[vec].iov_base = (char *) dv; in dvrecv()
394 wbuf[vec].iov_base = (char *)hdr[nhdr]; in dvsend()
400 wbuf[vec].iov_base = (char *)hdr[nhdr]; in dvsend()
402 wbuf[vec].iov_base = (char *)dv; in dvsend()
/haiku/src/tests/system/kernel/cache/
H A Dpages_io_test.cpp184 vecs[count].iov_base = (void *)base; in set_vecs()
302 i, (uint32)vecs[i].iov_base, vecs[i].iov_len); in vfs_read_pages()
315 i, (uint32)vecs[i].iov_base, vecs[i].iov_len); in vfs_write_pages()
580 tempVecs[tempCount].iov_base in pages_io()
581 = (void *)((addr_t)vecs[i].iov_base + vecOffset); in pages_io()
/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_streams.c60 ret.iov_base = buf; in evConsIovec()
237 str->iovCur->iov_base = (void *) in consume()
238 ((u_char *)str->iovCur->iov_base + bytes); in consume()
/haiku/src/build/libroot/
H A Dfs_freebsd.cpp236 ssize_t currentRead = haiku_freebsd_read(fd, vecs[i].iov_base, in haiku_freebsd_readv()
258 ssize_t written = haiku_freebsd_write(fd, vecs[i].iov_base, in haiku_freebsd_writev()
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DTransfer.cpp91 fVector[i].base = (generic_addr_t)vector[i].iov_base; in SetVector()
95 fBaseAddress = vector[0].iov_base; in SetVector()
/haiku/src/libs/compat/freebsd_network/
H A Dusb.cpp414 xfer->frames[frindex].iov_base = ptr; in usbd_xfer_set_frame_data()
427 if (xfer->frames[frindex].iov_base == NULL) in usbd_xfer_set_frame_len()
447 xfer->frames[frindex].iov_base = cache->buffer; in usbd_xfer_get_frame()
546 xfer->frames[0].iov_base, xfer->frames[0].iov_len, in usbd_transfer_submit()
/haiku/src/add-ons/kernel/network/stack/
H A Dstack_interface.cpp114 buffer = message->msg_iov[0].iov_base; in stack_interface_recvmsg()
155 buffer = message->msg_iov[0].iov_base; in stack_interface_sendmsg()
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dvirtual_memory.cpp58 range_start = (char *)vec->iov_base + vec_offset; in get_iovec_memory_map()
/haiku/src/system/kernel/fs/
H A Dvfs_request_io.cpp119 vec.iov_base = buffer; in IO()
299 uint8* vecBase = (uint8*)vector.iov_base; in do_synchronous_iterative_vnode_io()
369 void* vecBase = (void*)(addr_t)vector.iov_base; in synchronous_io()
H A Dfd.cpp721 if (vecs[i].iov_base == NULL) in common_vector_io()
727 vecs[i].iov_base, &length); in common_vector_io()
730 vecs[i].iov_base, &length); in common_vector_io()
/haiku/src/add-ons/kernel/busses/scsi/usb/freecom/
H A Dfreecom.c360 char *buf = ((char *)data_sg[i].iov_base) + off; in transfer_sg()
527 scsi_mode_param_header_10 *hdr = (scsi_mode_param_header_10*)sg_data[0].iov_base; in freecom_transfer()
/haiku/src/add-ons/kernel/drivers/network/ether/usb_rndis/
H A DRNDISDevice.cpp386 vec[0].iov_base = &header; in Write()
389 vec[1].iov_base = (void*)buffer; in Write()
/haiku/src/tests/add-ons/kernel/network/
H A Duserland_ipc.c317 iov.iov_base = convert_to_local(&command->area[1], &area[1], args->u.transfer.data); in connection_runner()
328 iov.iov_base = convert_to_local(&command->area[1], &area[1], args->u.transfer.data); in connection_runner()
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_interface.h22 void *iov_base; member
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfirewire.cpp1972 pkt = (struct fw_pkt *)rb->vec->iov_base; in fw_rcv_copy()
1977 bcopy(rb->vec->iov_base, p, tinfo->hdr_len); in fw_rcv_copy()
1978 rb->vec->iov_base = (u_char *)rb->vec->iov_base + tinfo->hdr_len; in fw_rcv_copy()
2006 bcopy(rb->vec->iov_base, p, len); in fw_rcv_copy()
2040 fp = (struct fw_pkt *)rb->vec[0].iov_base; in fw_rcv()

123