Home
last modified time | relevance | path

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

12345678910>>...18

/external/virglrenderer/src/
Dvrend_iov.h34 struct iovec { struct
45 const struct iovec *iovec; member
53 size_t vrend_get_iovec_size(const struct iovec *iov, int iovlen);
54 size_t vrend_read_from_iovec(const struct iovec *iov, int iov_cnt,
56 size_t vrend_write_to_iovec(const struct iovec *iov, int iov_cnt,
59 size_t vrend_read_from_iovec_cb(const struct iovec *iov, int iov_cnt,
62 int vrend_copy_iovec(const struct iovec *src_iov, int src_iovlen, size_t src_offset,
63 const struct iovec *dst_iov, int dst_iovlen, size_t dst_offset,
Dvirgl_resource.h30 struct iovec;
66 const struct iovec *iov;
80 const struct iovec *iov,
102 const struct iovec *iov,
109 const struct iovec *iov,
114 const struct iovec *iov,
125 const struct iovec *iov,
/external/grpc-grpc/src/core/tsi/alts/crypt/
Dgsec.h30 struct iovec { struct
144 const struct iovec* aad_vec, size_t aad_vec_length,
145 const struct iovec* plaintext_vec, size_t plaintext_vec_length,
146 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written,
150 const struct iovec* aad_vec, size_t aad_vec_length,
151 const struct iovec* ciphertext_vec, size_t ciphertext_vec_length,
152 struct iovec plaintext_vec, size_t* plaintext_bytes_written,
245 const struct iovec* aad_vec, size_t aad_vec_length,
246 const struct iovec* plaintext_vec, size_t plaintext_vec_length,
247 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written,
[all …]
Dgsec.cc46 struct iovec aad_vec = {(void*)aad, aad_length}; in gsec_aead_crypter_encrypt()
47 struct iovec plaintext_vec = {(void*)plaintext, plaintext_length}; in gsec_aead_crypter_encrypt()
48 struct iovec ciphertext_vec = {ciphertext_and_tag, in gsec_aead_crypter_encrypt()
61 const struct iovec* aad_vec, size_t aad_vec_length, in gsec_aead_crypter_encrypt_iovec()
62 const struct iovec* plaintext_vec, size_t plaintext_vec_length, in gsec_aead_crypter_encrypt_iovec()
63 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written, in gsec_aead_crypter_encrypt_iovec()
84 struct iovec aad_vec = {(void*)aad, aad_length}; in gsec_aead_crypter_decrypt()
85 struct iovec ciphertext_vec = {(void*)ciphertext_and_tag, in gsec_aead_crypter_decrypt()
87 struct iovec plaintext_vec = {plaintext, plaintext_length}; in gsec_aead_crypter_decrypt()
99 const struct iovec* aad_vec, size_t aad_vec_length, in gsec_aead_crypter_decrypt_iovec()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/crypt/
Dgsec.h30 struct iovec { struct
144 const struct iovec* aad_vec, size_t aad_vec_length,
145 const struct iovec* plaintext_vec, size_t plaintext_vec_length,
146 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written,
150 const struct iovec* aad_vec, size_t aad_vec_length,
151 const struct iovec* ciphertext_vec, size_t ciphertext_vec_length,
152 struct iovec plaintext_vec, size_t* plaintext_bytes_written,
245 const struct iovec* aad_vec, size_t aad_vec_length,
246 const struct iovec* plaintext_vec, size_t plaintext_vec_length,
247 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written,
[all …]
Dgsec.cc46 struct iovec aad_vec = {const_cast<uint8_t*>(aad), aad_length}; in gsec_aead_crypter_encrypt()
47 struct iovec plaintext_vec = {const_cast<uint8_t*>(plaintext), in gsec_aead_crypter_encrypt()
49 struct iovec ciphertext_vec = {ciphertext_and_tag, in gsec_aead_crypter_encrypt()
62 const struct iovec* aad_vec, size_t aad_vec_length, in gsec_aead_crypter_encrypt_iovec()
63 const struct iovec* plaintext_vec, size_t plaintext_vec_length, in gsec_aead_crypter_encrypt_iovec()
64 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written, in gsec_aead_crypter_encrypt_iovec()
85 struct iovec aad_vec = {const_cast<uint8_t*>(aad), aad_length}; in gsec_aead_crypter_decrypt()
86 struct iovec ciphertext_vec = {const_cast<uint8_t*>(ciphertext_and_tag), in gsec_aead_crypter_decrypt()
88 struct iovec plaintext_vec = {plaintext, plaintext_length}; in gsec_aead_crypter_decrypt()
100 const struct iovec* aad_vec, size_t aad_vec_length, in gsec_aead_crypter_decrypt_iovec()
[all …]
/external/elfutils/backends/
Daarch64_initreg.c60 struct iovec iovec; in aarch64_set_initial_registers_tid()
61 iovec.iov_base = &gregs; in aarch64_set_initial_registers_tid()
62 iovec.iov_len = sizeof (gregs); in aarch64_set_initial_registers_tid()
63 if (ptrace (PTRACE_GETREGSET, tid, NT_PRSTATUS, &iovec) != 0) in aarch64_set_initial_registers_tid()
78 iovec.iov_base = &fregs; in aarch64_set_initial_registers_tid()
79 iovec.iov_len = sizeof (fregs); in aarch64_set_initial_registers_tid()
80 if (ptrace (PTRACE_GETREGSET, tid, NT_FPREGSET, &iovec) != 0) in aarch64_set_initial_registers_tid()
Driscv_initreg.c54 struct iovec iovec; in riscv_set_initial_registers_tid()
55 iovec.iov_base = &gregs; in riscv_set_initial_registers_tid()
56 iovec.iov_len = sizeof (gregs); in riscv_set_initial_registers_tid()
57 if (ptrace (PTRACE_GETREGSET, tid, NT_PRSTATUS, &iovec) != 0) in riscv_set_initial_registers_tid()
Darm_initreg.c77 struct iovec iovec; in arm_set_initial_registers_tid()
78 iovec.iov_base = &gregs; in arm_set_initial_registers_tid()
79 iovec.iov_len = sizeof (gregs); in arm_set_initial_registers_tid()
80 if (ptrace (PTRACE_GETREGSET, tid, NT_PRSTATUS, &iovec) != 0) in arm_set_initial_registers_tid()
Dcsky_initreg.c53 struct iovec iovec; in csky_set_initial_registers_tid()
54 iovec.iov_base = &user_regs; in csky_set_initial_registers_tid()
55 iovec.iov_len = sizeof (user_regs); in csky_set_initial_registers_tid()
56 if (ptrace (PTRACE_GETREGSET, tid, NT_PRSTATUS, &iovec) != 0) in csky_set_initial_registers_tid()
/external/crosvm/data_model/src/
Dsys.rs10 use libc::iovec;
19 iov: iovec,
38 iov: iovec { in from_raw_parts()
71 pub fn as_iobufs<'slice>(iovs: &'slice [IoBufMut<'_>]) -> &'slice [iovec] { in as_iobufs() argument
73 unsafe { slice::from_raw_parts(iovs.as_ptr() as *const libc::iovec, iovs.len()) } in as_iobufs()
77 impl<'a> AsRef<libc::iovec> for IoBufMut<'a> {
78 fn as_ref(&self) -> &libc::iovec { in as_ref() argument
83 impl<'a> AsMut<libc::iovec> for IoBufMut<'a> {
84 fn as_mut(&mut self) -> &mut libc::iovec { in as_mut() argument
96 struct DebugIovec(iovec);
/external/crosvm/sys_util/src/
Dsock_ctrl_msg.rs17 c_long, c_void, cmsghdr, iovec, msghdr, recvmsg, sendmsg, MSG_NOSIGNAL, SCM_RIGHTS, SOL_SOCKET,
112 let iovec = AsIobuf::as_iobuf_slice(out_data); in raw_sendmsg() localVariable
117 msg_iov: iovec.as_ptr() as *mut iovec, in raw_sendmsg()
118 msg_iovlen: iovec.len(), in raw_sendmsg()
158 let iovec = iovec { in raw_recvmsg() localVariable
162 raw_recvmsg_iovecs(fd, &mut [iovec], in_fds) in raw_recvmsg()
167 iovecs: &mut [iovec], in raw_recvmsg_iovecs() argument
176 msg_iov: iovecs.as_mut_ptr() as *mut iovec, in raw_recvmsg_iovecs()
335 iovecs: &mut [iovec], in recv_iovecs_with_fds() argument
367 fn as_iobuf(&self) -> iovec; in as_iobuf() argument
[all …]
/external/ltp/lib/
Dtst_buffers.c88 struct iovec *tst_iovec_alloc(int sizes[]) in tst_iovec_alloc()
91 struct iovec *iovec; in tst_iovec_alloc() local
96 iovec = tst_alloc(sizeof(struct iovec) * cnt); in tst_iovec_alloc()
100 iovec[i].iov_base = tst_alloc(sizes[i]); in tst_iovec_alloc()
101 iovec[i].iov_len = sizes[i]; in tst_iovec_alloc()
103 iovec[i].iov_base = NULL; in tst_iovec_alloc()
104 iovec[i].iov_base = 0; in tst_iovec_alloc()
108 return iovec; in tst_iovec_alloc()
/external/rust/crates/nix/src/sys/
Duio.rs11 let res = unsafe { libc::writev(fd, iov.as_ptr() as *const libc::iovec, iov.len() as c_int) }; in writev()
17 let res = unsafe { libc::readv(fd, iov.as_ptr() as *const libc::iovec, iov.len() as c_int) }; in readv()
36 libc::pwritev(fd, iov.as_ptr() as *const libc::iovec, iov.len() as c_int, offset) in pwritev()
57 libc::preadv(fd, iov.as_ptr() as *const libc::iovec, iov.len() as c_int, offset) in preadv()
127 … local_iov.as_ptr() as *const libc::iovec, local_iov.len() as libc::c_ulong, in process_vm_writev()
128 … remote_iov.as_ptr() as *const libc::iovec, remote_iov.len() as libc::c_ulong, 0) in process_vm_writev()
162 … local_iov.as_ptr() as *const libc::iovec, local_iov.len() as libc::c_ulong, in process_vm_readv()
163 … remote_iov.as_ptr() as *const libc::iovec, remote_iov.len() as libc::c_ulong, 0) in process_vm_readv()
171 pub struct IoVec<T>(libc::iovec, PhantomData<T>);
188 IoVec(libc::iovec { in from_slice()
[all …]
/external/openssh/
Datomicio.h32 struct iovec;
48 atomiciov6(ssize_t (*f) (int, const struct iovec *, int), int fd,
49 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
50 size_t atomiciov(ssize_t (*)(int, const struct iovec *, int),
51 int, const struct iovec *, int);
/external/strace/tests/
Dmmsg.c59 const struct iovec w0_iov_[] = { in main()
68 struct iovec *w0_iov = tail_memdup(w0_iov_, sizeof(w0_iov_)); in main()
70 const struct iovec w1_iov_[] = { in main()
76 struct iovec *w1_iov = tail_memdup(w1_iov_, sizeof(w1_iov_)); in main()
134 const struct iovec r0_iov_[] = { in main()
140 struct iovec *r0_iov = tail_memdup(r0_iov_, sizeof(r0_iov_)); in main()
141 const struct iovec r1_iov_[] = { in main()
151 struct iovec *r1_iov = tail_memdup(r1_iov_, sizeof(r1_iov_)); in main()
Dprocess_vm_readv_writev.c48 typedef void (*iov_print_fn)(const struct iovec *, const void *, long);
64 print_iov(const struct iovec *iov, const void *arg_ptr, long rc) in print_iov()
161 pr_iov((const struct iovec *) (uintptr_t) local_iov, local_arg, in do_call()
169 pr_iov((const struct iovec *) (uintptr_t) remote_iov, in do_call()
218 struct iovec bogus_iovec[] = { in main()
225 struct iovec out_iovec[] = { in main()
233 struct iovec in_iovec[] = { in main()
242 struct iovec *bogus_iov = tail_memdup(bogus_iovec, sizeof(bogus_iovec)); in main()
243 struct iovec *lcl_iov = tail_memdup(lcl_iovec, sizeof(lcl_iovec)); in main()
244 struct iovec *rmt_iov = tail_memdup(rmt_iovec, sizeof(rmt_iovec)); in main()
Dpreadv.c41 print_iov(const struct iovec *iov) in print_iov()
53 print_iovec(const struct iovec *iov, unsigned int cnt) in print_iovec()
70 TAIL_ALLOC_OBJECT_CONST_PTR(struct iovec, iov); in main()
113 const struct iovec r0_iov_[] = { in main()
119 const struct iovec *r_iov = tail_memdup(r0_iov_, sizeof(r0_iov_)); in main()
132 const struct iovec r1_iov_[] = { in main()
/external/strace/tests-mx32/
Dmmsg.c59 const struct iovec w0_iov_[] = { in main()
68 struct iovec *w0_iov = tail_memdup(w0_iov_, sizeof(w0_iov_)); in main()
70 const struct iovec w1_iov_[] = { in main()
76 struct iovec *w1_iov = tail_memdup(w1_iov_, sizeof(w1_iov_)); in main()
134 const struct iovec r0_iov_[] = { in main()
140 struct iovec *r0_iov = tail_memdup(r0_iov_, sizeof(r0_iov_)); in main()
141 const struct iovec r1_iov_[] = { in main()
151 struct iovec *r1_iov = tail_memdup(r1_iov_, sizeof(r1_iov_)); in main()
Dprocess_vm_readv_writev.c48 typedef void (*iov_print_fn)(const struct iovec *, const void *, long);
64 print_iov(const struct iovec *iov, const void *arg_ptr, long rc) in print_iov()
161 pr_iov((const struct iovec *) (uintptr_t) local_iov, local_arg, in do_call()
169 pr_iov((const struct iovec *) (uintptr_t) remote_iov, in do_call()
218 struct iovec bogus_iovec[] = { in main()
225 struct iovec out_iovec[] = { in main()
233 struct iovec in_iovec[] = { in main()
242 struct iovec *bogus_iov = tail_memdup(bogus_iovec, sizeof(bogus_iovec)); in main()
243 struct iovec *lcl_iov = tail_memdup(lcl_iovec, sizeof(lcl_iovec)); in main()
244 struct iovec *rmt_iov = tail_memdup(rmt_iovec, sizeof(rmt_iovec)); in main()
Dpreadv.c41 print_iov(const struct iovec *iov) in print_iov()
53 print_iovec(const struct iovec *iov, unsigned int cnt) in print_iovec()
70 TAIL_ALLOC_OBJECT_CONST_PTR(struct iovec, iov); in main()
113 const struct iovec r0_iov_[] = { in main()
119 const struct iovec *r_iov = tail_memdup(r0_iov_, sizeof(r0_iov_)); in main()
132 const struct iovec r1_iov_[] = { in main()
/external/strace/tests-m32/
Dmmsg.c59 const struct iovec w0_iov_[] = { in main()
68 struct iovec *w0_iov = tail_memdup(w0_iov_, sizeof(w0_iov_)); in main()
70 const struct iovec w1_iov_[] = { in main()
76 struct iovec *w1_iov = tail_memdup(w1_iov_, sizeof(w1_iov_)); in main()
134 const struct iovec r0_iov_[] = { in main()
140 struct iovec *r0_iov = tail_memdup(r0_iov_, sizeof(r0_iov_)); in main()
141 const struct iovec r1_iov_[] = { in main()
151 struct iovec *r1_iov = tail_memdup(r1_iov_, sizeof(r1_iov_)); in main()
Dprocess_vm_readv_writev.c48 typedef void (*iov_print_fn)(const struct iovec *, const void *, long);
64 print_iov(const struct iovec *iov, const void *arg_ptr, long rc) in print_iov()
161 pr_iov((const struct iovec *) (uintptr_t) local_iov, local_arg, in do_call()
169 pr_iov((const struct iovec *) (uintptr_t) remote_iov, in do_call()
218 struct iovec bogus_iovec[] = { in main()
225 struct iovec out_iovec[] = { in main()
233 struct iovec in_iovec[] = { in main()
242 struct iovec *bogus_iov = tail_memdup(bogus_iovec, sizeof(bogus_iovec)); in main()
243 struct iovec *lcl_iov = tail_memdup(lcl_iovec, sizeof(lcl_iovec)); in main()
244 struct iovec *rmt_iov = tail_memdup(rmt_iovec, sizeof(rmt_iovec)); in main()
Dpreadv.c41 print_iov(const struct iovec *iov) in print_iov()
53 print_iovec(const struct iovec *iov, unsigned int cnt) in print_iovec()
70 TAIL_ALLOC_OBJECT_CONST_PTR(struct iovec, iov); in main()
113 const struct iovec r0_iov_[] = { in main()
119 const struct iovec *r_iov = tail_memdup(r0_iov_, sizeof(r0_iov_)); in main()
132 const struct iovec r1_iov_[] = { in main()
/external/ltp/testcases/kernel/io/direct_io/
Ddiotest_routines.h1 struct iovec;
3 extern void vfillbuf(struct iovec *iv, int vcnt, char value);
6 extern int vbufcmp(struct iovec *iv1, struct iovec *iv2, int vcnt);

12345678910>>...18