Home
last modified time | relevance | path

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

12

/fs/nfsd/
Dnfscache.c84 kfree(rp->c_replvec.iov_base); in nfsd_reply_cache_shutdown()
193 kfree(rp->c_replvec.iov_base); in nfsd_cache_lookup()
194 rp->c_replvec.iov_base = NULL; in nfsd_cache_lookup()
265 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
282 cachv->iov_base = kmalloc(len << 2, GFP_KERNEL); in nfsd_cache_update()
283 if (!cachv->iov_base) { in nfsd_cache_update()
290 memcpy(cachv->iov_base, statp, len << 2); in nfsd_cache_update()
318 memcpy((char*)vec->iov_base + vec->iov_len, data->iov_base, data->iov_len); in nfsd_cache_append()
Dnfsxdr.c276 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_respages[pn]); in nfssvc_decode_readargs()
309 hdr = (void*)p - rqstp->rq_arg.head[0].iov_base; in nfssvc_decode_writeargs()
324 rqstp->rq_vec[0].iov_base = (void*)p; in nfssvc_decode_writeargs()
330 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_pages[v]); in nfssvc_decode_writeargs()
449 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readlinkres()
468 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readres()
Dnfs4xdr.c960 argp->rqstp->rq_vec[0].iov_base = p; in nfsd4_decode_write()
967 argp->rqstp->rq_vec[v].iov_base = page_address(argp->pagelist[0]); in nfsd4_decode_write()
977 argp->end = (__be32*) (argp->rqstp->rq_vec[v].iov_base + argp->rqstp->rq_vec[v].iov_len); in nfsd4_decode_write()
978 argp->p = (__be32*) (argp->rqstp->rq_vec[v].iov_base + (XDR_QUADLEN(len) << 2)); in nfsd4_decode_write()
2254 resp->rqstp->rq_vec[v].iov_base = in nfsd4_encode_read()
2278 - (char*)resp->xbuf->head[0].iov_base; in nfsd4_encode_read()
2282 resp->xbuf->tail[0].iov_base = p; in nfsd4_encode_read()
2287 resp->xbuf->tail[0].iov_base += maxcount&3; in nfsd4_encode_read()
2326 - (char*)resp->xbuf->head[0].iov_base; in nfsd4_encode_readlink()
2330 resp->xbuf->tail[0].iov_base = p; in nfsd4_encode_readlink()
[all …]
Dnfs3xdr.c352 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_respages[pn]); in nfs3svc_decode_readargs()
385 hdr = (void*)p - rqstp->rq_arg.head[0].iov_base; in nfs3svc_decode_writeargs()
403 rqstp->rq_vec[0].iov_base = (void*)p; in nfs3svc_decode_writeargs()
409 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_pages[v]); in nfs3svc_decode_writeargs()
480 avail = vec->iov_len - (old - (char*)vec->iov_base); in nfs3svc_decode_symlinkargs()
695 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readlinkres()
719 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readres()
793 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readdirres()
Dnfs3acl.c151 base = (char *)p - (char *)head->iov_base; in nfs3svc_decode_setaclargs()
183 base = (char *)p - (char *)head->iov_base; in nfs3svc_encode_getaclres()
Dnfssvc.c531 if (xdr && !xdr(rqstp, (__be32*)rqstp->rq_arg.head[0].iov_base, in nfsd_dispatch()
542 nfserrp = rqstp->rq_res.head[0].iov_base in nfsd_dispatch()
Dnfs2acl.c187 base = (char *)p - (char *)head->iov_base; in nfsaclsvc_decode_setaclargs()
244 base = (char *)p - (char *)head->iov_base; in nfsaclsvc_encode_getaclres()
/fs/cifs/
Dsess.c471 iov[0].iov_base = (char *)pSMB; in CIFS_SessSetup()
488 iov[1].iov_base = NULL; in CIFS_SessSetup()
632 iov[1].iov_base = msg->data + msg->sesskey_len; in CIFS_SessSetup()
658 iov[2].iov_base = str_area; in CIFS_SessSetup()
674 pSMB = (SESSION_SETUP_ANDX *)iov[0].iov_base; in CIFS_SessSetup()
675 smb_buf = (struct smb_hdr *)iov[0].iov_base; in CIFS_SessSetup()
719 cFYI(1, ("ssetup freeing small buf %p", iov[0].iov_base)); in CIFS_SessSetup()
720 cifs_small_buf_release(iov[0].iov_base); in CIFS_SessSetup()
722 cifs_buf_release(iov[0].iov_base); in CIFS_SessSetup()
Dcifsencrypt.c104 if (iov[i].iov_base == NULL) { in cifs_calc_signature2()
113 cifs_MD5_update(&context, iov[0].iov_base+4, in cifs_calc_signature2()
116 cifs_MD5_update(&context, iov[i].iov_base, iov[i].iov_len); in cifs_calc_signature2()
130 struct smb_hdr *cifs_pdu = iov[0].iov_base; in cifs_sign_smb2()
Dtransport.c163 struct smb_hdr *smb_buffer = iov[0].iov_base; in smb_sendv()
255 iov[i].iov_base += rc; in smb_sendv()
293 iov.iov_base = smb_buffer; in smb_send()
428 iov[0].iov_base = (char *)in_buf; in SendReceiveNoRsp()
447 struct smb_hdr *in_buf = iov[0].iov_base; in SendReceive2()
585 iov[0].iov_base = (char *)midQ->resp_buf; in SendReceive2()
/fs/ncpfs/
Dsock.c51 vec.iov_base = (void *) buff; in _send()
249 iov->iov_base += result; in __ncptcp_try_send()
269 h = req->tx_iov[1].iov_base; in ncpdgram_start_request()
271 signlen = sign_packet(server, req->tx_iov[1].iov_base + sizeof(struct ncp_request_header) - 1, in ncpdgram_start_request()
275 req->tx_ciov[1].iov_base = req->sign; in ncpdgram_start_request()
297 h = req->tx_iov[1].iov_base; in ncptcp_start_request()
299 signlen = sign_packet(server, req->tx_iov[1].iov_base + sizeof(struct ncp_request_header) - 1, in ncptcp_start_request()
307 req->tx_iov[0].iov_base = req->sign; in ncptcp_start_request()
320 memcpy(server->txbuf, req->tx_iov[1].iov_base, req->tx_iov[1].iov_len); in __ncp_start_request()
321 req->tx_iov[1].iov_base = server->txbuf; in __ncp_start_request()
[all …]
/fs/jffs2/
Dwritev.c29 ret = mtd->write(mtd, to, vecs[i].iov_len, &thislen, vecs[i].iov_base); in mtd_fake_writev()
70 vecs[0].iov_base = (unsigned char *) buf; in jffs2_flash_direct_write()
Dwrite.c76 vecs[0].iov_base = ri; in jffs2_write_dnode()
78 vecs[1].iov_base = (unsigned char *)data; in jffs2_write_dnode()
230 vecs[0].iov_base = rd; in jffs2_write_dirent()
232 vecs[1].iov_base = (unsigned char *)name; in jffs2_write_dirent()
Dsummary.c257 node = invecs[0].iov_base; in jffs2_sum_add_kvec()
302 memcpy(temp->name,invecs[1].iov_base,node->d.nsize); in jffs2_sum_add_kvec()
804 vecs[0].iov_base = &isum; in jffs2_sum_write_data()
806 vecs[1].iov_base = c->summary->sum_buf; in jffs2_sum_write_data()
/fs/smbfs/
Drequest.c158 req->rq_iov[0].iov_base = req->rq_buffer; in smb_setup_bcc()
252 req->rq_iov[0].iov_base = (void *) req->rq_header; in smb_setup_trans2request()
254 req->rq_iov[1].iov_base = (req->rq_parm==NULL) ? padding : req->rq_parm; in smb_setup_trans2request()
260 req->rq_iov[2].iov_base = padding; in smb_setup_trans2request()
262 req->rq_iov[3].iov_base = req->rq_data; in smb_setup_trans2request()
493 req->rq_iov[0].iov_base = req->rq_header; in smb_init_request()
522 req->rq_iov[0].iov_base = NULL; in smb_recv_param()
Dsock.c178 vec[0].iov_base =((unsigned char *)iv->iov_base)+amount; in smb_move_iov()
280 iov.iov_base = drop_buffer; in smb_receive_drop()
Dproc.c1038 req->rq_iov[0].iov_base = req->rq_header; in smb_setup_header()
1057 req->rq_iov[1].iov_base = req->rq_buffer; in smb_setup_bcc()
1313 req->rq_iov[0].iov_base = req->rq_buffer; in smb_proc_read_data()
1316 req->rq_iov[1].iov_base = req->rq_page; in smb_proc_read_data()
1396 req->rq_iov[1].iov_base = buf; in smb_proc_write()
1398 req->rq_iov[2].iov_base = (char *) data; in smb_proc_write()
1436 req->rq_iov[0].iov_base = req->rq_buffer; in smb_proc_readX_data()
1439 req->rq_iov[1].iov_base = req->rq_page; in smb_proc_readX_data()
1521 req->rq_iov[1].iov_base = pad; in smb_proc_writeX()
1523 req->rq_iov[2].iov_base = (char *) data; in smb_proc_writeX()
/fs/
Dpipe.c70 if (__copy_from_user_inatomic(to, iov->iov_base, copy)) in pipe_iov_copy_from_user()
73 if (copy_from_user(to, iov->iov_base, copy)) in pipe_iov_copy_from_user()
78 iov->iov_base += copy; in pipe_iov_copy_from_user()
96 if (__copy_to_user_inatomic(iov->iov_base, from, copy)) in pipe_iov_copy_to_user()
99 if (copy_to_user(iov->iov_base, from, copy)) in pipe_iov_copy_to_user()
104 iov->iov_base += copy; in pipe_iov_copy_to_user()
123 if (fault_in_pages_writeable(iov->iov_base, this_len)) in iov_fault_in_pages_write()
145 fault_in_pages_readable(iov->iov_base, this_len); in iov_fault_in_pages_read()
Dbio.c717 iov_addr = iov[iov_idx].iov_base + iov_off; in __bio_copy_iov()
801 uaddr = (unsigned long)iov[i].iov_base; in bio_copy_user_iov()
903 iov.iov_base = (void __user *)uaddr; in bio_copy_user()
922 unsigned long uaddr = (unsigned long)iov[i].iov_base; in __bio_map_user_iov()
948 unsigned long uaddr = (unsigned long)iov[i].iov_base; in __bio_map_user_iov()
1033 iov.iov_base = (void __user *)uaddr; in bio_map_user()
1184 char *p = bmd->sgvecs[0].iov_base; in bio_copy_kern_endio()
Dread_write.c254 struct iovec iov = { .iov_base = buf, .iov_len = len }; in do_sync_read()
309 struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len }; in do_sync_write()
522 base = vector->iov_base; in do_loop_readv_writev()
592 void __user *buf = iov[seg].iov_base; in rw_copy_check_uvector()
Ddirect-io.c971 user_addr = (unsigned long)iov[seg].iov_base; in direct_io_worker()
978 user_addr = (unsigned long)iov[seg].iov_base; in direct_io_worker()
1144 addr = (unsigned long)iov[seg].iov_base; in __blockdev_direct_IO()
/fs/afs/
Drxrpc.c272 iov->iov_base = kmap(pages[loop]) + offset; in afs_send_pages()
349 iov[0].iov_base = call->request; in afs_make_call()
760 iov[0].iov_base = NULL; in afs_send_empty_reply()
800 iov[0].iov_base = (void *) buf; in afs_send_simple_reply()
/fs/ocfs2/dlm/
Ddlmast.c446 vec[0].iov_base = &past; in dlm_send_proxy_ast_msg()
451 vec[1].iov_base = lock->lksb->lvb; in dlm_send_proxy_ast_msg()
Ddlmconvert.c369 vec[0].iov_base = &convert; in dlm_send_remote_convert_request()
374 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_convert_request()
/fs/nfs/
Dnfs2xdr.c275 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs_xdr_readres()
437 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs_xdr_readdirres()
614 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs_xdr_readlinkres()

12