Home
last modified time | relevance | path

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

/fs/cifs/
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.pid = current->tgid; in cifs_create_mf_symlink()
[all …]
Dsmb2pdu.c3853 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req() argument
3859 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req()
3861 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req()
3870 shdr->ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
3872 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
3873 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
3878 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
3879 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
3882 io_parms->persistent_fid, in smb2_new_read_req()
3883 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()
Dsmb2ops.c3494 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() local
3499 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range()
3500 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range()
3501 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range()
3502 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range()
3503 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range()
3506 io_parms.offset = off; in smb3_simple_fallocate_write_range()
3507 io_parms.length = len; in smb3_simple_fallocate_write_range()
3508 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3509 io_parms.length = SMB2_MAX_BUFFER_SIZE; in smb3_simple_fallocate_write_range()
[all …]
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.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,
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.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.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,