Home
last modified time | relevance | path

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

/Linux-v5.15/fs/cifs/
Dlink.c299 struct cifs_io_parms io_parms = {0}; in cifs_query_mf_symlink() local
322 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink()
323 io_parms.pid = current->tgid; in cifs_query_mf_symlink()
324 io_parms.tcon = tcon; in cifs_query_mf_symlink()
325 io_parms.offset = 0; in cifs_query_mf_symlink()
326 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink()
328 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
343 struct cifs_io_parms io_parms = {0}; in cifs_create_mf_symlink() local
358 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink()
359 io_parms.pid = current->tgid; in cifs_create_mf_symlink()
[all …]
Dsmb2pdu.c3889 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req() argument
3895 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req()
3897 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req()
3906 shdr->ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
3908 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
3909 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
3914 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
3915 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
3918 io_parms->persistent_fid, in smb2_new_read_req()
3919 io_parms->tcon->tid, io_parms->tcon->ses->Suid, in smb2_new_read_req()
[all …]
Dsmb1ops.c1034 struct cifs_io_parms io_parms; in cifs_make_node() local
1117 io_parms.pid = current->tgid; in cifs_make_node()
1118 io_parms.tcon = tcon; in cifs_make_node()
1119 io_parms.offset = 0; in cifs_make_node()
1120 io_parms.length = sizeof(struct win_dev); in cifs_make_node()
1127 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
1133 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
Dsmb2proto.h198 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
202 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
Dcifsproto.h460 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
463 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
465 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
Dsmb2ops.c3627 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() local
3632 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range()
3633 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range()
3634 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range()
3635 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range()
3636 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range()
3639 io_parms.offset = off; in smb3_simple_fallocate_write_range()
3640 io_parms.length = len; in smb3_simple_fallocate_write_range()
3641 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3642 io_parms.length = SMB2_MAX_BUFFER_SIZE; in smb3_simple_fallocate_write_range()
[all …]
Dcifssmb.c1627 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1638 __u32 pid = io_parms->pid; in CIFSSMBRead()
1639 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1640 __u64 offset = io_parms->offset; in CIFSSMBRead()
1641 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1642 unsigned int count = io_parms->length; in CIFSSMBRead()
1737 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1746 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1747 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1748 __u64 offset = io_parms->offset; in CIFSSMBWrite()
[all …]
Dfile.c1925 struct cifs_io_parms io_parms = {0}; in cifs_write() local
1960 io_parms.pid = pid; in cifs_write()
1961 io_parms.tcon = tcon; in cifs_write()
1962 io_parms.offset = *offset; in cifs_write()
1963 io_parms.length = len; in cifs_write()
1965 &io_parms, &bytes_written, iov, 1); in cifs_write()
4092 struct cifs_io_parms io_parms = {0}; in cifs_read() local
4144 io_parms.pid = pid; in cifs_read()
4145 io_parms.tcon = tcon; in cifs_read()
4146 io_parms.offset = *offset; in cifs_read()
[all …]
Dinode.c442 struct cifs_io_parms io_parms = {0}; local
488 io_parms.netfid = fid.netfid;
489 io_parms.pid = current->tgid;
490 io_parms.tcon = tcon;
491 io_parms.offset = 0;
492 io_parms.length = 24;
494 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,