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 | 4517 static inline bool smb3_use_rdma_offload(struct cifs_io_parms *io_parms) in smb2_new_read_req() 4519 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req() 4520 struct cifs_tcon *tcon = io_parms->tcon; in smb2_new_read_req() 4539 if (io_parms->length < server->rdma_readwrite_threshold) in smb2_new_read_req() 4552 struct cifs_io_parms *io_parms, struct cifs_io_subrequest *rdata, in smb2_new_read_req() 4558 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req() 4560 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req() 4569 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req() 4571 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req() 4572 req->VolatileFileId = io_parms in smb2_new_read_req() 4480 smb3_use_rdma_offload(struct cifs_io_parms * io_parms) smb3_use_rdma_offload() argument 4515 smb2_new_read_req(void ** buf,unsigned int * total_len,struct cifs_io_parms * io_parms,struct cifs_io_subrequest * rdata,unsigned int remaining_bytes,int request_type) smb2_new_read_req() argument 4763 struct cifs_io_parms io_parms; smb2_async_readv() local 4857 SMB2_read(const unsigned int xid,struct cifs_io_parms * io_parms,unsigned int * nbytes,char ** buf,int * buf_type) SMB2_read() argument 5088 struct cifs_io_parms *io_parms = NULL; smb2_async_writev() local 5263 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 | 544 struct cifs_io_parms io_parms = {0}; in cifs_sfu_type() 594 io_parms.netfid = fid.netfid; in cifs_sfu_type() 595 io_parms.pid = current->tgid; in cifs_sfu_type() 596 io_parms.tcon = tcon; in cifs_sfu_type() 597 io_parms.offset = 0; in cifs_sfu_type() 598 io_parms.length = 24; in cifs_sfu_type() 600 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type() 660 io_parms.offset = 8; in cifs_sfu_type() 661 io_parms.length = fattr->cf_eof-8 + 1; in cifs_sfu_type() 663 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type() 527 struct cifs_io_parms io_parms = {0}; cifs_sfu_type() local [all...] |
| H A D | smb2ops.c | 3545 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() local 3550 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range() 3551 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range() 3552 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range() 3553 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range() 3554 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range() 3557 io_parms.offset = off; in smb3_simple_fallocate_write_range() 3558 io_parms.length = len; in smb3_simple_fallocate_write_range() 3559 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range() 3560 io_parms in smb3_simple_fallocate_write_range() 5237 struct cifs_io_parms io_parms = {}; __cifs_sfu_make_node() local [all...] |
| H A D | cifssmb.c | 1645 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument 1656 __u32 pid = io_parms->pid; in CIFSSMBRead() 1657 __u16 netfid = io_parms->netfid; in CIFSSMBRead() 1658 __u64 offset = io_parms->offset; in CIFSSMBRead() 1659 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead() 1661 unsigned int count = io_parms->length; in CIFSSMBRead() 1758 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument 1767 __u32 pid = io_parms->pid; in CIFSSMBWrite() 1768 __u16 netfid = io_parms->netfid; in CIFSSMBWrite() 1769 __u64 offset = io_parms in CIFSSMBWrite() 2042 CIFSSMBWrite2(const unsigned int xid,struct cifs_io_parms * io_parms,unsigned int * nbytes,struct kvec * iov,int n_vec) CIFSSMBWrite2() argument [all...] |