Searched refs:wdata (Results 1 – 8 of 8) sorted by relevance
/fs/cifs/ |
D | file.c | 2152 struct cifs_writedata *wdata; in wdata_alloc_and_fillpages() local 2154 wdata = cifs_writedata_alloc((unsigned int)tofind, in wdata_alloc_and_fillpages() 2156 if (!wdata) in wdata_alloc_and_fillpages() 2160 PAGECACHE_TAG_DIRTY, tofind, wdata->pages); in wdata_alloc_and_fillpages() 2161 return wdata; in wdata_alloc_and_fillpages() 2165 wdata_prepare_pages(struct cifs_writedata *wdata, unsigned int found_pages, in wdata_prepare_pages() argument 2174 page = wdata->pages[i]; in wdata_prepare_pages() 2225 wdata->pages[i] = page; in wdata_prepare_pages() 2232 *index = wdata->pages[0]->index + 1; in wdata_prepare_pages() 2236 put_page(wdata->pages[i]); in wdata_prepare_pages() [all …]
|
D | smb2pdu.c | 3870 struct cifs_writedata *wdata = mid->callback_data; in smb2_writev_callback() local 3871 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); in smb2_writev_callback() 3881 wdata->result = smb2_check_receive(mid, server, 0); in smb2_writev_callback() 3882 if (wdata->result != 0) in smb2_writev_callback() 3892 if (written > wdata->bytes) in smb2_writev_callback() 3895 if (written < wdata->bytes) in smb2_writev_callback() 3896 wdata->result = -ENOSPC; in smb2_writev_callback() 3898 wdata->bytes = written; in smb2_writev_callback() 3902 wdata->result = -EAGAIN; in smb2_writev_callback() 3909 wdata->result = -EIO; in smb2_writev_callback() [all …]
|
D | cifssmb.c | 2047 struct cifs_writedata *wdata = container_of(refcount, in cifs_writedata_release() local 2050 if (wdata->mr) { in cifs_writedata_release() 2051 smbd_deregister_mr(wdata->mr); in cifs_writedata_release() 2052 wdata->mr = NULL; in cifs_writedata_release() 2056 if (wdata->cfile) in cifs_writedata_release() 2057 cifsFileInfo_put(wdata->cfile); in cifs_writedata_release() 2059 kvfree(wdata->pages); in cifs_writedata_release() 2060 kfree(wdata); in cifs_writedata_release() 2068 cifs_writev_requeue(struct cifs_writedata *wdata) in cifs_writev_requeue() argument 2071 struct inode *inode = d_inode(wdata->cfile->dentry); in cifs_writev_requeue() [all …]
|
D | smb2proto.h | 186 extern int smb2_async_writev(struct cifs_writedata *wdata,
|
D | cifsproto.h | 556 int cifs_async_writev(struct cifs_writedata *wdata,
|
/fs/nfs/filelayout/ |
D | filelayout.c | 412 struct nfs_commit_data *wdata = data; in filelayout_commit_prepare() local 414 nfs4_setup_sequence(wdata->ds_clp, in filelayout_commit_prepare() 415 &wdata->args.seq_args, in filelayout_commit_prepare() 416 &wdata->res.seq_res, in filelayout_commit_prepare()
|
/fs/nfs/ |
D | pnfs_nfs.c | 44 struct nfs_commit_data *wdata = data; in pnfs_generic_write_commit_done() local 47 wdata->mds_ops->rpc_call_done(task, data); in pnfs_generic_write_commit_done()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 1707 struct nfs_commit_data *wdata = data; in ff_layout_commit_prepare_v4() local 1709 if (nfs4_setup_sequence(wdata->ds_clp, in ff_layout_commit_prepare_v4() 1710 &wdata->args.seq_args, in ff_layout_commit_prepare_v4() 1711 &wdata->res.seq_res, in ff_layout_commit_prepare_v4()
|