Searched refs:vec (Results 1 - 25 of 37) sorted by relevance

12

/haiku/headers/private/fs_shell/
H A Dfssh_uio.h25 fssh_iovec *vec, fssh_size_t count);
29 const struct fssh_iovec *vec, fssh_size_t count);
H A Dfssh_drivers.h33 fssh_off_t position, const fssh_iovec *vec,
36 fssh_off_t position, const fssh_iovec *vec,
/haiku/headers/posix/sys/
H A Duio.h23 ssize_t readv_pos(int fd, off_t pos, const struct iovec *vec, size_t count);
25 ssize_t writev_pos(int fd, off_t pos, const struct iovec *vec, size_t count);
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A DKernelExport_ext.h27 iovec *vec, // iovec to analyze
28 size_t vec_count, // number of entries in vec
29 size_t vec_offset, // number of bytes to skip at beginning of vec
H A Dvirtual_memory.cpp29 get_iovec_memory_map(iovec *vec, size_t vec_count, size_t vec_offset, size_t len, argument
40 while (vec_count > 0 && vec_offset > vec->iov_len) {
41 vec_offset -= vec->iov_len;
43 ++vec;
58 range_start = (char *)vec->iov_base + vec_offset;
59 range_len = std::min(vec->iov_len - vec_offset, left_len);
107 ++vec;
H A Dscatter_gather.cpp34 iovec vec = { local
42 res = get_iovec_memory_map(&vec, 1, 0, ccb->data_length, temp_sg, max_sg_blocks,
/haiku/src/bin/fwcontrol/
H A Dfwdv.c114 int len, tlen, npad, fd, k, m, vec, system = -1, nb; local
176 vec = 0;
230 wbuf[vec].iov_base = pad;
231 wbuf[vec++].iov_len = npad;
232 if (vec >= NPACKET_R) {
233 writev(fd, wbuf, vec);
234 vec = 0;
245 wbuf[vec].iov_base = (char *) dv;
246 wbuf[vec++].iov_len = DSIZE;
247 if (vec >
272 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local
[all...]
/haiku/src/tools/fs_shell/
H A Duio.cpp64 fssh_readv_pos(int fd, fssh_off_t pos, const struct fssh_iovec *vec, argument
68 if (!prepare_iovecs(vec, count, systemVecs))
100 fssh_writev_pos(int fd, fssh_off_t pos, const struct fssh_iovec *vec, argument
104 if (!prepare_iovecs(vec, count, systemVecs))
H A Dfile_cache.cpp86 fssh_iovec vec; local
87 vec.iov_base = (void *)buffer;
88 vec.iov_len = bufferSize;
93 offset + pageOffset, &vec, 1, &bufferSize);
105 fssh_iovec vec; local
106 vec.iov_base = (void *)buffer;
107 vec.iov_len = bufferSize;
112 offset + pageOffset, &vec, 1, &bufferSize);
/haiku/src/system/kernel/device_manager/
H A Ddma_resources.cpp56 generic_io_vec& vec = fVecs[fVecCount++]; local
57 vec.base = base;
58 vec.length = size;
305 generic_io_vec& vec = buffer.VecAt(i); local
306 generic_size_t length = vec.length;
318 vec.length -= toCut;
358 // see if we can join the bounce buffer with the previously last vec
359 generic_io_vec& vec = buffer.VecAt(vecCount - 1); local
360 generic_addr_t vecBase = vec.base;
361 generic_size_t vecLength = vec
448 generic_io_vec& vec = buffer->VecAt(i); local
551 const generic_io_vec& vec = vecs[i]; local
[all...]
H A DIORequest.cpp293 // repair phase adjusted vec
314 // repair phase adjusted vec
315 generic_io_vec& vec = fDMABuffer->VecAt(fSavedVecIndex); local
316 vec.base += vec.length - fSavedVecLength;
317 vec.length = fSavedVecLength;
351 // offset) as we go. If [offset, offset + vec.length) intersects with
358 const generic_io_vec& vec = vecs[i]; local
359 generic_addr_t base = vec.base;
360 generic_size_t length = vec
466 const generic_io_vec& vec = vecs[i]; local
592 generic_io_vec& vec = vecs[i]; local
606 generic_io_vec& vec = vecs[i]; local
736 generic_io_vec vec; local
795 const generic_io_vec& vec = vecs[startVec]; local
807 const generic_io_vec& vec = vecs[endVec]; local
[all...]
/haiku/src/system/libnetwork/netresolv/irs/
H A Dnsdispatch.c199 _nsvect_append(const void *elem, void *vec, u_int *count, size_t esize) argument
204 p = realloc(vec, (*count + NSELEMSPERCHUNK) * esize);
207 vec = p;
209 memmove((void *)(((uintptr_t)vec) + (*count * esize)), elem, esize);
211 return (vec);
215 _nsvect_elem(u_int i, void *vec, u_int count, size_t esize) argument
219 return ((void *)((uintptr_t)vec + (i * esize)));
225 _nsvect_free(void *vec, u_int *count, size_t esize, _nsvect_free_elem free_elem) argument
231 elem = _nsvect_elem(i, vec, *count, esize);
235 if (vec !
[all...]
/haiku/src/servers/app/font/
H A DFontEngine.cpp147 FT_Vector vec; local
154 vec.x = point->x;
155 vec.y = point->y;
160 x2 = int26p6_to_dbl(vec.x);
161 y2 = int26p6_to_dbl(vec.y);
173 v_middle.x = (v_control.x + vec.x) / 2;
174 v_middle.y = (v_control.y + vec.y) / 2;
191 v_control = vec;
227 FT_Vector vec; local
229 vec
[all...]
/haiku/headers/build/os/drivers/
H A DDrivers.h32 typedef status_t (*device_read_pages_hook)(void *cookie, off_t position, const iovec *vec,
34 typedef status_t (*device_write_pages_hook) (void *cookie, off_t position, const iovec *vec,
/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/src/add-ons/kernel/network/stack/
H A Dstack_interface.cpp86 iovec vec = { data, length }; local
92 message.msg_iov = &vec;
135 iovec vec = { (void*)data, length }; local
138 message.msg_iov = &vec;
/haiku/src/libs/agg/font_freetype/
H A Dagg_font_freetype.cpp246 FT_Vector vec; local
253 vec.x = point->x;
254 vec.y = point->y;
260 x2 = int26p6_to_dbl(vec.x);
261 y2 = int26p6_to_dbl(vec.y);
274 v_middle.x = (v_control.x + vec.x) / 2;
275 v_middle.y = (v_control.y + vec.y) / 2;
294 v_control = vec;
336 FT_Vector vec; local
338 vec
[all...]
/haiku/src/system/kernel/cache/
H A Dfile_cache.cpp469 generic_io_vec vec;
470 vec.base = buffer;
471 vec.length = bufferSize;
479 &vec, 1, 0, &toRead);
656 generic_io_vec vec; local
657 vec.base = buffer;
658 vec.length = bufferSize;
661 &vec, 1, 0, &toWrite);
1290 generic_io_vec vec; local
1291 vec
1317 generic_io_vec vec; local
[all...]
/haiku/headers/build/
H A DBeOSBuildCompatibility.h73 extern ssize_t readv_pos(int fd, off_t pos, const struct iovec* vec,
75 extern ssize_t writev_pos(int fd, off_t pos, const struct iovec* vec,
/haiku/src/system/kernel/fs/
H A Dvfs_request_io.cpp118 iovec vec; local
119 vec.iov_base = buffer;
120 vec.iov_len = *length;
123 return FS_CALL(fVnode, write_pages, fCookie, offset, &vec, 1,
127 return FS_CALL(fVnode, read_pages, fCookie, offset, &vec, 1, length);
176 TRACE_RIO("[%ld] vec %lu offset: %lld, length: %lld\n",
/haiku/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp190 const generic_io_vec& vec = operation->Vecs()[i]; local
191 generic_addr_t base = vec.base;
192 generic_size_t length = vec.length;
597 const generic_io_vec& vec = buffer->VecAt(i); local
599 if (target.length != vec.length)
613 if (address != vec.base) {
615 ", should be %#" B_PRIuGENADDR "", i, vec.base, address);
/haiku/src/add-ons/kernel/file_systems/googlefs/
H A Dfsproto.h102 typedef int op_readv(void *ns, void *node, void *cookie, off_t pos, const iovec *vec,
104 typedef int op_writev(void *ns, void *node, void *cookie, off_t pos, const iovec *vec,
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dfsproto.h99 typedef int op_readv(void *ns, void *node, void *cookie, off_t pos, const iovec *vec,
101 typedef int op_writev(void *ns, void *node, void *cookie, off_t pos, const iovec *vec,
/haiku/src/add-ons/kernel/drivers/network/tun/
H A Ddriver.c353 tun_readv(cookie_t *cookie, off_t position, const iovec *vec, size_t count, size_t *numBytes) argument
361 tun_writev(cookie_t *cookie, off_t position, const iovec *vec, size_t count, size_t *numBytes) argument
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_interface.h121 const beos_iovec *vec, size_t count, size_t *len);
123 const beos_iovec *vec, size_t count, size_t *len);

Completed in 501 milliseconds

12