Home
last modified time | relevance | path

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

/linux-4.4.14/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.c1885 smb2_new_read_req(struct kvec *iov, struct cifs_io_parms *io_parms, in smb2_new_read_req() argument
1891 rc = small_smb2_init(SMB2_READ, io_parms->tcon, (void **) &req); in smb2_new_read_req()
1894 if (io_parms->tcon->ses->server == NULL) in smb2_new_read_req()
1897 req->hdr.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
1899 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
1900 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
1905 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
1906 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
1927 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
2004 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.h392 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
395 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
398 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.c1664 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1674 __u32 pid = io_parms->pid; in CIFSSMBRead()
1675 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1676 __u64 offset = io_parms->offset; in CIFSSMBRead()
1677 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1678 unsigned int count = io_parms->length; in CIFSSMBRead()
1773 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1783 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1784 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1785 __u64 offset = io_parms->offset; in CIFSSMBWrite()
[all …]