Home
last modified time | relevance | path

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

/Linux-v4.19/fs/cifs/
Dlink.c311 struct cifs_io_parms io_parms; in cifs_query_mf_symlink() local
334 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink()
335 io_parms.pid = current->tgid; in cifs_query_mf_symlink()
336 io_parms.tcon = tcon; in cifs_query_mf_symlink()
337 io_parms.offset = 0; in cifs_query_mf_symlink()
338 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink()
340 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
355 struct cifs_io_parms io_parms; in cifs_create_mf_symlink() local
374 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink()
375 io_parms.pid = current->tgid; in cifs_create_mf_symlink()
[all …]
Dsmb2pdu.c2978 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req() argument
2986 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, (void **) &req, in smb2_new_read_req()
2991 server = io_parms->tcon->ses->server; in smb2_new_read_req()
2996 shdr->ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
2998 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
2999 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
3004 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
3005 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
3016 io_parms->tcon->ses->server->dialect == SMB30_PROT_ID; in smb2_new_read_req()
3059 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
[all …]
Ddir.c628 struct cifs_io_parms io_parms; in cifs_mknod() local
727 io_parms.pid = current->tgid; in cifs_mknod()
728 io_parms.tcon = tcon; in cifs_mknod()
729 io_parms.offset = 0; in cifs_mknod()
730 io_parms.length = sizeof(struct win_dev); in cifs_mknod()
737 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_mknod()
743 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.h424 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
427 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
429 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
Dfile.c1717 struct cifs_io_parms io_parms; in cifs_write() local
1754 io_parms.pid = pid; in cifs_write()
1755 io_parms.tcon = tcon; in cifs_write()
1756 io_parms.offset = *offset; in cifs_write()
1757 io_parms.length = len; in cifs_write()
1759 &io_parms, &bytes_written, iov, 1); in cifs_write()
3411 struct cifs_io_parms io_parms; in cifs_read() local
3463 io_parms.pid = pid; in cifs_read()
3464 io_parms.tcon = tcon; in cifs_read()
3465 io_parms.offset = *offset; in cifs_read()
[all …]
Dinode.c441 struct cifs_io_parms io_parms; local
489 io_parms.netfid = fid.netfid;
490 io_parms.pid = current->tgid;
491 io_parms.tcon = tcon;
492 io_parms.offset = 0;
493 io_parms.length = 24;
495 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
Dcifssmb.c1721 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1732 __u32 pid = io_parms->pid; in CIFSSMBRead()
1733 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1734 __u64 offset = io_parms->offset; in CIFSSMBRead()
1735 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1736 unsigned int count = io_parms->length; in CIFSSMBRead()
1831 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1840 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1841 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1842 __u64 offset = io_parms->offset; in CIFSSMBWrite()
[all …]