Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dlink.c235 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 Dsmb2pdu.c4480 static inline bool smb3_use_rdma_offload(struct cifs_io_parms *io_parms) in smb3_use_rdma_offload() argument
4482 struct TCP_Server_Info *server = io_parms->server; in smb3_use_rdma_offload()
4483 struct cifs_tcon *tcon = io_parms->tcon; in smb3_use_rdma_offload()
4502 if (io_parms->length < server->rdma_readwrite_threshold) in smb3_use_rdma_offload()
4515 struct cifs_io_parms *io_parms, struct cifs_io_subrequest *rdata, in smb2_new_read_req() argument
4521 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req()
4523 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req()
4532 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
4534 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
4535 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
[all …]
H A Dsmb2proto.h190 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 Dinode.c527 struct cifs_io_parms io_parms = {0}; in cifs_sfu_type() local
577 io_parms.netfid = fid.netfid; in cifs_sfu_type()
578 io_parms.pid = current->tgid; in cifs_sfu_type()
579 io_parms.tcon = tcon; in cifs_sfu_type()
580 io_parms.offset = 0; in cifs_sfu_type()
581 io_parms.length = 24; in cifs_sfu_type()
583 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type()
643 io_parms.offset = 8; in cifs_sfu_type()
644 io_parms.length = fattr->cf_eof-8 + 1; in cifs_sfu_type()
646 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type()
H A Dsmb2ops.c3542 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() local
3547 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range()
3548 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range()
3549 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range()
3550 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range()
3551 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range()
3554 io_parms.offset = off; in smb3_simple_fallocate_write_range()
3555 io_parms.length = len; in smb3_simple_fallocate_write_range()
3556 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3557 io_parms.length = SMB2_MAX_BUFFER_SIZE; in smb3_simple_fallocate_write_range()
[all …]