/linux-6.1.9/fs/cifs/ |
D | link.c | 269 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local 274 oparms.tcon = tcon; in cifs_query_mf_symlink() 275 oparms.cifs_sb = cifs_sb; in cifs_query_mf_symlink() 276 oparms.desired_access = GENERIC_READ; in cifs_query_mf_symlink() 277 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR); in cifs_query_mf_symlink() 278 oparms.disposition = FILE_OPEN; in cifs_query_mf_symlink() 279 oparms.path = path; in cifs_query_mf_symlink() 280 oparms.fid = &fid; in cifs_query_mf_symlink() 281 oparms.reconnect = false; in cifs_query_mf_symlink() 283 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink() [all …]
|
D | smb1ops.c | 572 struct cifs_open_parms oparms; in cifs_query_path_info() local 579 oparms.tcon = tcon; in cifs_query_path_info() 580 oparms.cifs_sb = cifs_sb; in cifs_query_path_info() 581 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_path_info() 582 oparms.create_options = cifs_create_options(cifs_sb, 0); in cifs_query_path_info() 583 oparms.disposition = FILE_OPEN; in cifs_query_path_info() 584 oparms.path = full_path; in cifs_query_path_info() 585 oparms.fid = &fid; in cifs_query_path_info() 586 oparms.reconnect = false; in cifs_query_path_info() 589 tmprc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_path_info() [all …]
|
D | smb2file.c | 99 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, void *buf) in smb2_open_file() argument 109 struct cifs_fid *fid = oparms->fid; in smb2_open_file() 112 smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); in smb2_open_file() 116 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file() 119 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, NULL, &err_iov, in smb2_open_file() 127 rc = smb2_parse_symlink_response(oparms->cifs_sb, &err_iov, in smb2_open_file() 131 oparms->create_options |= OPEN_REPARSE_POINT; in smb2_open_file() 132 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, in smb2_open_file() 134 oparms->create_options &= ~OPEN_REPARSE_POINT; in smb2_open_file() 142 if (oparms->tcon->use_resilient) { in smb2_open_file() [all …]
|
D | smb2ops.c | 728 struct cifs_open_parms oparms; in smb3_qfs_tcon() local 732 oparms.tcon = tcon; in smb3_qfs_tcon() 733 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb3_qfs_tcon() 734 oparms.disposition = FILE_OPEN; in smb3_qfs_tcon() 735 oparms.create_options = cifs_create_options(cifs_sb, 0); in smb3_qfs_tcon() 736 oparms.fid = &fid; in smb3_qfs_tcon() 737 oparms.reconnect = false; in smb3_qfs_tcon() 743 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon() 771 struct cifs_open_parms oparms; in smb2_qfs_tcon() local 774 oparms.tcon = tcon; in smb2_qfs_tcon() [all …]
|
D | cached_dir.c | 112 struct cifs_open_parms oparms; in open_cached_dir() local 184 oparms.tcon = tcon; in open_cached_dir() 185 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_FILE); in open_cached_dir() 186 oparms.desired_access = FILE_READ_ATTRIBUTES; in open_cached_dir() 187 oparms.disposition = FILE_OPEN; in open_cached_dir() 188 oparms.fid = pfid; in open_cached_dir() 189 oparms.reconnect = false; in open_cached_dir() 192 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir() 227 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_cached_dir() 228 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_cached_dir() [all …]
|
D | dir.c | 182 struct cifs_open_parms oparms; local 298 oparms.tcon = tcon; 299 oparms.cifs_sb = cifs_sb; 300 oparms.desired_access = desired_access; 301 oparms.create_options = cifs_create_options(cifs_sb, create_options); 302 oparms.disposition = disposition; 303 oparms.path = full_path; 304 oparms.fid = fid; 305 oparms.reconnect = false; 306 oparms.mode = mode; [all …]
|
D | cifsacl.c | 1418 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local 1426 oparms.tcon = tcon; in get_cifs_acl_by_path() 1427 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path() 1428 oparms.desired_access = READ_CONTROL; in get_cifs_acl_by_path() 1429 oparms.create_options = cifs_create_options(cifs_sb, 0); in get_cifs_acl_by_path() 1430 oparms.disposition = FILE_OPEN; in get_cifs_acl_by_path() 1431 oparms.path = path; in get_cifs_acl_by_path() 1432 oparms.fid = &fid; in get_cifs_acl_by_path() 1433 oparms.reconnect = false; in get_cifs_acl_by_path() 1435 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() [all …]
|
D | smb2inode.c | 40 struct cifs_open_parms oparms; member 107 vars->oparms.tcon = tcon; in smb2_compound_op() 108 vars->oparms.desired_access = desired_access; in smb2_compound_op() 109 vars->oparms.disposition = create_disposition; in smb2_compound_op() 110 vars->oparms.create_options = cifs_create_options(cifs_sb, create_options); in smb2_compound_op() 111 vars->oparms.fid = &fid; in smb2_compound_op() 112 vars->oparms.reconnect = false; in smb2_compound_op() 113 vars->oparms.mode = mode; in smb2_compound_op() 114 vars->oparms.cifs_sb = cifs_sb; in smb2_compound_op() 119 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
|
D | inode.c | 485 struct cifs_open_parms oparms; local 511 oparms.tcon = tcon; 512 oparms.cifs_sb = cifs_sb; 513 oparms.desired_access = GENERIC_READ; 514 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR); 515 oparms.disposition = FILE_OPEN; 516 oparms.path = path; 517 oparms.fid = &fid; 518 oparms.reconnect = false; 524 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); [all …]
|
D | smb2pdu.c | 2205 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument 2207 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf() 2228 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf() 2276 struct cifs_open_parms *oparms) in add_durable_v2_context() argument 2281 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context() 2296 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument 2302 oparms->reconnect = false; in add_durable_reconnect_v2_context() 2304 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context() 2320 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context() argument 2326 if (oparms->reconnect) in add_durable_context() [all …]
|
D | smb2proto.h | 95 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 123 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, 131 __u8 *oplock, struct cifs_open_parms *oparms,
|
D | file.c | 221 struct cifs_open_parms oparms; in cifs_nt_open() local 263 oparms.tcon = tcon; in cifs_nt_open() 264 oparms.cifs_sb = cifs_sb; in cifs_nt_open() 265 oparms.desired_access = desired_access; in cifs_nt_open() 266 oparms.create_options = cifs_create_options(cifs_sb, create_options); in cifs_nt_open() 267 oparms.disposition = disposition; in cifs_nt_open() 268 oparms.path = full_path; in cifs_nt_open() 269 oparms.fid = fid; in cifs_nt_open() 270 oparms.reconnect = false; in cifs_nt_open() 272 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open() [all …]
|
D | cifssmb.c | 1170 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1179 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() 1180 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() 1183 int create_options = oparms->create_options; in CIFS_open() 1184 int desired_access = oparms->desired_access; in CIFS_open() 1185 int disposition = oparms->disposition; in CIFS_open() 1186 const char *path = oparms->path; in CIFS_open() 1267 oparms->fid->netfid = rsp->Fid; in CIFS_open() 1268 oparms->fid->access = desired_access; in CIFS_open() 5313 struct cifs_open_parms oparms; in CIFSSMBSetPathInfoFB() local [all …]
|
D | cifsproto.h | 450 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|
D | cifsglob.h | 387 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
|