Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dlink.c270 struct cifs_io_parms io_parms = {0}; in cifs_query_mf_symlink() local
293 io_parms.netfid = fid.netfid; in cifs_query_mf_symlink()
294 io_parms.pid = current->tgid; in cifs_query_mf_symlink()
295 io_parms.tcon = tcon; in cifs_query_mf_symlink()
296 io_parms.offset = 0; in cifs_query_mf_symlink()
297 io_parms.length = CIFS_MF_SYMLINK_FILE_SIZE; in cifs_query_mf_symlink()
299 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
314 struct cifs_io_parms io_parms = {0}; in cifs_create_mf_symlink() local
329 io_parms.netfid = fid.netfid; in cifs_create_mf_symlink()
330 io_parms.pid = current->tgid; in cifs_create_mf_symlink()
[all …]
Dsmb2pdu.c4063 struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, in smb2_new_read_req() argument
4069 struct TCP_Server_Info *server = io_parms->server; in smb2_new_read_req()
4071 rc = smb2_plain_req_init(SMB2_READ, io_parms->tcon, server, in smb2_new_read_req()
4080 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
4082 req->PersistentFileId = io_parms->persistent_fid; in smb2_new_read_req()
4083 req->VolatileFileId = io_parms->volatile_fid; in smb2_new_read_req()
4088 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
4089 req->Offset = cpu_to_le64(io_parms->offset); in smb2_new_read_req()
4092 io_parms->persistent_fid, in smb2_new_read_req()
4093 io_parms->tcon->tid, io_parms->tcon->ses->Suid, in smb2_new_read_req()
[all …]
Dsmb1ops.c1065 struct cifs_io_parms io_parms; in cifs_make_node() local
1142 io_parms.pid = current->tgid; in cifs_make_node()
1143 io_parms.tcon = tcon; in cifs_make_node()
1144 io_parms.offset = 0; in cifs_make_node()
1145 io_parms.length = sizeof(struct win_dev); in cifs_make_node()
1152 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
1158 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms, in cifs_make_node()
Dsmb2proto.h188 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
192 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
Dcifsproto.h468 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
471 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
473 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
Dsmb2ops.c3433 struct cifs_io_parms io_parms = {0}; in smb3_simple_fallocate_write_range() local
3438 io_parms.netfid = cfile->fid.netfid; in smb3_simple_fallocate_write_range()
3439 io_parms.pid = current->tgid; in smb3_simple_fallocate_write_range()
3440 io_parms.tcon = tcon; in smb3_simple_fallocate_write_range()
3441 io_parms.persistent_fid = cfile->fid.persistent_fid; in smb3_simple_fallocate_write_range()
3442 io_parms.volatile_fid = cfile->fid.volatile_fid; in smb3_simple_fallocate_write_range()
3445 io_parms.offset = off; in smb3_simple_fallocate_write_range()
3446 io_parms.length = len; in smb3_simple_fallocate_write_range()
3447 if (io_parms.length > SMB2_MAX_BUFFER_SIZE) in smb3_simple_fallocate_write_range()
3448 io_parms.length = SMB2_MAX_BUFFER_SIZE; in smb3_simple_fallocate_write_range()
[all …]
Dcifssmb.c1411 CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBRead() argument
1422 __u32 pid = io_parms->pid; in CIFSSMBRead()
1423 __u16 netfid = io_parms->netfid; in CIFSSMBRead()
1424 __u64 offset = io_parms->offset; in CIFSSMBRead()
1425 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead()
1426 unsigned int count = io_parms->length; in CIFSSMBRead()
1521 CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms, in CIFSSMBWrite() argument
1530 __u32 pid = io_parms->pid; in CIFSSMBWrite()
1531 __u16 netfid = io_parms->netfid; in CIFSSMBWrite()
1532 __u64 offset = io_parms->offset; in CIFSSMBWrite()
[all …]
Dfile.c2007 struct cifs_io_parms io_parms = {0}; in cifs_write() local
2042 io_parms.pid = pid; in cifs_write()
2043 io_parms.tcon = tcon; in cifs_write()
2044 io_parms.offset = *offset; in cifs_write()
2045 io_parms.length = len; in cifs_write()
2047 &io_parms, &bytes_written, iov, 1); in cifs_write()
4401 struct cifs_io_parms io_parms = {0}; in cifs_read() local
4453 io_parms.pid = pid; in cifs_read()
4454 io_parms.tcon = tcon; in cifs_read()
4455 io_parms.offset = *offset; in cifs_read()
[all …]
Dinode.c486 struct cifs_io_parms io_parms = {0}; local
532 io_parms.netfid = fid.netfid;
533 io_parms.pid = current->tgid;
534 io_parms.tcon = tcon;
535 io_parms.offset = 0;
536 io_parms.length = 24;
538 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,