Home
last modified time | relevance | path

Searched refs:iov_base (Results 1 – 25 of 51) sorted by relevance

123

/fs/cifs/
Dsmb2transport.c50 struct smb2_hdr *smb2_pdu = (struct smb2_hdr *)iov[0].iov_base; in smb2_calc_signature()
71 if (iov[i].iov_base == NULL) { in smb2_calc_signature()
85 iov[i].iov_base + 4, iov[i].iov_len - 4); in smb2_calc_signature()
90 iov[i].iov_base, iov[i].iov_len); in smb2_calc_signature()
105 p_iov.iov_base, p_iov.iov_len); in smb2_calc_signature()
131 struct smb2_hdr *smb2_pdu = rqst->rq_iov[0].iov_base; in smb2_sign_rqst()
152 struct smb2_hdr *smb2_pdu = (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_verify_signature()
273 iov.iov_base = (char *)mid->resp_buf; in smb2_check_receive()
295 struct smb2_hdr *hdr = (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_setup_request()
315 struct smb2_hdr *hdr = (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_setup_async_request()
Dsmb2pdu.c378 iov[0].iov_base = (char *)req; in SMB2_negotiate()
384 rsp = (struct smb2_negotiate_rsp *)iov[0].iov_base; in SMB2_negotiate()
543 iov[0].iov_base = (char *)req; in SMB2_sess_setup()
607 iov[1].iov_base = security_blob; in SMB2_sess_setup()
618 rsp = (struct smb2_sess_setup_rsp *)iov[0].iov_base; in SMB2_sess_setup()
747 iov[0].iov_base = (char *)req; in SMB2_tcon()
755 iov[1].iov_base = unc_path; in SMB2_tcon()
761 rsp = (struct smb2_tree_connect_rsp *)iov[0].iov_base; in SMB2_tcon()
947 iov[0].iov_base = (char *)req; in SMB2_open()
971 iov[1].iov_base = path; in SMB2_open()
[all …]
Dsess.c631 iov[0].iov_base = (char *)pSMB; in CIFS_SessSetup()
648 iov[1].iov_base = NULL; in CIFS_SessSetup()
782 iov[1].iov_base = msg->data + msg->sesskey_len; in CIFS_SessSetup()
818 iov[1].iov_base = pSMB->req.SecurityBlob; in CIFS_SessSetup()
841 iov[1].iov_base = ntlmsspblob; in CIFS_SessSetup()
867 iov[2].iov_base = str_area; in CIFS_SessSetup()
880 pSMB = (SESSION_SETUP_ANDX *)iov[0].iov_base; in CIFS_SessSetup()
881 smb_buf = (struct smb_hdr *)iov[0].iov_base; in CIFS_SessSetup()
954 cifs_dbg(FYI, "ssetup freeing small buf %p\n", iov[0].iov_base); in CIFS_SessSetup()
955 cifs_small_buf_release(iov[0].iov_base); in CIFS_SessSetup()
[all …]
Dtransport.c227 iov[i].iov_base += rc; in smb_send_kvec()
264 iov->iov_base = kmap(rqst->rq_pages[idx]); in cifs_rqst_page_to_kvec()
279 unsigned int smb_buf_length = get_rfc1002_length(iov[0].iov_base); in smb_send_rqst()
289 dump_smb(iov[0].iov_base, iov[0].iov_len); in smb_send_rqst()
355 iov.iov_base = smb_buffer; in smb_send()
462 struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_setup_async_request()
556 iov[0].iov_base = in_buf; in SendReceiveNoRsp()
621 iov.iov_base = mid->resp_buf; in cifs_check_receive()
639 struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_setup_request()
661 char *buf = iov[0].iov_base; in SendReceive2()
[all …]
Dcifsencrypt.c73 if (iov[i].iov_base == NULL) { in cifs_calc_signature()
84 iov[i].iov_base + 4, iov[i].iov_len - 4); in cifs_calc_signature()
88 iov[i].iov_base, iov[i].iov_len); in cifs_calc_signature()
103 p_iov.iov_base, p_iov.iov_len); in cifs_calc_signature()
120 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_sign_rqst()
165 iov.iov_base = cifs_pdu; in cifs_sign_smb()
179 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_verify_signature()
Dcifssmb.c739 iov.iov_base = smb; in CIFSSMBEcho()
1434 rdata->iov.iov_base = buf + HEADER_SIZE(server) - 1; in cifs_readv_receive()
1483 rdata->iov.iov_base = buf + server->total_read; in cifs_readv_receive()
1492 rdata->iov.iov_base = buf; in cifs_readv_receive()
1495 rdata->iov.iov_base, rdata->iov.iov_len); in cifs_readv_receive()
1619 rdata->iov.iov_base = smb; in cifs_async_readv()
1693 iov[0].iov_base = (char *)pSMB; in CIFSSMBRead()
1698 pSMBr = (READ_RSP *)iov[0].iov_base; in CIFSSMBRead()
1729 cifs_small_buf_release(iov[0].iov_base); in CIFSSMBRead()
1731 cifs_buf_release(iov[0].iov_base); in CIFSSMBRead()
[all …]
Dfile.c1649 iov[1].iov_base = (char *)write_data + total_written; in cifs_write()
2752 iov.iov_base = kmap(page); in cifs_uncached_read_into_pages()
2755 i, iov.iov_base, iov.iov_len); in cifs_uncached_read_into_pages()
2759 iov.iov_base = kmap(page); in cifs_uncached_read_into_pages()
2762 i, iov.iov_base, iov.iov_len); in cifs_uncached_read_into_pages()
2763 memset(iov.iov_base + len, '\0', PAGE_SIZE - len); in cifs_uncached_read_into_pages()
3154 iov.iov_base = kmap(page); in cifs_readpages_read_into_pages()
3157 i, page->index, iov.iov_base, iov.iov_len); in cifs_readpages_read_into_pages()
3161 iov.iov_base = kmap(page); in cifs_readpages_read_into_pages()
3164 i, page->index, iov.iov_base, iov.iov_len); in cifs_readpages_read_into_pages()
[all …]
/fs/nfsd/
Dnfscache.c134 if (rp->c_type == RC_REPLBUFF && rp->c_replvec.iov_base) { in nfsd_reply_cache_free_locked()
136 kfree(rp->c_replvec.iov_base); in nfsd_reply_cache_free_locked()
291 const unsigned char *p = buf->head[0].iov_base; in nfsd_cache_csum()
462 kfree(rp->c_replvec.iov_base); in nfsd_cache_lookup()
463 rp->c_replvec.iov_base = NULL; in nfsd_cache_lookup()
535 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
553 cachv->iov_base = kmalloc(bufsize, GFP_KERNEL); in nfsd_cache_update()
554 if (!cachv->iov_base) { in nfsd_cache_update()
559 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
590 memcpy((char*)vec->iov_base + vec->iov_len, data->iov_base, data->iov_len); in nfsd_cache_append()
Dnfsxdr.c268 rqstp->rq_vec[v].iov_base = page_address(p); in nfssvc_decode_readargs()
301 hdr = (void*)p - rqstp->rq_arg.head[0].iov_base; in nfssvc_decode_writeargs()
316 rqstp->rq_vec[0].iov_base = (void*)p; in nfssvc_decode_writeargs()
322 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_pages[v]); in nfssvc_decode_writeargs()
441 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readlinkres()
460 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readres()
Dnfs3xdr.c347 rqstp->rq_vec[v].iov_base = page_address(p); in nfs3svc_decode_readargs()
380 hdr = (void*)p - rqstp->rq_arg.head[0].iov_base; in nfs3svc_decode_writeargs()
398 rqstp->rq_vec[0].iov_base = (void*)p; in nfs3svc_decode_writeargs()
404 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_pages[v]); in nfs3svc_decode_writeargs()
474 avail = vec->iov_len - (old - (char*)vec->iov_base); in nfs3svc_decode_symlinkargs()
687 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readlinkres()
711 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readres()
787 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readdirres()
Dnfs4xdr.c1154 write->wr_head.iov_base = p; in nfsd4_decode_write()
2890 resp->rqstp->rq_vec[v].iov_base = page_address(page); in nfsd4_encode_read()
2912 - (char*)resp->xbuf->head[0].iov_base; in nfsd4_encode_read()
2916 resp->xbuf->tail[0].iov_base = p; in nfsd4_encode_read()
2921 resp->xbuf->tail[0].iov_base += maxcount&3; in nfsd4_encode_read()
2962 - (char*)resp->xbuf->head[0].iov_base; in nfsd4_encode_readlink()
2966 resp->xbuf->tail[0].iov_base = p; in nfsd4_encode_readlink()
2971 resp->xbuf->tail[0].iov_base += maxcount&3; in nfsd4_encode_readlink()
3000 resp->xbuf->head[0].iov_len = ((char*)resp->p) - (char*)resp->xbuf->head[0].iov_base; in nfsd4_encode_readdir()
3045 resp->xbuf->tail[0].iov_base = tailbase; in nfsd4_encode_readdir()
[all …]
Dnfs3acl.c149 base = (char *)p - (char *)head->iov_base; in nfs3svc_decode_setaclargs()
181 base = (char *)p - (char *)head->iov_base; in nfs3svc_encode_getaclres()
Dnfs2acl.c199 base = (char *)p - (char *)head->iov_base; in nfsaclsvc_decode_setaclargs()
265 base = (char *)p - (char *)head->iov_base; in nfsaclsvc_encode_getaclres()
/fs/ncpfs/
Dsock.c52 vec.iov_base = (void *) buff; in _send()
250 iov->iov_base += result; in __ncptcp_try_send()
270 h = req->tx_iov[1].iov_base; in ncpdgram_start_request()
272 signlen = sign_packet(server, req->tx_iov[1].iov_base + sizeof(struct ncp_request_header) - 1, in ncpdgram_start_request()
276 req->tx_ciov[1].iov_base = req->sign; in ncpdgram_start_request()
298 h = req->tx_iov[1].iov_base; in ncptcp_start_request()
300 signlen = sign_packet(server, req->tx_iov[1].iov_base + sizeof(struct ncp_request_header) - 1, in ncptcp_start_request()
308 req->tx_iov[0].iov_base = req->sign; in ncptcp_start_request()
321 memcpy(server->txbuf, req->tx_iov[1].iov_base, req->tx_iov[1].iov_len); in __ncp_start_request()
322 req->tx_iov[1].iov_base = server->txbuf; in __ncp_start_request()
[all …]
/fs/
Dpipe.c132 iov->iov_base, copy)) in pipe_iov_copy_from_user()
136 iov->iov_base, copy)) in pipe_iov_copy_from_user()
141 iov->iov_base += copy; in pipe_iov_copy_from_user()
159 if (__copy_to_user_inatomic(iov->iov_base, in pipe_iov_copy_to_user()
163 if (copy_to_user(iov->iov_base, in pipe_iov_copy_to_user()
169 iov->iov_base += copy; in pipe_iov_copy_to_user()
188 if (fault_in_pages_writeable(iov->iov_base, this_len)) in iov_fault_in_pages_write()
210 fault_in_pages_readable(iov->iov_base, this_len); in iov_fault_in_pages_read()
Dbio.c1005 iov_addr = iov[iov_idx].iov_base + iov_off; in __bio_copy_iov()
1092 uaddr = (unsigned long)iov[i].iov_base; in bio_copy_user_iov()
1205 iov.iov_base = (void __user *)uaddr; in bio_copy_user()
1225 unsigned long uaddr = (unsigned long)iov[i].iov_base; in __bio_map_user_iov()
1257 unsigned long uaddr = (unsigned long)iov[i].iov_base; in __bio_map_user_iov()
1342 iov.iov_base = (void __user *)uaddr; in bio_map_user()
1495 char *p = bmd->sgvecs[0].iov_base; in bio_copy_kern_endio()
Dsplice.c636 vec[i].iov_base = (void __user *) page_address(page); in default_file_splice_read()
1425 base = entry.iov_base; in get_iovec_page_array()
1566 error = get_user(base, &iov->iov_base); in vmsplice_to_user()
1711 if (get_user(v.iov_base, &iov32[i].iov_base) || in COMPAT_SYSCALL_DEFINE4()
1713 put_user(compat_ptr(v.iov_base), &iov[i].iov_base) || in COMPAT_SYSCALL_DEFINE4()
/fs/ceph/
Dmds_client.c288 info->head = msg->front.iov_base; in parse_reply_info()
289 p = msg->front.iov_base + sizeof(struct ceph_mds_reply_head); in parse_reply_info()
804 h = msg->front.iov_base; in create_session_msg()
1264 head = msg->front.iov_base; in ceph_add_cap_releases()
1281 head = msg->front.iov_base; in ceph_add_cap_releases()
1290 head = partial->front.iov_base; in ceph_add_cap_releases()
1390 head = msg->front.iov_base; in discard_cap_releases()
1402 head = msg->front.iov_base; in discard_cap_releases()
1686 head = msg->front.iov_base; in create_request_message()
1687 p = msg->front.iov_base + sizeof(*head); in create_request_message()
[all …]
/fs/afs/
Drxrpc.c274 iov->iov_base = kmap(pages[loop]) + offset; in afs_send_pages()
352 iov[0].iov_base = call->request; in afs_make_call()
765 iov[0].iov_base = NULL; in afs_send_empty_reply()
805 iov[0].iov_base = (void *) buf; in afs_send_simple_reply()
/fs/jffs2/
Dwritev.c42 vecs[0].iov_base = (unsigned char *) buf; in jffs2_flash_direct_write()
Dwrite.c77 vecs[0].iov_base = ri; in jffs2_write_dnode()
79 vecs[1].iov_base = (unsigned char *)data; in jffs2_write_dnode()
237 vecs[0].iov_base = rd; in jffs2_write_dirent()
239 vecs[1].iov_base = (unsigned char *)name; in jffs2_write_dirent()
Dsummary.c259 node = invecs[0].iov_base; in jffs2_sum_add_kvec()
304 memcpy(temp->name,invecs[1].iov_base,node->d.nsize); in jffs2_sum_add_kvec()
809 vecs[0].iov_base = &isum; in jffs2_sum_write_data()
811 vecs[1].iov_base = c->summary->sum_buf; in jffs2_sum_write_data()
/fs/fuse/
Dfile.c1178 return (unsigned long)ii->iov->iov_base + ii->iov_offset; in fuse_get_user_addr()
1362 struct iovec iov = { .iov_base = buf, .iov_len = count }; in fuse_direct_read()
1387 struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = count }; in fuse_direct_write()
1870 char __user *uaddr = ii.iov->iov_base + ii.iov_offset; in fuse_ioctl_copy_user()
1918 dst[i].iov_base = compat_ptr(ciov[i].iov_base); in fuse_copy_ioctl_iovec_old()
1967 dst[i].iov_base = (void __user *) (unsigned long) fiov[i].base; in fuse_copy_ioctl_iovec()
1972 (ptr_to_compat(dst[i].iov_base) != fiov[i].base || in fuse_copy_ioctl_iovec()
2071 iov->iov_base = (void __user *)arg; in fuse_do_ioctl()
Dcuse.c95 struct iovec iov = { .iov_base = buf, .iov_len = count }; in cuse_read()
105 struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = count }; in cuse_write()
/fs/ocfs2/dlm/
Ddlmconvert.c367 vec[0].iov_base = &convert; in dlm_send_remote_convert_request()
372 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_convert_request()

123