Home
last modified time | relevance | path

Searched refs:io_parms (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/fs/smb/client/
H A Dlink.c270 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 in cifs_create_mf_symlink()
354 struct cifs_io_parms io_parms = {0}; smb3_query_mf_symlink() local
417 struct cifs_io_parms io_parms = {0}; smb3_create_mf_symlink() local
[all...]
H A Dsmb2pdu.c4216 static inline bool smb3_use_rdma_offload(struct cifs_io_parms *io_parms) in smb3_use_rdma_offload() argument
4218 struct TCP_Server_Info *server = io_parms->server; in smb3_use_rdma_offload()
4219 struct cifs_tcon *tcon = io_parms->tcon; in smb3_use_rdma_offload()
4238 if (io_parms->length < server->smbd_conn->rdma_readwrite_threshold) in smb3_use_rdma_offload()
4251 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req()
4257 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req()
4259 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req()
4268 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
4270 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
4271 req->VolatileFileId = io_parms in smb2_new_read_req()
4250 smb2_new_read_req(void **buf, unsigned int *total_len, struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, unsigned int remaining_bytes, int request_type) smb2_new_read_req() argument
4435 struct cifs_io_parms io_parms; smb2_async_readv() local
4508 SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, unsigned int *nbytes, char **buf, int *buf_type) SMB2_read() argument
4688 struct cifs_io_parms *io_parms = NULL; smb2_async_writev() local
4837 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 Dsmb1ops.c1046 struct cifs_io_parms io_parms; in cifs_make_node() local
1124 io_parms.pid = current->tgid; in cifs_make_node()
1125 io_parms.tcon = tcon; in cifs_make_node()
1126 io_parms.offset = 0; in cifs_make_node()
1127 io_parms.length = sizeof(struct win_dev); in cifs_make_node()
1134 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
1140 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
H A Dsmb2ops.c3437 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() local
3442 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range()
3443 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range()
3444 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range()
3445 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range()
3446 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range()
3449 io_parms.offset = off; in smb3_simple_fallocate_write_range()
3450 io_parms.length = len; in smb3_simple_fallocate_write_range()
3451 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3452 io_parms in smb3_simple_fallocate_write_range()
5113 struct cifs_io_parms io_parms = {0}; smb2_make_node() local
[all...]
H A Dsmb2proto.h194 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
198 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
H A Dcifsproto.h495 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
498 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
500 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
H A Dfile.c2140 struct cifs_io_parms io_parms = {0}; in cifs_write() local
2175 io_parms.pid = pid; in cifs_write()
2176 io_parms.tcon = tcon; in cifs_write()
2177 io_parms.offset = *offset; in cifs_write()
2178 io_parms.length = len; in cifs_write()
2180 &io_parms, &bytes_written, iov, 1); in cifs_write()
4319 struct cifs_io_parms io_parms = {0}; in cifs_read() local
4371 io_parms.pid = pid; in cifs_read()
4372 io_parms.tcon = tcon; in cifs_read()
4373 io_parms in cifs_read()
[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 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()
/kernel/linux/linux-5.10/fs/cifs/
H A Dlink.c314 struct cifs_io_parms io_parms = {0}; in cifs_query_mf_symlink() local
337 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink()
338 io_parms.pid = current->tgid; in cifs_query_mf_symlink()
339 io_parms.tcon = tcon; in cifs_query_mf_symlink()
340 io_parms.offset = 0; in cifs_query_mf_symlink()
341 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink()
343 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
358 struct cifs_io_parms io_parms = {0}; in cifs_create_mf_symlink() local
373 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink()
374 io_parms in cifs_create_mf_symlink()
395 struct cifs_io_parms io_parms = {0}; smb3_query_mf_symlink() local
456 struct cifs_io_parms io_parms = {0}; smb3_create_mf_symlink() local
[all...]
H A Dsmb2pdu.c3834 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req()
3840 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req()
3842 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req()
3851 shdr->ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
3853 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
3854 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
3859 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
3860 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
3863 io_parms->persistent_fid, in smb2_new_read_req()
3864 io_parms in smb2_new_read_req()
3833 smb2_new_read_req(void **buf, unsigned int *total_len, struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, unsigned int remaining_bytes, int request_type) smb2_new_read_req() argument
4024 struct cifs_io_parms io_parms; smb2_async_readv() local
4090 SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, unsigned int *nbytes, char **buf, int *buf_type) SMB2_read() argument
4400 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 Dsmb1ops.c1035 struct cifs_io_parms io_parms; in cifs_make_node() local
1118 io_parms.pid = current->tgid; in cifs_make_node()
1119 io_parms.tcon = tcon; in cifs_make_node()
1120 io_parms.offset = 0; in cifs_make_node()
1121 io_parms.length = sizeof(struct win_dev); in cifs_make_node()
1128 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
1134 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
H A Dsmb2ops.c3491 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() local
3496 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range()
3497 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range()
3498 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range()
3499 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range()
3500 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range()
3503 io_parms.offset = off; in smb3_simple_fallocate_write_range()
3504 io_parms.length = len; in smb3_simple_fallocate_write_range()
3505 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3506 io_parms in smb3_simple_fallocate_write_range()
5039 struct cifs_io_parms io_parms = {0}; smb2_make_node() local
[all...]
H A Dsmb2proto.h209 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
213 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
H A Dcifsproto.h453 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
456 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
458 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
H A Dinode.c451 struct cifs_io_parms io_parms = {0}; local
497 io_parms.netfid = fid.netfid;
498 io_parms.pid = current->tgid;
499 io_parms.tcon = tcon;
500 io_parms.offset = 0;
501 io_parms.length = 24;
503 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
H A Dfile.c1856 struct cifs_io_parms io_parms = {0}; in cifs_write() local
1891 io_parms.pid = pid; in cifs_write()
1892 io_parms.tcon = tcon; in cifs_write()
1893 io_parms.offset = *offset; in cifs_write()
1894 io_parms.length = len; in cifs_write()
1896 &io_parms, &bytes_written, iov, 1); in cifs_write()
4056 struct cifs_io_parms io_parms = {0}; in cifs_read() local
4108 io_parms.pid = pid; in cifs_read()
4109 io_parms.tcon = tcon; in cifs_read()
4110 io_parms in cifs_read()
[all...]
H A Dcifssmb.c1740 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1751 __u32 pid = io_parms->pid; in CIFSSMBRead()
1752 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1753 __u64 offset = io_parms->offset; in CIFSSMBRead()
1754 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1755 unsigned int count = io_parms->length; in CIFSSMBRead()
1850 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1859 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1860 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1861 __u64 offset = io_parms in CIFSSMBWrite()
2284 CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms, unsigned int *nbytes, struct kvec *iov, int n_vec) CIFSSMBWrite2() argument
[all...]

Completed in 68 milliseconds