/linux-6.6.21/net/sunrpc/ |
D | xdr.c | 182 if (head->iov_len) { in xdr_buf_to_bvec() 183 bvec_set_virt(bvec++, head->iov_base, head->iov_len); in xdr_buf_to_bvec() 204 if (tail->iov_len) { in xdr_buf_to_bvec() 205 bvec_set_virt(bvec, tail->iov_base, tail->iov_len); in xdr_buf_to_bvec() 233 unsigned int buflen = head->iov_len; in xdr_inline_pages() 235 head->iov_len = offset; in xdr_inline_pages() 242 tail->iov_len = buflen - offset; in xdr_inline_pages() 477 if (base >= iov->iov_len) in xdr_buf_iov_zero() 479 if (len > iov->iov_len - base) in xdr_buf_iov_zero() 480 len = iov->iov_len - base; in xdr_buf_iov_zero() [all …]
|
D | socklib.c | 97 len = xdr->head[0].iov_len; in xdr_partial_copy_from_skb() 155 len = xdr->tail[0].iov_len; in xdr_partial_copy_from_skb() 217 iov_iter_kvec(&msg->msg_iter, ITER_SOURCE, vec, 1, vec->iov_len); in xprt_send_kvec() 241 .iov_len = sizeof(marker) in xprt_send_rm_and_kvec() 245 size_t len = iov[0].iov_len + iov[1].iov_len; in xprt_send_rm_and_kvec() 279 want = xdr->head[0].iov_len + rmsize; in xprt_sock_sendmsg() 314 if (base >= xdr->tail[0].iov_len) in xprt_sock_sendmsg()
|
/linux-6.6.21/tools/testing/selftests/arm64/abi/ |
D | ptrace.c | 44 read_iov.iov_len = sizeof(uint64_t); in test_tpidr() 49 write_iov.iov_len = sizeof(uint64_t); in test_tpidr() 60 read_iov.iov_len = sizeof(read_val); in test_tpidr() 64 if (read_iov.iov_len >= sizeof(read_val)) in test_tpidr() 70 ksft_test_result(read_iov.iov_len % sizeof(uint64_t) == 0, in test_tpidr() 79 write_iov.iov_len = sizeof(write_val); in test_tpidr() 85 write_iov.iov_len == sizeof(write_val), in test_tpidr() 89 read_iov.iov_len = sizeof(read_val); in test_tpidr() 95 read_iov.iov_len >= sizeof(read_val) && in test_tpidr() 102 read_iov.iov_len >= sizeof(read_val) && in test_tpidr() [all …]
|
/linux-6.6.21/net/rxrpc/ |
D | rxperf.c | 53 size_t iov_len; member 156 call->iov_len = sizeof(call->params); in rxperf_charge_preallocation() 157 call->kvec[0].iov_len = sizeof(call->params); in rxperf_charge_preallocation() 159 iov_iter_kvec(&call->iter, READ, call->kvec, 1, call->iov_len); in rxperf_charge_preallocation() 360 &call->iov_len, want_more, &remote_abort, in rxperf_extract_data() 363 iov_iter_count(&call->iter), call->iov_len, want_more, ret); in rxperf_extract_data() 411 call->iov_len = 4; /* Expect req size */ in rxperf_deliver_param_block() 416 call->iov_len = 4; /* Expect reply size */ in rxperf_deliver_param_block() 420 call->iov_len = 8; /* Expect req size and reply size */ in rxperf_deliver_param_block() 442 call->kvec[0].iov_len = call->iov_len; in rxperf_deliver_request() [all …]
|
D | local_event.c | 69 iov[0].iov_len = sizeof(whdr); in rxrpc_send_version_request() 71 iov[1].iov_len = sizeof(rxrpc_version_string); in rxrpc_send_version_request() 73 len = iov[0].iov_len + iov[1].iov_len; in rxrpc_send_version_request()
|
D | output.c | 216 iov[0].iov_len = sizeof(txb->wire) + sizeof(txb->ack) + n; in rxrpc_send_ack_packet() 217 len = iov[0].iov_len; in rxrpc_send_ack_packet() 303 iov[0].iov_len = sizeof(pkt); in rxrpc_send_abort_packet() 345 iov[0].iov_len = sizeof(txb->wire) + txb->len; in rxrpc_send_data_packet() 346 len = iov[0].iov_len; in rxrpc_send_data_packet() 555 iov[0].iov_len = sizeof(whdr); in rxrpc_send_conn_abort() 557 iov[1].iov_len = sizeof(word); in rxrpc_send_conn_abort() 559 len = iov[0].iov_len + iov[1].iov_len; in rxrpc_send_conn_abort() 595 iov[0].iov_len = sizeof(whdr); in rxrpc_reject_packet() 597 iov[1].iov_len = sizeof(code); in rxrpc_reject_packet() [all …]
|
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 114 iov.iov_len = n * sizeof(unsigned long); in ptrace_read_regs() 134 iov.iov_len = n * sizeof(unsigned long); in ptrace_write_regs() 156 iov.iov_len = sizeof(unsigned long); in show_tar_registers() 203 iov.iov_len = sizeof(unsigned long); in write_tar_registers() 246 iov.iov_len = sizeof(unsigned long); in show_tm_checkpointed_state() 294 iov.iov_len = sizeof(unsigned long); in write_ckpt_tar_registers() 375 iov.iov_len = sizeof(struct fpr_regs); in show_ckpt_fpr() 399 iov.iov_len = sizeof(struct fpr_regs); in write_ckpt_fpr() 549 iov.iov_len = sizeof(struct pt_regs); in show_ckpt_gpr() 577 iov.iov_len = sizeof(struct pt_regs); in write_ckpt_gpr() [all …]
|
/linux-6.6.21/fs/smb/client/ |
D | smb2transport.c | 284 if (drqst.rq_nvec >= 2 && iov[0].iov_len == 4) { in smb2_calc_signature() 286 iov[0].iov_len); in smb2_calc_signature() 349 rc = crypto_shash_update(server->secmech.hmacsha256, label.iov_base, label.iov_len); in generate_key() 361 rc = crypto_shash_update(server->secmech.hmacsha256, context.iov_base, context.iov_len); in generate_key() 510 d->label.iov_len = 12; in generate_smb30signingkey() 512 d->context.iov_len = 8; in generate_smb30signingkey() 516 d->label.iov_len = 11; in generate_smb30signingkey() 518 d->context.iov_len = 10; in generate_smb30signingkey() 522 d->label.iov_len = 11; in generate_smb30signingkey() 524 d->context.iov_len = 10; in generate_smb30signingkey() [all …]
|
D | transport.c | 255 rqst->rq_iov[0].iov_len == 4) { in smb_rqst_len() 265 buflen += iov[i].iov_len; in smb_rqst_len() 327 .iov_len = 4 in __smb_send_rqst() 346 dump_smb(iov[i].iov_base, iov[i].iov_len); in __smb_send_rqst() 347 size += iov[i].iov_len; in __smb_send_rqst() 453 iov->iov_len = sizeof(vars->tr_hdr); in smb_send_rqst() 478 iov[0].iov_len = 4; in smb_send() 480 iov[1].iov_len = smb_buf_length; in smb_send() 757 if (rqst->rq_iov[0].iov_len != 4 || in cifs_setup_async_request() 877 iov[0].iov_len = get_rfc1002_length(in_buf) + 4; in SendReceiveNoRsp() [all …]
|
D | smb2file.c | 38 if (le32_to_cpu(err->ByteCount) < len || iov->iov_len < len + sizeof(*err) + 1) in symlink_data() 42 end = (struct smb2_error_context_rsp *)((u8 *)err + iov->iov_len); in symlink_data() 55 iov->iov_len >= SMB2_SYMLINK_STRUCT_SIZE) { in symlink_data() 73 if (!cifs_sb || !iov || !iov->iov_base || !iov->iov_len || !path) in smb2_parse_symlink_response() 85 if (iov->iov_len < SMB2_SYMLINK_STRUCT_SIZE + sub_offs + sub_len || in smb2_parse_symlink_response() 86 iov->iov_len < SMB2_SYMLINK_STRUCT_SIZE + print_offs + print_len) in smb2_parse_symlink_response()
|
/linux-6.6.21/mm/ |
D | process_vm_access.c | 163 ssize_t iov_len; in process_vm_rw_core() local 171 iov_len = rvec[i].iov_len; in process_vm_rw_core() 172 if (iov_len > 0) { in process_vm_rw_core() 174 + iov_len) in process_vm_rw_core() 216 (unsigned long)rvec[i].iov_base, rvec[i].iov_len, in process_vm_rw_core()
|
/linux-6.6.21/tools/testing/selftests/user_events/ |
D | ftrace_test.c | 314 io[0].iov_len = sizeof(reg.write_index); in TEST_F() 316 io[1].iov_len = sizeof(field1); in TEST_F() 318 io[2].iov_len = sizeof(field2); in TEST_F() 327 io[0].iov_len = sizeof(field2); in TEST_F() 331 io[0].iov_len = sizeof(reg.write_index); in TEST_F() 368 io[0].iov_len = sizeof(reg.write_index); in TEST_F() 405 io[0].iov_len = sizeof(reg.write_index); in TEST_F() 407 io[1].iov_len = l; in TEST_F() 445 io[0].iov_len = sizeof(reg.write_index); in TEST_F() 447 io[1].iov_len = sizeof(loc); in TEST_F() [all …]
|
/linux-6.6.21/fs/smb/server/ |
D | auth.c | 602 iov[i].iov_len); in ksmbd_sign_smb2_pdu() 653 iov[i].iov_len); in ksmbd_sign_smb3_pdu() 716 label.iov_len); in generate_key() 730 context.iov_len); in generate_key() 801 d.label.iov_len = 12; in ksmbd_gen_smb30_signingkey() 803 d.context.iov_len = 8; in ksmbd_gen_smb30_signingkey() 815 d.label.iov_len = 14; in ksmbd_gen_smb311_signingkey() 826 d.context.iov_len = 64; in ksmbd_gen_smb311_signingkey() 883 d->label.iov_len = 11; in ksmbd_gen_smb30_encryptionkey() 885 d->context.iov_len = 10; in ksmbd_gen_smb30_encryptionkey() [all …]
|
/linux-6.6.21/arch/arm64/kernel/ |
D | mte.c | 397 size_t len = kiov->iov_len; in __access_remote_tags() 457 kiov->iov_len = buf - kiov->iov_base; in __access_remote_tags() 458 if (!kiov->iov_len) { in __access_remote_tags() 508 get_user(kiov.iov_len, &uiov->iov_len)) in mte_ptrace_copy_tags() 519 ret = put_user(kiov.iov_len, &uiov->iov_len); in mte_ptrace_copy_tags()
|
/linux-6.6.21/drivers/usb/usbip/ |
D | vhci_tx.c | 100 iov[iovnum].iov_len = sizeof(pdu_header); in vhci_send_cmd_submit() 110 iov[iovnum].iov_len = sg->length; in vhci_send_cmd_submit() 115 iov[iovnum].iov_len = in vhci_send_cmd_submit() 134 iov[iovnum].iov_len = len; in vhci_send_cmd_submit() 216 iov.iov_len = sizeof(pdu_header); in vhci_send_cmd_unlink()
|
D | stub_tx.c | 218 iov[iovnum].iov_len = sizeof(pdu_header); in stub_send_ret_submit() 232 iov[iovnum].iov_len = in stub_send_ret_submit() 254 iov[iovnum].iov_len = size; in stub_send_ret_submit() 261 iov[iovnum].iov_len = urb->actual_length; in stub_send_ret_submit() 280 iov[iovnum].iov_len = in stub_send_ret_submit() 311 iov[iovnum].iov_len = len; in stub_send_ret_submit() 388 iov[0].iov_len = sizeof(pdu_header); in stub_send_ret_unlink()
|
D | vudc_tx.c | 57 iov[0].iov_len = sizeof(pdu_header); in v_send_ret_unlink() 115 iov[iovnum].iov_len = sizeof(pdu_header); in v_send_ret_submit() 123 iov[iovnum].iov_len = urb->actual_length; in v_send_ret_submit() 134 iov[iovnum].iov_len = in v_send_ret_submit() 161 iov[iovnum].iov_len = len; in v_send_ret_submit()
|
/linux-6.6.21/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 396 page_pos = desc->pos - outbuf->head[0].iov_len; in encryptor() 583 memmove(p + shiftlen, p, buf->head[0].iov_len - base); in xdr_extend_head() 585 buf->head[0].iov_len += shiftlen; in xdr_extend_head() 811 ecptr = buf->tail[0].iov_base + buf->tail[0].iov_len; in gss_krb5_aes_encrypt() 814 + buf->head[0].iov_len; in gss_krb5_aes_encrypt() 815 buf->tail[0].iov_len = 0; in gss_krb5_aes_encrypt() 821 buf->tail[0].iov_len += 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() 850 buf->tail[0].iov_len += kctx->gk5e->cksumlength; in gss_krb5_aes_encrypt() 1040 ecptr = buf->tail[0].iov_base + buf->tail[0].iov_len; in krb5_etm_encrypt() [all …]
|
/linux-6.6.21/drivers/net/ethernet/google/gve/ |
D | gve_tx.c | 106 iov[0].iov_len = bytes; in gve_tx_alloc_fifo() 115 iov[0].iov_len -= overflow; in gve_tx_alloc_fifo() 117 iov[1].iov_len = overflow; in gve_tx_alloc_fifo() 150 space_freed += info->iov[i].iov_len + info->iov[i].iov_padding; in gve_tx_clear_buffer_state() 151 info->iov[i].iov_len = 0; in gve_tx_clear_buffer_state() 498 u64 iov_offset, u64 iov_len) in gve_dma_sync_for_device() argument 500 u64 last_page = (iov_offset + iov_len - 1) / PAGE_SIZE; in gve_dma_sync_for_device() 552 info->iov[hdr_nfrags - 1].iov_len); in gve_tx_add_skb_copy() 567 info->iov[i].iov_len, in gve_tx_add_skb_copy() 572 info->iov[i].iov_len); in gve_tx_add_skb_copy() [all …]
|
/linux-6.6.21/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 174 return (buf->head[0].iov_len + buf->tail[0].iov_len) < in rpcrdma_nonpayload_inline() 214 seg->mr_len = vec->iov_len; in rpcrdma_convert_kvec() 257 if (xdrbuf->tail[0].iov_len) in rpcrdma_convert_iovs() 347 pos = rqst->rq_snd_buf.head[0].iov_len; in rpcrdma_encode_read_list() 407 rqst->rq_rcv_buf.head[0].iov_len, in rpcrdma_encode_write_list() 669 dst += xdr->head[0].iov_len + xdr->page_len; in rpcrdma_pullup_tail_iov() 670 memmove(dst, xdr->tail[0].iov_base, xdr->tail[0].iov_len); in rpcrdma_pullup_tail_iov() 671 r_xprt->rx_stats.pullup_copy_count += xdr->tail[0].iov_len; in rpcrdma_pullup_tail_iov() 685 dst += xdr->head[0].iov_len; in rpcrdma_pullup_pagelist() 716 if (unlikely(xdr->tail[0].iov_len)) in rpcrdma_prepare_noch_pullup() [all …]
|
D | svc_rdma_sendto.c | 562 if (!iov->iov_len) in svc_rdma_iov_dma_map() 566 iov->iov_len); in svc_rdma_iov_dma_map() 634 if (xdr->head[0].iov_len) in svc_rdma_xb_count_sges() 645 if (xdr->tail[0].iov_len) in svc_rdma_xb_count_sges() 701 if (xdr->head[0].iov_len) { in svc_rdma_xb_linearize() 702 memcpy(args->pd_dest, xdr->head[0].iov_base, xdr->head[0].iov_len); in svc_rdma_xb_linearize() 703 args->pd_dest += xdr->head[0].iov_len; in svc_rdma_xb_linearize() 718 if (xdr->tail[0].iov_len) { in svc_rdma_xb_linearize() 719 memcpy(args->pd_dest, xdr->tail[0].iov_base, xdr->tail[0].iov_len); in svc_rdma_xb_linearize() 720 args->pd_dest += xdr->tail[0].iov_len; in svc_rdma_xb_linearize()
|
/linux-6.6.21/arch/x86/um/os-Linux/ |
D | registers.c | 36 iov.iov_len = FP_SIZE * sizeof(unsigned long); in save_fp_registers() 58 iov.iov_len = FP_SIZE * sizeof(unsigned long); in restore_fp_registers() 137 iov.iov_len = FP_SIZE * sizeof(unsigned long); in arch_init_registers()
|
/linux-6.6.21/include/linux/sunrpc/ |
D | svc.h | 474 WARN_ON(buf->len != buf->head->iov_len + buf->page_len + buf->tail->iov_len); in svcxdr_init_decode() 475 buf->len = buf->head->iov_len + buf->page_len + buf->tail->iov_len; in svcxdr_init_decode() 496 xdr->p = resv->iov_base + resv->iov_len; in svcxdr_init_encode() 498 buf->len = resv->iov_len; in svcxdr_init_encode()
|
/linux-6.6.21/lib/ |
D | iov_iter.c | 32 len = min(n, __p->iov_len - skip); \ 39 if (skip < __p->iov_len) \ 225 size_t len = min(count, p->iov_len - skip); in fault_in_iov_iter_readable() 268 size_t len = min(count, p->iov_len - skip); in fault_in_iov_iter_writeable() 633 if (likely(size < iov->iov_len)) in iov_iter_iovec_advance() 635 size -= iov->iov_len; in iov_iter_iovec_advance() 694 size_t n = (--iov)->iov_len; in iov_iter_revert() 714 return min(i->count, iter_iov(i)->iov_len - i->iov_offset); in iov_iter_single_seg_count() 816 size_t len = iov->iov_len - skip; in iov_iter_aligned_iovec() 903 size_t len = iov->iov_len - skip; in iov_iter_alignment_iovec() [all …]
|
/linux-6.6.21/samples/user_events/ |
D | example.c | 52 io[0].iov_len = sizeof(write); in main() 54 io[1].iov_len = sizeof(count); in main()
|