Searched refs:io_parms (Results 1 – 9 of 9) sorted by relevance
| /Linux-v6.6/fs/smb/client/ |
| D | link.c | 270 struct cifs_io_parms io_parms = {0}; in cifs_query_mf_symlink() local 294 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink() 295 io_parms.pid = current->tgid; in cifs_query_mf_symlink() 296 io_parms.tcon = tcon; in cifs_query_mf_symlink() 297 io_parms.offset = 0; in cifs_query_mf_symlink() 298 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink() 300 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink() 315 struct cifs_io_parms io_parms = {0}; in cifs_create_mf_symlink() local 331 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink() 332 io_parms.pid = current->tgid; in cifs_create_mf_symlink() [all …]
|
| D | smb2pdu.c | 4038 static inline bool smb3_use_rdma_offload(struct cifs_io_parms *io_parms) in smb3_use_rdma_offload() argument 4040 struct TCP_Server_Info *server = io_parms->server; in smb3_use_rdma_offload() 4041 struct cifs_tcon *tcon = io_parms->tcon; in smb3_use_rdma_offload() 4060 if (io_parms->length < server->smbd_conn->rdma_readwrite_threshold) in smb3_use_rdma_offload() 4073 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req() argument 4079 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req() 4081 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req() 4090 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req() 4092 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req() 4093 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req() [all …]
|
| D | smb1ops.c | 1073 struct cifs_io_parms io_parms; in cifs_make_node() local 1151 io_parms.pid = current->tgid; in cifs_make_node() 1152 io_parms.tcon = tcon; in cifs_make_node() 1153 io_parms.offset = 0; in cifs_make_node() 1154 io_parms.length = sizeof(struct win_dev); in cifs_make_node() 1161 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node() 1167 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
|
| D | smb2proto.h | 190 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, 194 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
|
| D | smb2ops.c | 3401 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() local 3406 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range() 3407 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range() 3408 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range() 3409 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range() 3410 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range() 3413 io_parms.offset = off; in smb3_simple_fallocate_write_range() 3414 io_parms.length = len; in smb3_simple_fallocate_write_range() 3415 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range() 3416 io_parms.length = SMB2_MAX_BUFFER_SIZE; in smb3_simple_fallocate_write_range() [all …]
|
| D | cifssmb.c | 1379 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument 1390 __u32 pid = io_parms->pid; in CIFSSMBRead() 1391 __u16 netfid = io_parms->netfid; in CIFSSMBRead() 1392 __u64 offset = io_parms->offset; in CIFSSMBRead() 1393 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead() 1394 unsigned int count = io_parms->length; in CIFSSMBRead() 1489 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument 1498 __u32 pid = io_parms->pid; in CIFSSMBWrite() 1499 __u16 netfid = io_parms->netfid; in CIFSSMBWrite() 1500 __u64 offset = io_parms->offset; in CIFSSMBWrite() [all …]
|
| D | cifsproto.h | 483 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, 486 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, 488 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
|
| D | file.c | 2136 struct cifs_io_parms io_parms = {0}; in cifs_write() local 2171 io_parms.pid = pid; in cifs_write() 2172 io_parms.tcon = tcon; in cifs_write() 2173 io_parms.offset = *offset; in cifs_write() 2174 io_parms.length = len; in cifs_write() 2176 &io_parms, &bytes_written, iov, 1); in cifs_write() 4286 struct cifs_io_parms io_parms = {0}; in cifs_read() local 4338 io_parms.pid = pid; in cifs_read() 4339 io_parms.tcon = tcon; in cifs_read() 4340 io_parms.offset = *offset; in cifs_read() [all …]
|
| D | inode.c | 511 struct cifs_io_parms io_parms = {0}; in cifs_sfu_type() local 558 io_parms.netfid = fid.netfid; in cifs_sfu_type() 559 io_parms.pid = current->tgid; in cifs_sfu_type() 560 io_parms.tcon = tcon; in cifs_sfu_type() 561 io_parms.offset = 0; in cifs_sfu_type() 562 io_parms.length = 24; in cifs_sfu_type() 564 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms, in cifs_sfu_type()
|