Home
last modified time | relevance | path

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

/linux-4.19.296/fs/cifs/
Dlink.c314 struct cifs_io_parms io_parms; 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; in cifs_create_mf_symlink() local
377 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink()
378 io_parms.pid = current->tgid; in cifs_create_mf_symlink()
[all …]
Dsmb2pdu.c3055 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req() argument
3063 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, (void **) &req, in smb2_new_read_req()
3068 server = io_parms->tcon->ses->server; in smb2_new_read_req()
3073 shdr->ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
3075 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
3076 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
3081 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
3082 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
3093 io_parms->tcon->ses->server->dialect == SMB30_PROT_ID; in smb2_new_read_req()
3136 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
[all …]
Ddir.c627 struct cifs_io_parms io_parms; in cifs_mknod() local
726 io_parms.pid = current->tgid; in cifs_mknod()
727 io_parms.tcon = tcon; in cifs_mknod()
728 io_parms.offset = 0; in cifs_mknod()
729 io_parms.length = sizeof(struct win_dev); in cifs_mknod()
736 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_mknod()
742 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_mknod()
Dsmb2proto.h172 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
176 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
Dcifsproto.h425 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
428 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
430 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
Dfile.c1783 struct cifs_io_parms io_parms; in cifs_write() local
1820 io_parms.pid = pid; in cifs_write()
1821 io_parms.tcon = tcon; in cifs_write()
1822 io_parms.offset = *offset; in cifs_write()
1823 io_parms.length = len; in cifs_write()
1825 &io_parms, &bytes_written, iov, 1); in cifs_write()
3494 struct cifs_io_parms io_parms; in cifs_read() local
3546 io_parms.pid = pid; in cifs_read()
3547 io_parms.tcon = tcon; in cifs_read()
3548 io_parms.offset = *offset; in cifs_read()
[all …]
Dinode.c443 struct cifs_io_parms io_parms; local
491 io_parms.netfid = fid.netfid;
492 io_parms.pid = current->tgid;
493 io_parms.tcon = tcon;
494 io_parms.offset = 0;
495 io_parms.length = 24;
497 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
Dcifssmb.c1733 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1744 __u32 pid = io_parms->pid; in CIFSSMBRead()
1745 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1746 __u64 offset = io_parms->offset; in CIFSSMBRead()
1747 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1748 unsigned int count = io_parms->length; in CIFSSMBRead()
1843 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1852 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1853 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1854 __u64 offset = io_parms->offset; in CIFSSMBWrite()
[all …]