Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/client/
H A Dlink.c258 struct cifs_io_parms io_parms = {0}; in cifs_query_mf_symlink() local
282 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink()
283 io_parms.pid = current->tgid; in cifs_query_mf_symlink()
284 io_parms.tcon = tcon; in cifs_query_mf_symlink()
285 io_parms.offset = 0; in cifs_query_mf_symlink()
286 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink()
288 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
303 struct cifs_io_parms io_parms = {0}; in cifs_create_mf_symlink() local
319 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink()
320 io_parms.pid = current->tgid; in cifs_create_mf_symlink()
[all …]
H A Dsmb2pdu.c4379 static inline bool smb3_use_rdma_offload(struct cifs_io_parms *io_parms) in smb3_use_rdma_offload() argument
4381 struct TCP_Server_Info *server = io_parms->server; in smb3_use_rdma_offload()
4382 struct cifs_tcon *tcon = io_parms->tcon; in smb3_use_rdma_offload()
4401 if (io_parms->length < server->smbd_conn->rdma_readwrite_threshold) in smb3_use_rdma_offload()
4414 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req() argument
4420 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req()
4422 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req()
4431 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
4433 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
4434 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
[all …]
H A Dsmb2proto.h220 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
224 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
H A Dsmb2ops.c3339 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range()
3344 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range()
3345 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range()
3346 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range()
3347 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range()
3348 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range()
3351 io_parms.offset = off; in smb3_simple_fallocate_write_range()
3352 io_parms.length = len; in smb3_simple_fallocate_write_range()
3353 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3354 io_parms in smb3_simple_fallocate_write_range()
3338 struct cifs_io_parms io_parms = {0}; smb3_simple_fallocate_write_range() local
5019 struct cifs_io_parms io_parms = {}; __cifs_sfu_make_node() local
[all...]
H A Dcifssmb.c1381 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1392 __u32 pid = io_parms->pid; in CIFSSMBRead()
1393 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1394 __u64 offset = io_parms->offset; in CIFSSMBRead()
1395 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1396 unsigned int count = io_parms->length; in CIFSSMBRead()
1491 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1500 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1501 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1502 __u64 offset = io_parms in CIFSSMBWrite()
1746 CIFSSMBWrite2(const unsigned int xid,struct cifs_io_parms * io_parms,unsigned int * nbytes,struct kvec * iov,int n_vec) CIFSSMBWrite2() argument
[all...]
H A Dcifsproto.h503 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
506 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
508 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
H A Dfile.c2232 struct cifs_io_parms io_parms = {0}; in cifs_write() local
2267 io_parms.pid = pid; in cifs_write()
2268 io_parms.tcon = tcon; in cifs_write()
2269 io_parms.offset = *offset; in cifs_write()
2270 io_parms.length = len; in cifs_write()
2272 &io_parms, &bytes_written, iov, 1); in cifs_write()
4419 struct cifs_io_parms io_parms = {0}; in cifs_read() local
4471 io_parms.pid = pid; in cifs_read()
4472 io_parms.tcon = tcon; in cifs_read()
4473 io_parms.offset = *offset; in cifs_read()
[all …]
H A Dinode.c514 struct cifs_io_parms io_parms = {0}; in cifs_sfu_type() local
561 io_parms.netfid = fid.netfid; in cifs_sfu_type()
562 io_parms.pid = current->tgid; in cifs_sfu_type()
563 io_parms.tcon = tcon; in cifs_sfu_type()
564 io_parms.offset = 0; in cifs_sfu_type()
565 io_parms.length = 24; in cifs_sfu_type()
567 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type()