Home
last modified time | relevance | path

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

/Linux-v5.10/fs/cifs/
Dlink.c311 struct cifs_io_parms io_parms = {0}; in cifs_query_mf_symlink() local
334 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink()
335 io_parms.pid = current->tgid; in cifs_query_mf_symlink()
336 io_parms.tcon = tcon; in cifs_query_mf_symlink()
337 io_parms.offset = 0; in cifs_query_mf_symlink()
338 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink()
340 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
355 struct cifs_io_parms io_parms = {0}; in cifs_create_mf_symlink() local
370 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink()
371 io_parms.pid = current->tgid; in cifs_create_mf_symlink()
[all …]
Dsmb2pdu.c3808 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req() argument
3814 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req()
3816 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req()
3825 shdr->ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
3827 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
3828 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
3833 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
3834 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
3837 io_parms->persistent_fid, in smb2_new_read_req()
3838 io_parms->tcon->tid, io_parms->tcon->ses->Suid, in smb2_new_read_req()
[all …]
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()
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,
Dcifsproto.h451 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
454 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
456 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
Dfile.c1852 struct cifs_io_parms io_parms = {0}; in cifs_write() local
1887 io_parms.pid = pid; in cifs_write()
1888 io_parms.tcon = tcon; in cifs_write()
1889 io_parms.offset = *offset; in cifs_write()
1890 io_parms.length = len; in cifs_write()
1892 &io_parms, &bytes_written, iov, 1); in cifs_write()
4017 struct cifs_io_parms io_parms = {0}; in cifs_read() local
4069 io_parms.pid = pid; in cifs_read()
4070 io_parms.tcon = tcon; in cifs_read()
4071 io_parms.offset = *offset; in cifs_read()
[all …]
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->offset; in CIFSSMBWrite()
[all …]
Dinode.c452 struct cifs_io_parms io_parms = {0}; local
498 io_parms.netfid = fid.netfid;
499 io_parms.pid = current->tgid;
500 io_parms.tcon = tcon;
501 io_parms.offset = 0;
502 io_parms.length = 24;
504 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
Dsmb2ops.c4850 struct cifs_io_parms io_parms = {0}; in smb2_make_node() local
4908 io_parms.pid = current->tgid; in smb2_make_node()
4909 io_parms.tcon = tcon; in smb2_make_node()
4910 io_parms.offset = 0; in smb2_make_node()
4911 io_parms.length = sizeof(struct win_dev); in smb2_make_node()
4918 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in smb2_make_node()
4924 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in smb2_make_node()