Searched refs:iov_base (Results 1 - 25 of 251) sorted by relevance

1234567891011

/linux-master/include/uapi/linux/
H A Duio.h19 void __user *iov_base; /* BSD uses caddr_t (1003.1g requires void *) */ member in struct:iovec
/linux-master/net/ceph/
H A Dbuffer.c20 b->vec.iov_base = kvmalloc(len, gfp);
21 if (!b->vec.iov_base) {
39 kvfree(b->vec.iov_base);
55 ceph_decode_copy(p, (*b)->vec.iov_base, len);
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfp-ptrace.c256 iov_parent.iov_base = &v_out;
258 iov_child.iov_base = &v_out;
263 iov_parent.iov_base = &sve_vl_out;
265 iov_child.iov_base = &sve_vl_out;
269 iov_parent.iov_base = &z_out;
271 iov_child.iov_base = &z_out;
275 iov_parent.iov_base = &p_out;
277 iov_child.iov_base = &p_out;
281 iov_parent.iov_base = &ffr_out;
283 iov_child.iov_base
[all...]
H A Dzt-ptrace.c73 iov.iov_base = *buf;
95 iov.iov_base = (void *)za;
104 iov.iov_base = zt;
114 iov.iov_base = (void *)zt;
/linux-master/tools/testing/vsock/
H A Dutil.c552 memcpy(tmp + offs, iov[i].iov_base, iov[i].iov_len);
565 * of the new element is copied from 'test_iovec'. 'iov_base' is
566 * allocated depending on the 'iov_base' of 'test_iovec':
568 * 'iov_base' == NULL -> valid buf: mmap('iov_len').
570 * 'iov_base' == MAP_FAILED -> invalid buf:
572 * 'iov_base' still contains result of
575 * 'iov_base' == number -> unaligned valid buf:
596 iovec[i].iov_base = mmap(NULL, iovec[i].iov_len,
600 if (iovec[i].iov_base == MAP_FAILED) {
605 if (test_iovec[i].iov_base !
[all...]
/linux-master/samples/user_events/
H A Dexample.c51 io[0].iov_base = &write;
53 io[1].iov_base = &count;
/linux-master/fs/smb/server/
H A Dksmbd_work.c104 work->iov[++work->iov_idx].iov_base = ib;
139 work->iov[work->iov_idx].iov_base = work->response_buf;
140 *(__be32 *)work->iov[0].iov_base = 0;
146 inc_rfc1001_len(work->iov[0].iov_base, len);
150 inc_rfc1001_len(work->iov[0].iov_base, aux_size);
H A Dauth.c603 iov[i].iov_base,
654 iov[i].iov_base,
717 label.iov_base,
731 context.iov_base,
802 d.label.iov_base = "SMB2AESCMAC";
804 d.context.iov_base = "SmbSign";
816 d.label.iov_base = "SMBSigningKey";
824 d.context.iov_base = preauth_sess->Preauth_HashValue;
826 d.context.iov_base = sess->Preauth_HashValue;
884 d->label.iov_base
[all...]
/linux-master/arch/x86/um/os-Linux/
H A Dregisters.c35 iov.iov_base = fp_regs;
57 iov.iov_base = fp_regs;
136 iov.iov_base = fp_regs;
/linux-master/fs/jffs2/
H A Dwritev.c42 vecs[0].iov_base = (unsigned char *) buf;
/linux-master/net/rxrpc/
H A Dlocal_event.c68 iov[0].iov_base = &whdr;
70 iov[1].iov_base = (char *)rxrpc_version_string;
H A Dtxbuf.c61 txb->kvec[0].iov_base = whdr;
134 txb->kvec[0].iov_base = whdr;
136 txb->kvec[1].iov_base = buf2;
138 txb->kvec[2].iov_base = filler;
182 if (txb->kvec[i].iov_base)
183 page_frag_free(txb->kvec[i].iov_base);
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace.h113 iov.iov_base = regs;
133 iov.iov_base = regs;
155 iov.iov_base = (u64 *) reg;
202 iov.iov_base = (u64 *) reg;
245 iov.iov_base = (u64 *) reg;
293 iov.iov_base = (u64 *) reg;
374 iov.iov_base = regs;
398 iov.iov_base = regs;
548 iov.iov_base = (u64 *) regs;
576 iov.iov_base
[all...]
/linux-master/fs/smb/client/
H A Dsmb2transport.c238 struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base;
287 rc = crypto_shash_update(shash, iov[0].iov_base,
351 rc = crypto_shash_update(server->secmech.hmacsha256, label.iov_base, label.iov_len);
363 rc = crypto_shash_update(server->secmech.hmacsha256, context.iov_base, context.iov_len);
511 d->label.iov_base = "SMB2AESCMAC";
513 d->context.iov_base = "SmbSign";
517 d->label.iov_base = "SMB2AESCCM";
519 d->context.iov_base = "ServerIn ";
523 d->label.iov_base = "SMB2AESCCM";
525 d->context.iov_base
[all...]
H A Dsmb2inode.c32 struct smb2_ioctl_rsp *io = iov->iov_base;
63 struct smb2_query_info_rsp *qi = rsp_iov->iov_base;
106 struct smb2_query_info_rsp *rsp = rsp_iov->iov_base;
118 ea = (void *)((u8 *)rsp_iov->iov_base +
120 end = (u8 *)rsp_iov->iov_base + rsp_iov->iov_len;
373 data[0] = in_iov[i].iov_base;
408 data[0] = in_iov[i].iov_base;
449 data[1] = in_iov[i].iov_base;
488 data[1] = in_iov[i].iov_base;
510 in_iov[i].iov_base,
[all...]
H A Dsmb2pdu.c1014 iov[num].iov_base = create_posix_buf(mode);
1017 if (iov[num].iov_base == NULL)
1121 iov[0].iov_base = (char *)req;
1131 rsp = (struct smb2_negotiate_rsp *)rsp_iov.iov_base;
1512 sess_data->iov[0].iov_base = (char *)req;
1530 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base)
1531 memzero_explicit(iov[0].iov_base, iov[0].iov_len);
1533 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base);
1542 struct smb2_sess_setup_req *req = sess_data->iov[0].iov_base;
1560 cifs_small_buf_release(sess_data->iov[0].iov_base);
[all...]
H A Dsess.c1360 sess_data->iov[0].iov_base = (char *)smb_buf;
1369 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL);
1370 if (!sess_data->iov[2].iov_base) {
1379 sess_data->iov[0].iov_base = NULL;
1394 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base)
1395 memzero_explicit(iov[0].iov_base, iov[0].iov_len);
1397 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base);
1399 kfree_sensitive(iov[2].iov_base);
1434 struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base;
1446 cifs_small_buf_release(sess_data->iov[0].iov_base);
[all...]
/linux-master/drivers/usb/usbip/
H A Dvudc_tx.c56 iov[0].iov_base = &pdu_header;
114 iov[iovnum].iov_base = &pdu_header;
122 iov[iovnum].iov_base = urb->transfer_buffer;
132 iov[iovnum].iov_base = urb->transfer_buffer +
160 iov[iovnum].iov_base = iso_buffer;
H A Dvhci_tx.c99 iov[iovnum].iov_base = &pdu_header;
109 iov[iovnum].iov_base = sg_virt(sg);
114 iov[iovnum].iov_base = urb->transfer_buffer;
133 iov[iovnum].iov_base = iso_buffer;
215 iov.iov_base = &pdu_header;
/linux-master/net/sunrpc/
H A Dxdr.c183 bvec_set_virt(bvec++, head->iov_base, head->iov_len);
205 bvec_set_virt(bvec, tail->iov_base, tail->iov_len);
232 char *buf = (char *)head->iov_base;
241 tail->iov_base = buf + offset;
481 memset(iov->iov_base + base, 0, len);
595 memmove(tail->iov_base + to, tail->iov_base + base, len);
625 _copy_from_pages(tail->iov_base + tato, buf->pages,
667 memcpy(tail->iov_base + tato, head->iov_base
[all...]
/linux-master/crypto/
H A Dkdf_sp800108.c40 err = crypto_shash_update(desc, info[i].iov_base,
110 .iov_base = "\x01\x32\x2b\x96\xb3\x0a\xcd\x19"
/linux-master/net/handshake/
H A Dalert.c48 iov.iov_base = alert;
104 data = iov->iov_base;
/linux-master/tools/testing/selftests/user_events/
H A Dftrace_test.c313 io[0].iov_base = &reg.write_index;
315 io[1].iov_base = &field1;
317 io[2].iov_base = &field2;
326 io[0].iov_base = &field2;
330 io[0].iov_base = &reg.write_index;
367 io[0].iov_base = &reg.write_index;
404 io[0].iov_base = &reg.write_index;
406 io[1].iov_base = anon;
444 io[0].iov_base = &reg.write_index;
446 io[1].iov_base
[all...]
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c581 p = buf->head[0].iov_base + base;
807 krb5_make_confounder(buf->head[0].iov_base + offset, conflen);
810 if (buf->tail[0].iov_base != NULL) {
811 ecptr = buf->tail[0].iov_base + buf->tail[0].iov_len;
813 buf->tail[0].iov_base = buf->head[0].iov_base
816 ecptr = buf->tail[0].iov_base;
820 memcpy(ecptr, buf->head[0].iov_base + offset, GSS_KRB5_TOK_HDR_LEN);
825 hmac.data = buf->tail[0].iov_base + buf->tail[0].iov_len;
1036 krb5_make_confounder(buf->head[0].iov_base
[all...]
/linux-master/arch/x86/kernel/
H A Dcrash_dump_64.c57 struct kvec kvec = { .iov_base = buf, .iov_len = count };

Completed in 298 milliseconds

1234567891011