Home
last modified time | relevance | path

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

/linux-4.1.27/fs/cifs/
Dlink.c333 struct cifs_io_parms io_parms; in cifs_query_mf_symlink() local
356 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink()
357 io_parms.pid = current->tgid; in cifs_query_mf_symlink()
358 io_parms.tcon = tcon; in cifs_query_mf_symlink()
359 io_parms.offset = 0; in cifs_query_mf_symlink()
360 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink()
362 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
377 struct cifs_io_parms io_parms; in cifs_create_mf_symlink() local
396 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink()
397 io_parms.pid = current->tgid; in cifs_create_mf_symlink()
[all …]
Dsmb2pdu.c1697 smb2_new_read_req(struct kvec *iov, struct cifs_io_parms *io_parms, in smb2_new_read_req() argument
1703 rc = small_smb2_init(SMB2_READ, io_parms->tcon, (void **) &req); in smb2_new_read_req()
1706 if (io_parms->tcon->ses->server == NULL) in smb2_new_read_req()
1709 req->hdr.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
1711 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
1712 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
1717 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
1718 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
1739 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
1814 struct cifs_io_parms io_parms; in smb2_async_readv() local
[all …]
Ddir.c577 struct cifs_io_parms io_parms; in cifs_mknod() local
675 io_parms.pid = current->tgid; in cifs_mknod()
676 io_parms.tcon = tcon; in cifs_mknod()
677 io_parms.offset = 0; in cifs_mknod()
678 io_parms.length = sizeof(struct win_dev); in cifs_mknod()
685 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_mknod()
691 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_mknod()
Dsmb2proto.h130 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
134 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
Dcifsproto.h394 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
397 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
400 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
Dfile.c1646 struct cifs_io_parms io_parms; in cifs_write() local
1683 io_parms.pid = pid; in cifs_write()
1684 io_parms.tcon = tcon; in cifs_write()
1685 io_parms.offset = *offset; in cifs_write()
1686 io_parms.length = len; in cifs_write()
1688 &io_parms, &bytes_written, iov, 1); in cifs_write()
3129 struct cifs_io_parms io_parms; in cifs_read() local
3181 io_parms.pid = pid; in cifs_read()
3182 io_parms.tcon = tcon; in cifs_read()
3183 io_parms.offset = *offset; in cifs_read()
[all …]
Dinode.c436 struct cifs_io_parms io_parms; local
482 io_parms.netfid = fid.netfid;
483 io_parms.pid = current->tgid;
484 io_parms.tcon = tcon;
485 io_parms.offset = 0;
486 io_parms.length = 24;
488 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
Dcifssmb.c1661 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1671 __u32 pid = io_parms->pid; in CIFSSMBRead()
1672 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1673 __u64 offset = io_parms->offset; in CIFSSMBRead()
1674 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1675 unsigned int count = io_parms->length; in CIFSSMBRead()
1770 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1780 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1781 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1782 __u64 offset = io_parms->offset; in CIFSSMBWrite()
[all …]