Home
last modified time | relevance | path

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

/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.c2128 smb2_new_read_req(struct kvec *iov, struct cifs_io_parms *io_parms, in smb2_new_read_req() argument
2134 rc = small_smb2_init(SMB2_READ, io_parms->tcon, (void **) &req); in smb2_new_read_req()
2137 if (io_parms->tcon->ses->server == NULL) in smb2_new_read_req()
2140 req->hdr.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
2142 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
2143 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
2148 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
2149 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
2170 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
2247 struct cifs_io_parms io_parms; in smb2_async_readv() local
[all …]
Ddir.c618 struct cifs_io_parms io_parms; in cifs_mknod() local
717 io_parms.pid = current->tgid; in cifs_mknod()
718 io_parms.tcon = tcon; in cifs_mknod()
719 io_parms.offset = 0; in cifs_mknod()
720 io_parms.length = sizeof(struct win_dev); in cifs_mknod()
727 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_mknod()
733 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_mknod()
Dsmb2proto.h136 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
140 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
Dcifsproto.h396 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
399 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
401 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
Dfile.c1713 struct cifs_io_parms io_parms; in cifs_write() local
1750 io_parms.pid = pid; in cifs_write()
1751 io_parms.tcon = tcon; in cifs_write()
1752 io_parms.offset = *offset; in cifs_write()
1753 io_parms.length = len; in cifs_write()
1755 &io_parms, &bytes_written, iov, 1); in cifs_write()
3190 struct cifs_io_parms io_parms; in cifs_read() local
3242 io_parms.pid = pid; in cifs_read()
3243 io_parms.tcon = tcon; in cifs_read()
3244 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.c1674 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1684 __u32 pid = io_parms->pid; in CIFSSMBRead()
1685 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1686 __u64 offset = io_parms->offset; in CIFSSMBRead()
1687 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1688 unsigned int count = io_parms->length; in CIFSSMBRead()
1783 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1792 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1793 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1794 __u64 offset = io_parms->offset; in CIFSSMBWrite()
[all …]