/linux-6.12.1/tools/testing/selftests/arm64/fp/ |
D | fp-ptrace.c | 256 iov_parent.iov_base = &v_out; in read_child_regs() 258 iov_child.iov_base = &v_out; in read_child_regs() 263 iov_parent.iov_base = &sve_vl_out; in read_child_regs() 265 iov_child.iov_base = &sve_vl_out; in read_child_regs() 269 iov_parent.iov_base = &z_out; in read_child_regs() 271 iov_child.iov_base = &z_out; in read_child_regs() 275 iov_parent.iov_base = &p_out; in read_child_regs() 277 iov_child.iov_base = &p_out; in read_child_regs() 281 iov_parent.iov_base = &ffr_out; in read_child_regs() 283 iov_child.iov_base = &ffr_out; in read_child_regs() [all …]
|
/linux-6.12.1/tools/testing/vsock/ |
D | util.c | 552 memcpy(tmp + offs, iov[i].iov_base, iov[i].iov_len); in iovec_hash_djb2() 596 iovec[i].iov_base = mmap(NULL, iovec[i].iov_len, in alloc_test_iovec() 600 if (iovec[i].iov_base == MAP_FAILED) { in alloc_test_iovec() 605 if (test_iovec[i].iov_base != MAP_FAILED) in alloc_test_iovec() 606 iovec[i].iov_base += (uintptr_t)test_iovec[i].iov_base; in alloc_test_iovec() 611 if (test_iovec[i].iov_base == MAP_FAILED) { in alloc_test_iovec() 612 if (munmap(iovec[i].iov_base, iovec[i].iov_len)) { in alloc_test_iovec() 622 if (test_iovec[i].iov_base == MAP_FAILED) in alloc_test_iovec() 626 ((uint8_t *)iovec[i].iov_base)[j] = rand() & 0xff; in alloc_test_iovec() 641 if (test_iovec[i].iov_base != MAP_FAILED) { in free_test_iovec() [all …]
|
/linux-6.12.1/fs/smb/client/ |
D | smb2transport.c | 238 struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base; in smb2_calc_signature() 287 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature() 351 rc = crypto_shash_update(server->secmech.hmacsha256, label.iov_base, label.iov_len); in generate_key() 363 rc = crypto_shash_update(server->secmech.hmacsha256, context.iov_base, context.iov_len); in generate_key() 511 d->label.iov_base = "SMB2AESCMAC"; in generate_smb30signingkey() 513 d->context.iov_base = "SmbSign"; in generate_smb30signingkey() 517 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 519 d->context.iov_base = "ServerIn "; in generate_smb30signingkey() 523 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 525 d->context.iov_base = "ServerOut"; in generate_smb30signingkey() [all …]
|
D | smb2inode.c | 32 struct smb2_ioctl_rsp *io = iov->iov_base; in reparse_buf_ptr() 63 struct smb2_query_info_rsp *qi = rsp_iov->iov_base; in parse_posix_sids() 106 struct smb2_query_info_rsp *rsp = rsp_iov->iov_base; in check_wsl_eas() 118 ea = (void *)((u8 *)rsp_iov->iov_base + in check_wsl_eas() 120 end = (u8 *)rsp_iov->iov_base + rsp_iov->iov_len; in check_wsl_eas() 373 data[0] = in_iov[i].iov_base; in smb2_compound_op() 408 data[0] = in_iov[i].iov_base; in smb2_compound_op() 449 data[1] = in_iov[i].iov_base; in smb2_compound_op() 488 data[1] = in_iov[i].iov_base; in smb2_compound_op() 510 in_iov[i].iov_base, in smb2_compound_op() [all …]
|
D | smb2pdu.c | 1020 iov[num].iov_base = create_posix_buf(mode); in add_posix_context() 1023 if (iov[num].iov_base == NULL) in add_posix_context() 1127 iov[0].iov_base = (char *)req; in SMB2_negotiate() 1137 rsp = (struct smb2_negotiate_rsp *)rsp_iov.iov_base; in SMB2_negotiate() 1528 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer() 1546 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base) in SMB2_sess_free_buffer() 1547 memzero_explicit(iov[0].iov_base, iov[0].iov_len); in SMB2_sess_free_buffer() 1549 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base); in SMB2_sess_free_buffer() 1558 struct smb2_sess_setup_req *req = sess_data->iov[0].iov_base; in SMB2_sess_sendreceive() 1576 cifs_small_buf_release(sess_data->iov[0].iov_base); in SMB2_sess_sendreceive() [all …]
|
D | sess.c | 1328 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer() 1337 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer() 1338 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer() 1347 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer() 1362 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base) in sess_free_buffer() 1363 memzero_explicit(iov[0].iov_base, iov[0].iov_len); in sess_free_buffer() 1365 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base); in sess_free_buffer() 1367 kfree_sensitive(iov[2].iov_base); in sess_free_buffer() 1402 struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base; in sess_sendreceive() 1414 cifs_small_buf_release(sess_data->iov[0].iov_base); in sess_sendreceive() [all …]
|
D | transport.c | 327 .iov_base = &rfc1002_marker, in __smb_send_rqst() 347 dump_smb(iov[i].iov_base, iov[i].iov_len); in __smb_send_rqst() 456 iov->iov_base = &vars->tr_hdr; in smb_send_rqst() 481 iov[0].iov_base = smb_buffer; in smb_send() 483 iov[1].iov_base = (char *)smb_buffer + 4; in smb_send() 758 struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_setup_async_request() 762 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_setup_async_request() 880 iov[0].iov_base = in_buf; in SendReceiveNoRsp() 952 iov[0].iov_base = mid->resp_buf; in cifs_check_receive() 954 iov[1].iov_base = (char *)mid->resp_buf + 4; in cifs_check_receive() [all …]
|
D | cifsencrypt.c | 80 if (iov[i].iov_base == NULL) { in __cifs_calc_signature() 86 iov[i].iov_base, iov[i].iov_len); in __cifs_calc_signature() 146 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_sign_rqst() 149 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_sign_rqst() 199 iov[0].iov_base = cifs_pdu; in cifs_sign_smb() 201 iov[1].iov_base = (char *)cifs_pdu + 4; in cifs_sign_smb() 215 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_verify_signature() 218 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_verify_signature()
|
D | compress.c | 295 const struct smb2_hdr *shdr = rq->rq_iov->iov_base; in should_compress() 307 const struct smb2_write_req *wreq = rq->rq_iov->iov_base; in should_compress() 325 if (!server || !rq || !rq->rq_iov || !rq->rq_iov->iov_base) in smb_compress() 369 iov[0].iov_base = &hdr; in smb_compress() 372 iov[2].iov_base = dst; in smb_compress()
|
/linux-6.12.1/net/sunrpc/ |
D | xdr.c | 183 bvec_set_virt(bvec++, head->iov_base, head->iov_len); in xdr_buf_to_bvec() 205 bvec_set_virt(bvec, tail->iov_base, tail->iov_len); in xdr_buf_to_bvec() 232 char *buf = (char *)head->iov_base; in xdr_inline_pages() 241 tail->iov_base = buf + offset; in xdr_inline_pages() 481 memset(iov->iov_base + base, 0, len); in xdr_buf_iov_zero() 595 memmove(tail->iov_base + to, tail->iov_base + base, len); in xdr_buf_tail_copy_right() 625 _copy_from_pages(tail->iov_base + tato, buf->pages, in xdr_buf_pages_copy_right() 667 memcpy(tail->iov_base + tato, head->iov_base + base, talen); in xdr_buf_head_copy_right() 671 _copy_to_pages(buf->pages, buf->page_base + pgto, head->iov_base + base, in xdr_buf_head_copy_right() 675 memmove(head->iov_base + to, head->iov_base + base, len); in xdr_buf_head_copy_right() [all …]
|
/linux-6.12.1/net/ceph/ |
D | buffer.c | 20 b->vec.iov_base = kvmalloc(len, gfp); in ceph_buffer_new() 21 if (!b->vec.iov_base) { in ceph_buffer_new() 39 kvfree(b->vec.iov_base); in ceph_buffer_release() 55 ceph_decode_copy(p, (*b)->vec.iov_base, len); in ceph_decode_buffer()
|
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 113 iov.iov_base = regs; in ptrace_read_regs() 133 iov.iov_base = regs; in ptrace_write_regs() 155 iov.iov_base = (u64 *) reg; in show_tar_registers() 202 iov.iov_base = (u64 *) reg; in write_tar_registers() 245 iov.iov_base = (u64 *) reg; in show_tm_checkpointed_state() 293 iov.iov_base = (u64 *) reg; in write_ckpt_tar_registers() 374 iov.iov_base = regs; in show_ckpt_fpr() 398 iov.iov_base = regs; in write_ckpt_fpr() 548 iov.iov_base = (u64 *) regs; in show_ckpt_gpr() 576 iov.iov_base = (u64 *) regs; in write_ckpt_gpr() [all …]
|
/linux-6.12.1/fs/smb/server/ |
D | auth.c | 607 iov[i].iov_base, in ksmbd_sign_smb2_pdu() 658 iov[i].iov_base, in ksmbd_sign_smb3_pdu() 721 label.iov_base, in generate_key() 735 context.iov_base, in generate_key() 806 d.label.iov_base = "SMB2AESCMAC"; in ksmbd_gen_smb30_signingkey() 808 d.context.iov_base = "SmbSign"; in ksmbd_gen_smb30_signingkey() 820 d.label.iov_base = "SMBSigningKey"; in ksmbd_gen_smb311_signingkey() 828 d.context.iov_base = preauth_sess->Preauth_HashValue; in ksmbd_gen_smb311_signingkey() 830 d.context.iov_base = sess->Preauth_HashValue; in ksmbd_gen_smb311_signingkey() 888 d->label.iov_base = "SMB2AESCCM"; in ksmbd_gen_smb30_encryptionkey() [all …]
|
D | ksmbd_work.c | 104 work->iov[++work->iov_idx].iov_base = ib; in __ksmbd_iov_pin() 139 work->iov[work->iov_idx].iov_base = work->response_buf; in __ksmbd_iov_pin_rsp() 140 *(__be32 *)work->iov[0].iov_base = 0; in __ksmbd_iov_pin_rsp() 146 inc_rfc1001_len(work->iov[0].iov_base, len); in __ksmbd_iov_pin_rsp() 150 inc_rfc1001_len(work->iov[0].iov_base, aux_size); in __ksmbd_iov_pin_rsp()
|
/linux-6.12.1/tools/testing/selftests/user_events/ |
D | ftrace_test.c | 321 io[0].iov_base = ®.write_index; in TEST_F() 323 io[1].iov_base = &field1; in TEST_F() 325 io[2].iov_base = &field2; in TEST_F() 334 io[0].iov_base = &field2; in TEST_F() 338 io[0].iov_base = ®.write_index; in TEST_F() 375 io[0].iov_base = ®.write_index; in TEST_F() 412 io[0].iov_base = ®.write_index; in TEST_F() 414 io[1].iov_base = anon; in TEST_F() 452 io[0].iov_base = ®.write_index; in TEST_F() 454 io[1].iov_base = &loc; in TEST_F() [all …]
|
/linux-6.12.1/net/rxrpc/ |
D | output.c | 82 struct rxrpc_wire_header *whdr = txb->kvec[0].iov_base; in rxrpc_fill_out_ack() 83 struct rxrpc_acktrailer *trailer = txb->kvec[2].iov_base + 3; in rxrpc_fill_out_ack() 89 u8 *filler = txb->kvec[2].iov_base; in rxrpc_fill_out_ack() 90 u8 *sackp = txb->kvec[1].iov_base; in rxrpc_fill_out_ack() 117 txb->kvec[1].iov_base = sackp; in rxrpc_fill_out_ack() 180 struct rxrpc_wire_header *whdr = txb->kvec[0].iov_base; in rxrpc_send_ack_packet() 305 iov[0].iov_base = &pkt; in rxrpc_send_abort_packet() 330 struct rxrpc_wire_header *whdr = txb->kvec[0].iov_base; in rxrpc_prepare_data_subpacket() 434 struct rxrpc_wire_header *whdr = txb->kvec[0].iov_base; in rxrpc_send_data_packet() 555 iov[0].iov_base = &whdr; in rxrpc_send_conn_abort() [all …]
|
D | txbuf.c | 61 txb->kvec[0].iov_base = whdr; in rxrpc_alloc_data_txbuf() 134 txb->kvec[0].iov_base = whdr; in rxrpc_alloc_ack_txbuf() 136 txb->kvec[1].iov_base = buf2; in rxrpc_alloc_ack_txbuf() 138 txb->kvec[2].iov_base = filler; in rxrpc_alloc_ack_txbuf() 182 if (txb->kvec[i].iov_base) in rxrpc_free_txbuf() 183 page_frag_free(txb->kvec[i].iov_base); in rxrpc_free_txbuf()
|
/linux-6.12.1/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 581 p = buf->head[0].iov_base + base; in xdr_extend_head() 807 krb5_make_confounder(buf->head[0].iov_base + offset, conflen); in gss_krb5_aes_encrypt() 810 if (buf->tail[0].iov_base != NULL) { in gss_krb5_aes_encrypt() 811 ecptr = buf->tail[0].iov_base + buf->tail[0].iov_len; in gss_krb5_aes_encrypt() 813 buf->tail[0].iov_base = buf->head[0].iov_base in gss_krb5_aes_encrypt() 816 ecptr = buf->tail[0].iov_base; in gss_krb5_aes_encrypt() 820 memcpy(ecptr, buf->head[0].iov_base + offset, GSS_KRB5_TOK_HDR_LEN); in gss_krb5_aes_encrypt() 825 hmac.data = buf->tail[0].iov_base + buf->tail[0].iov_len; in gss_krb5_aes_encrypt() 1036 krb5_make_confounder(buf->head[0].iov_base + offset, conflen); in krb5_etm_encrypt() 1039 if (buf->tail[0].iov_base) { in krb5_etm_encrypt() [all …]
|
/linux-6.12.1/drivers/usb/usbip/ |
D | stub_tx.c | 217 iov[iovnum].iov_base = &pdu_header; in stub_send_ret_submit() 230 iov[iovnum].iov_base = in stub_send_ret_submit() 253 iov[iovnum].iov_base = sg_virt(sg); in stub_send_ret_submit() 260 iov[iovnum].iov_base = urb->transfer_buffer; in stub_send_ret_submit() 278 iov[iovnum].iov_base = urb->transfer_buffer + in stub_send_ret_submit() 310 iov[iovnum].iov_base = iso_buffer; in stub_send_ret_submit() 387 iov[0].iov_base = &pdu_header; in stub_send_ret_unlink()
|
D | vhci_tx.c | 99 iov[iovnum].iov_base = &pdu_header; in vhci_send_cmd_submit() 109 iov[iovnum].iov_base = sg_virt(sg); in vhci_send_cmd_submit() 114 iov[iovnum].iov_base = urb->transfer_buffer; in vhci_send_cmd_submit() 133 iov[iovnum].iov_base = iso_buffer; in vhci_send_cmd_submit() 215 iov.iov_base = &pdu_header; in vhci_send_cmd_unlink()
|
D | vudc_tx.c | 56 iov[0].iov_base = &pdu_header; in v_send_ret_unlink() 114 iov[iovnum].iov_base = &pdu_header; in v_send_ret_submit() 122 iov[iovnum].iov_base = urb->transfer_buffer; in v_send_ret_submit() 132 iov[iovnum].iov_base = urb->transfer_buffer + in v_send_ret_submit() 160 iov[iovnum].iov_base = iso_buffer; in v_send_ret_submit()
|
/linux-6.12.1/arch/x86/um/os-Linux/ |
D | registers.c | 35 iov.iov_base = fp_regs; in save_fp_registers() 57 iov.iov_base = fp_regs; in restore_fp_registers() 136 iov.iov_base = fp_regs; in arch_init_registers()
|
/linux-6.12.1/fs/nfsd/ |
D | nfscache.c | 116 kfree(rp->c_replvec.iov_base); in nfsd_cacherep_free() 139 if (rp->c_type == RC_REPLBUFF && rp->c_replvec.iov_base) in nfsd_cacherep_unlink_locked() 382 csum = csum_partial(subbuf.head[0].iov_base, len, csum); in nfsd_cache_csum() 599 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update() 617 cachv->iov_base = kmalloc(bufsize, GFP_KERNEL); in nfsd_cache_update() 618 if (!cachv->iov_base) { in nfsd_cache_update() 623 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update() 647 memcpy(p, data->iov_base, data->iov_len); in nfsd_cache_append()
|
/linux-6.12.1/samples/user_events/ |
D | example.c | 51 io[0].iov_base = &write; in main() 53 io[1].iov_base = &count; in main()
|
/linux-6.12.1/fs/fuse/ |
D | ioctl.c | 57 dst[i].iov_base = compat_ptr(ciov[i].iov_base); in fuse_copy_ioctl_iovec_old() 107 dst[i].iov_base = (void __user *) (unsigned long) fiov[i].base; in fuse_copy_ioctl_iovec() 112 (ptr_to_compat(dst[i].iov_base) != fiov[i].base || in fuse_copy_ioctl_iovec() 155 iov->iov_base = u64_to_user_ptr(enable.salt_ptr); in fuse_setup_enable_verity() 163 iov->iov_base = u64_to_user_ptr(enable.sig_ptr); in fuse_setup_enable_verity() 266 iov->iov_base = (void __user *)arg; in fuse_do_ioctl()
|