Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dlink.c236 struct cifs_io_parms io_parms = {0}; in cifs_query_mf_symlink() local
260 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink()
261 io_parms.pid = current->tgid; in cifs_query_mf_symlink()
262 io_parms.tcon = tcon; in cifs_query_mf_symlink()
263 io_parms.offset = 0; in cifs_query_mf_symlink()
264 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink()
266 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
281 struct cifs_io_parms io_parms = {0}; in cifs_create_mf_symlink() local
297 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink()
298 io_parms.pid = current->tgid; in cifs_create_mf_symlink()
[all …]
H A Dsmb2pdu.c4460 static inline bool smb3_use_rdma_offload(struct cifs_io_parms *io_parms) in smb3_use_rdma_offload() argument
4462 struct TCP_Server_Info *server = io_parms->server; in smb3_use_rdma_offload()
4463 struct cifs_tcon *tcon = io_parms->tcon; in smb3_use_rdma_offload()
4482 if (io_parms->length < server->rdma_readwrite_threshold) in smb3_use_rdma_offload()
4495 struct cifs_io_parms *io_parms, struct cifs_io_subrequest *rdata, in smb2_new_read_req() argument
4501 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req()
4503 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req()
4512 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
4514 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
4515 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
[all …]
H A Dsmb2proto.h213 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
216 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
H A Dinode.c532 struct cifs_io_parms io_parms = {0}; in cifs_sfu_type() local
582 io_parms.netfid = fid.netfid; in cifs_sfu_type()
583 io_parms.pid = current->tgid; in cifs_sfu_type()
584 io_parms.tcon = tcon; in cifs_sfu_type()
585 io_parms.offset = 0; in cifs_sfu_type()
586 io_parms.length = 24; in cifs_sfu_type()
588 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type()
648 io_parms.offset = 8; in cifs_sfu_type()
649 io_parms.length = fattr->cf_eof-8 + 1; in cifs_sfu_type()
651 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type()
H A Dsmb2ops.c3512 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() local
3517 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range()
3518 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range()
3519 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range()
3520 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range()
3521 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range()
3524 io_parms.offset = off; in smb3_simple_fallocate_write_range()
3525 io_parms.length = len; in smb3_simple_fallocate_write_range()
3526 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3527 io_parms.length = SMB2_MAX_BUFFER_SIZE; in smb3_simple_fallocate_write_range()
[all …]
H A Dcifssmb.c1503 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1514 __u32 pid = io_parms->pid; in CIFSSMBRead()
1515 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1516 __u64 offset = io_parms->offset; in CIFSSMBRead()
1517 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1519 unsigned int count = io_parms->length; in CIFSSMBRead()
1616 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1625 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1626 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1627 __u64 offset = io_parms->offset; in CIFSSMBWrite()
[all …]
H A Dcifsproto.h519 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
522 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
524 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,