Home
last modified time | relevance | path

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

12345678910>>...15

/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/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/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/virglrenderer/src/
Dvrend_iov.h32 struct iovec { struct
40 size_t vrend_get_iovec_size(const struct iovec *iov, int iovlen); argument
41 size_t vrend_read_from_iovec(const struct iovec *iov, int iov_cnt,
43 size_t vrend_write_to_iovec(const struct iovec *iov, int iov_cnt,
46 size_t vrend_read_from_iovec_cb(const struct iovec *iov, int iov_cnt,
Dvirglrenderer.c61 int virgl_renderer_resource_create(struct virgl_renderer_resource_create_args *args, struct iovec *… in virgl_renderer_resource_create()
110 struct iovec *iovec, in virgl_renderer_transfer_write_iov() argument
122 transfer_info.iovec = iovec; in virgl_renderer_transfer_write_iov()
132 uint64_t offset, struct iovec *iovec, in virgl_renderer_transfer_read_iov() argument
144 transfer_info.iovec = iovec; in virgl_renderer_transfer_read_iov()
150 int virgl_renderer_resource_attach_iov(int res_handle, struct iovec *iov, in virgl_renderer_resource_attach_iov()
156 void virgl_renderer_resource_detach_iov(int res_handle, struct iovec **iov_p, int *num_iovs_p) in virgl_renderer_resource_detach_iov()
200 void virgl_renderer_get_rect(int resource_id, struct iovec *iov, unsigned int num_iovs, in virgl_renderer_get_rect()
Dvirglrenderer.h34 struct iovec;
78 VIRGL_EXPORT void virgl_renderer_get_rect(int resource_id, struct iovec *iov, unsigned int num_iovs,
114 …_resource_create(struct virgl_renderer_resource_create_args *args, struct iovec *iov, uint32_t num…
129 uint64_t offset, struct iovec *iov,
139 struct iovec *iovec,
148 VIRGL_EXPORT int virgl_renderer_resource_attach_iov(int res_handle, struct iovec *iov,
150 VIRGL_EXPORT void virgl_renderer_resource_detach_iov(int res_handle, struct iovec **iov, int *num_i…
/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()
Dpreadv2-pwritev2.c44 pr(const int fd, const struct iovec *const vec, in pr()
51 pw(const int fd, const struct iovec *const vec, in pw()
87 const struct iovec w_iov_[] = { in dumpio()
99 const struct iovec *w_iov = tail_memdup(w_iov_, sizeof(w_iov_)); in dumpio()
136 const struct iovec r0_iov_[] = { in dumpio()
142 const struct iovec *r_iov = tail_memdup(r0_iov_, sizeof(r0_iov_)); in dumpio()
156 const struct iovec r1_iov_[] = { in dumpio()
/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()
Dpreadv2-pwritev2.c44 pr(const int fd, const struct iovec *const vec, in pr()
51 pw(const int fd, const struct iovec *const vec, in pw()
87 const struct iovec w_iov_[] = { in dumpio()
99 const struct iovec *w_iov = tail_memdup(w_iov_, sizeof(w_iov_)); in dumpio()
136 const struct iovec r0_iov_[] = { in dumpio()
142 const struct iovec *r_iov = tail_memdup(r0_iov_, sizeof(r0_iov_)); in dumpio()
156 const struct iovec r1_iov_[] = { in dumpio()
/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()
Dpreadv2-pwritev2.c44 pr(const int fd, const struct iovec *const vec, in pr()
51 pw(const int fd, const struct iovec *const vec, in pw()
87 const struct iovec w_iov_[] = { in dumpio()
99 const struct iovec *w_iov = tail_memdup(w_iov_, sizeof(w_iov_)); in dumpio()
136 const struct iovec r0_iov_[] = { in dumpio()
142 const struct iovec *r_iov = tail_memdup(r0_iov_, sizeof(r0_iov_)); in dumpio()
156 const struct iovec r1_iov_[] = { in dumpio()
/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);
/external/openssh/
Datomicio.h46 atomiciov6(ssize_t (*f) (int, const struct iovec *, int), int fd,
47 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
48 size_t atomiciov(ssize_t (*)(int, const struct iovec *, int),
49 int, const struct iovec *, int);
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace.h104 struct iovec iov; in ptrace_read_regs()
124 struct iovec iov; in ptrace_write_regs()
142 struct iovec iov; in show_tar_registers()
188 struct iovec iov; in write_tar_registers()
231 struct iovec iov; in show_tm_checkpointed_state()
279 struct iovec iov; in write_ckpt_tar_registers()
366 struct iovec iov; in show_ckpt_fpr()
390 struct iovec iov; in write_ckpt_fpr()
471 struct iovec iov; in show_ckpt_gpr()
500 struct iovec iov; in write_ckpt_gpr()
[all …]

12345678910>>...15