Searched refs:io_parms (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | link.c | 235 struct cifs_io_parms io_parms = {0}; in cifs_query_mf_symlink() local 259 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink() 260 io_parms.pid = current->tgid; in cifs_query_mf_symlink() 261 io_parms.tcon = tcon; in cifs_query_mf_symlink() 262 io_parms.offset = 0; in cifs_query_mf_symlink() 263 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink() 265 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink() 280 struct cifs_io_parms io_parms = {0}; in cifs_create_mf_symlink() local 296 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink() 297 io_parms.pid = current->tgid; in cifs_create_mf_symlink() [all …]
|
| H A D | smb2pdu.c | 4551 static inline bool smb3_use_rdma_offload(struct cifs_io_parms *io_parms) in smb3_use_rdma_offload() argument 4553 struct TCP_Server_Info *server = io_parms->server; in smb3_use_rdma_offload() 4554 struct cifs_tcon *tcon = io_parms->tcon; in smb3_use_rdma_offload() 4573 if (io_parms->length < server->rdma_readwrite_threshold) in smb3_use_rdma_offload() 4586 struct cifs_io_parms *io_parms, struct cifs_io_subrequest *rdata, in smb2_new_read_req() argument 4592 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req() 4594 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req() 4605 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req() 4607 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req() 4608 req->VolatileFileId = io_parms in smb2_new_read_req() 4842 struct cifs_io_parms io_parms; smb2_async_readv() local 4937 SMB2_read(const unsigned int xid,struct cifs_io_parms * io_parms,unsigned int * nbytes,char ** buf,int * buf_type) SMB2_read() argument 5168 struct cifs_io_parms *io_parms = NULL; smb2_async_writev() local 5343 SMB2_write(const unsigned int xid,struct cifs_io_parms * io_parms,unsigned int * nbytes,struct kvec * iov,int n_vec) SMB2_write() argument [all...] |
| H A D | smb2proto.h | 190 int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, 193 int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
|
| H A D | inode.c | 548 struct cifs_io_parms io_parms = {0}; in cifs_sfu_type() 598 io_parms.netfid = fid.netfid; in cifs_sfu_type() 599 io_parms.pid = current->tgid; in cifs_sfu_type() 600 io_parms.tcon = tcon; in cifs_sfu_type() 601 io_parms.offset = 0; in cifs_sfu_type() 602 io_parms.length = 24; in cifs_sfu_type() 604 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type() 664 io_parms.offset = 8; in cifs_sfu_type() 665 io_parms.length = fattr->cf_eof-8 + 1; in cifs_sfu_type() 667 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type() 546 struct cifs_io_parms io_parms = {0}; cifs_sfu_type() local [all...] |
| H A D | cifssmb.c | 1651 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument 1662 __u32 pid = io_parms->pid; in CIFSSMBRead() 1663 __u16 netfid = io_parms->netfid; in CIFSSMBRead() 1664 __u64 offset = io_parms->offset; in CIFSSMBRead() 1665 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead() 1667 unsigned int count = io_parms->length; in CIFSSMBRead() 1782 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument 1791 __u32 pid = io_parms->pid; in CIFSSMBWrite() 1792 __u16 netfid = io_parms->netfid; in CIFSSMBWrite() 1793 __u64 offset = io_parms->offset; in CIFSSMBWrite() [all …]
|
| H A D | smb2ops.c | 3715 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() 3720 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range() 3721 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range() 3722 io_parms.tcon = tcon; 3723 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_range() 3724 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_range() 3727 io_parms.offset = off; in smb3_simple_fallocate_range() 3728 io_parms.length = len; in smb3_simple_fallocate_range() 3729 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_range() 3730 io_parms in smb3_simple_fallocate_range() 3691 struct cifs_io_parms io_parms = {0}; smb3_simple_fallocate_write_range() local 5537 struct cifs_io_parms io_parms = {}; __cifs_sfu_make_node() local [all...] |