Home
last modified time | relevance | path

Searched refs:rdata (Results 1 – 7 of 7) sorted by relevance

/fs/cifs/
Dfile.c2811 struct cifs_readdata *rdata; in cifs_readdata_alloc() local
2813 rdata = kzalloc(sizeof(*rdata) + (sizeof(struct page *) * nr_pages), in cifs_readdata_alloc()
2815 if (rdata != NULL) { in cifs_readdata_alloc()
2816 kref_init(&rdata->refcount); in cifs_readdata_alloc()
2817 INIT_LIST_HEAD(&rdata->list); in cifs_readdata_alloc()
2818 init_completion(&rdata->done); in cifs_readdata_alloc()
2819 INIT_WORK(&rdata->work, complete); in cifs_readdata_alloc()
2822 return rdata; in cifs_readdata_alloc()
2828 struct cifs_readdata *rdata = container_of(refcount, in cifs_readdata_release() local
2831 if (rdata->cfile) in cifs_readdata_release()
[all …]
Dsmb2pdu.c2184 struct cifs_readdata *rdata = mid->callback_data; in smb2_readv_callback() local
2185 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); in smb2_readv_callback()
2187 struct smb2_hdr *buf = (struct smb2_hdr *)rdata->iov.iov_base; in smb2_readv_callback()
2189 struct smb_rqst rqst = { .rq_iov = &rdata->iov, in smb2_readv_callback()
2191 .rq_pages = rdata->pages, in smb2_readv_callback()
2192 .rq_npages = rdata->nr_pages, in smb2_readv_callback()
2193 .rq_pagesz = rdata->pagesz, in smb2_readv_callback()
2194 .rq_tailsz = rdata->tailsz }; in smb2_readv_callback()
2197 __func__, mid->mid, mid->mid_state, rdata->result, in smb2_readv_callback()
2198 rdata->bytes); in smb2_readv_callback()
[all …]
Dcifssmb.c1425 struct cifs_readdata *rdata = mid->callback_data; in cifs_readv_discard() local
1428 dequeue_mid(mid, rdata->result); in cifs_readv_discard()
1439 struct cifs_readdata *rdata = mid->callback_data; in cifs_readv_receive() local
1444 __func__, mid->mid, rdata->offset, rdata->bytes); in cifs_readv_receive()
1474 rdata->result = server->ops->map_error(buf, false); in cifs_readv_receive()
1475 if (rdata->result != 0) { in cifs_readv_receive()
1477 __func__, rdata->result); in cifs_readv_receive()
1486 rdata->result = -EIO; in cifs_readv_receive()
1504 rdata->result = -EIO; in cifs_readv_receive()
1522 rdata->iov.iov_base = buf; in cifs_readv_receive()
[all …]
Dsmb2proto.h135 extern int smb2_async_readv(struct cifs_readdata *rdata);
Dcifsproto.h501 int cifs_async_readv(struct cifs_readdata *rdata);
Dcifsglob.h1118 struct cifs_readdata *rdata,
/fs/nfs/objlayout/
Dobjlayout.h122 extern int objio_read_pagelist(struct nfs_pgio_header *rdata);