Home
last modified time | relevance | path

Searched refs:wdata (Results 1 – 8 of 8) sorted by relevance

/fs/smb/client/
Dfile.c2289 struct cifs_writedata *wdata = container_of(refcount, in cifs_writedata_release() local
2292 if (wdata->mr) { in cifs_writedata_release()
2293 smbd_deregister_mr(wdata->mr); in cifs_writedata_release()
2294 wdata->mr = NULL; in cifs_writedata_release()
2298 if (wdata->cfile) in cifs_writedata_release()
2299 cifsFileInfo_put(wdata->cfile); in cifs_writedata_release()
2301 kvfree(wdata->pages); in cifs_writedata_release()
2302 kfree(wdata); in cifs_writedata_release()
2310 cifs_writev_requeue(struct cifs_writedata *wdata) in cifs_writev_requeue() argument
2313 struct inode *inode = d_inode(wdata->cfile->dentry); in cifs_writev_requeue()
[all …]
Dsmb2pdu.c4495 struct cifs_writedata *wdata = mid->callback_data; in smb2_writev_callback() local
4496 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); in smb2_writev_callback()
4497 struct TCP_Server_Info *server = wdata->server; in smb2_writev_callback()
4502 WARN_ONCE(wdata->server != mid->server, in smb2_writev_callback()
4504 wdata->server, mid->server); in smb2_writev_callback()
4510 wdata->result = smb2_check_receive(mid, server, 0); in smb2_writev_callback()
4511 if (wdata->result != 0) in smb2_writev_callback()
4521 if (written > wdata->bytes) in smb2_writev_callback()
4524 if (written < wdata->bytes) in smb2_writev_callback()
4525 wdata->result = -ENOSPC; in smb2_writev_callback()
[all …]
Dcifssmb.c1611 struct cifs_writedata *wdata = mid->callback_data; in cifs_writev_callback() local
1612 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); in cifs_writev_callback()
1619 wdata->result = cifs_check_receive(mid, tcon->ses->server, 0); in cifs_writev_callback()
1620 if (wdata->result != 0) in cifs_writev_callback()
1632 if (written > wdata->bytes) in cifs_writev_callback()
1635 if (written < wdata->bytes) in cifs_writev_callback()
1636 wdata->result = -ENOSPC; in cifs_writev_callback()
1638 wdata->bytes = written; in cifs_writev_callback()
1642 wdata->result = -EAGAIN; in cifs_writev_callback()
1645 wdata->result = -EIO; in cifs_writev_callback()
[all …]
Dsmb2proto.h190 extern int smb2_async_writev(struct cifs_writedata *wdata,
Dcifsproto.h576 int cifs_async_writev(struct cifs_writedata *wdata,
/fs/nfs/filelayout/
Dfilelayout.c413 struct nfs_commit_data *wdata = data; in filelayout_commit_prepare() local
415 nfs4_setup_sequence(wdata->ds_clp, in filelayout_commit_prepare()
416 &wdata->args.seq_args, in filelayout_commit_prepare()
417 &wdata->res.seq_res, in filelayout_commit_prepare()
/fs/nfs/
Dpnfs_nfs.c44 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/
Dflexfilelayout.c1687 struct nfs_commit_data *wdata = data; in ff_layout_commit_prepare_v4() local
1689 if (nfs4_setup_sequence(wdata->ds_clp, in ff_layout_commit_prepare_v4()
1690 &wdata->args.seq_args, in ff_layout_commit_prepare_v4()
1691 &wdata->res.seq_res, in ff_layout_commit_prepare_v4()