| /Linux-v5.15/fs/cifs/ |
| D | link.c | 298 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local 303 oparms.tcon = tcon; in cifs_query_mf_symlink() 304 oparms.cifs_sb = cifs_sb; in cifs_query_mf_symlink() 305 oparms.desired_access = GENERIC_READ; in cifs_query_mf_symlink() 306 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR); in cifs_query_mf_symlink() 307 oparms.disposition = FILE_OPEN; in cifs_query_mf_symlink() 308 oparms.path = path; in cifs_query_mf_symlink() 309 oparms.fid = &fid; in cifs_query_mf_symlink() 310 oparms.reconnect = false; in cifs_query_mf_symlink() 312 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink() [all …]
|
| D | smb1ops.c | 565 struct cifs_open_parms oparms; in cifs_query_path_info() local 567 oparms.tcon = tcon; in cifs_query_path_info() 568 oparms.cifs_sb = cifs_sb; in cifs_query_path_info() 569 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_path_info() 570 oparms.create_options = cifs_create_options(cifs_sb, 0); in cifs_query_path_info() 571 oparms.disposition = FILE_OPEN; in cifs_query_path_info() 572 oparms.path = full_path; in cifs_query_path_info() 573 oparms.fid = &fid; in cifs_query_path_info() 574 oparms.reconnect = false; in cifs_query_path_info() 577 tmprc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_path_info() [all …]
|
| D | smb2file.c | 25 smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, in smb2_open_file() argument 32 struct cifs_fid *fid = oparms->fid; in smb2_open_file() 35 smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); in smb2_open_file() 48 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file() 51 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, NULL, in smb2_open_file() 57 if (oparms->tcon->use_resilient) { in smb2_open_file() 60 cpu_to_le32(oparms->tcon->handle_timeout); in smb2_open_file() 62 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file() 70 oparms->tcon->use_resilient = false; in smb2_open_file() 80 rc = SMB2_get_srv_num(xid, oparms->tcon, in smb2_open_file()
|
| D | smb2ops.c | 750 struct cifs_open_parms oparms; in open_cached_dir() local 811 oparms.tcon = tcon; in open_cached_dir() 812 oparms.create_options = cifs_create_options(cifs_sb, 0); in open_cached_dir() 813 oparms.desired_access = FILE_READ_ATTRIBUTES; in open_cached_dir() 814 oparms.disposition = FILE_OPEN; in open_cached_dir() 815 oparms.fid = pfid; in open_cached_dir() 816 oparms.reconnect = false; in open_cached_dir() 819 &rqst[0], &oplock, &oparms, &utf16_path); in open_cached_dir() 888 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_cached_dir() 889 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_cached_dir() [all …]
|
| D | dir.c | 183 struct cifs_open_parms oparms; in cifs_do_create() local 303 oparms.tcon = tcon; in cifs_do_create() 304 oparms.cifs_sb = cifs_sb; in cifs_do_create() 305 oparms.desired_access = desired_access; in cifs_do_create() 306 oparms.create_options = cifs_create_options(cifs_sb, create_options); in cifs_do_create() 307 oparms.disposition = disposition; in cifs_do_create() 308 oparms.path = full_path; in cifs_do_create() 309 oparms.fid = fid; in cifs_do_create() 310 oparms.reconnect = false; in cifs_do_create() 311 oparms.mode = mode; in cifs_do_create() [all …]
|
| D | cifsacl.c | 1414 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local 1422 oparms.tcon = tcon; in get_cifs_acl_by_path() 1423 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path() 1424 oparms.desired_access = READ_CONTROL; in get_cifs_acl_by_path() 1425 oparms.create_options = cifs_create_options(cifs_sb, 0); in get_cifs_acl_by_path() 1426 oparms.disposition = FILE_OPEN; in get_cifs_acl_by_path() 1427 oparms.path = path; in get_cifs_acl_by_path() 1428 oparms.fid = &fid; in get_cifs_acl_by_path() 1429 oparms.reconnect = false; in get_cifs_acl_by_path() 1431 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() [all …]
|
| D | smb2inode.c | 38 struct cifs_open_parms oparms; member 98 vars->oparms.tcon = tcon; in smb2_compound_op() 99 vars->oparms.desired_access = desired_access; in smb2_compound_op() 100 vars->oparms.disposition = create_disposition; in smb2_compound_op() 101 vars->oparms.create_options = cifs_create_options(cifs_sb, create_options); in smb2_compound_op() 102 vars->oparms.fid = &fid; in smb2_compound_op() 103 vars->oparms.reconnect = false; in smb2_compound_op() 104 vars->oparms.mode = mode; in smb2_compound_op() 105 vars->oparms.cifs_sb = cifs_sb; in smb2_compound_op() 110 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
|
| D | inode.c | 441 struct cifs_open_parms oparms; local 467 oparms.tcon = tcon; 468 oparms.cifs_sb = cifs_sb; 469 oparms.desired_access = GENERIC_READ; 470 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR); 471 oparms.disposition = FILE_OPEN; 472 oparms.path = path; 473 oparms.fid = &fid; 474 oparms.reconnect = false; 480 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); [all …]
|
| D | smb2pdu.c | 2128 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument 2130 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf() 2151 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf() 2199 struct cifs_open_parms *oparms) in add_durable_v2_context() argument 2204 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context() 2219 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument 2225 oparms->reconnect = false; in add_durable_reconnect_v2_context() 2227 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context() 2243 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context() argument 2249 if (oparms->reconnect) in add_durable_context() [all …]
|
| D | file.c | 176 struct cifs_open_parms oparms; in cifs_nt_open() local 222 oparms.tcon = tcon; in cifs_nt_open() 223 oparms.cifs_sb = cifs_sb; in cifs_nt_open() 224 oparms.desired_access = desired_access; in cifs_nt_open() 225 oparms.create_options = cifs_create_options(cifs_sb, create_options); in cifs_nt_open() 226 oparms.disposition = disposition; in cifs_nt_open() 227 oparms.path = full_path; in cifs_nt_open() 228 oparms.fid = fid; in cifs_nt_open() 229 oparms.reconnect = false; in cifs_nt_open() 231 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open() [all …]
|
| D | smb2proto.h | 109 struct cifs_open_parms *oparms, 134 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, 142 __u8 *oplock, struct cifs_open_parms *oparms,
|
| D | cifssmb.c | 1208 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1217 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() 1218 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() 1221 int create_options = oparms->create_options; in CIFS_open() 1222 int desired_access = oparms->desired_access; in CIFS_open() 1223 int disposition = oparms->disposition; in CIFS_open() 1224 const char *path = oparms->path; in CIFS_open() 1305 oparms->fid->netfid = rsp->Fid; in CIFS_open() 1306 oparms->fid->access = desired_access; in CIFS_open() 5706 struct cifs_open_parms oparms; in CIFSSMBSetPathInfoFB() local [all …]
|
| D | cifsproto.h | 442 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|