| /Linux-v5.4/fs/cifs/ |
| D | link.c | 310 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local 315 oparms.tcon = tcon; in cifs_query_mf_symlink() 316 oparms.cifs_sb = cifs_sb; in cifs_query_mf_symlink() 317 oparms.desired_access = GENERIC_READ; in cifs_query_mf_symlink() 318 oparms.create_options = CREATE_NOT_DIR; in cifs_query_mf_symlink() 319 oparms.disposition = FILE_OPEN; in cifs_query_mf_symlink() 320 oparms.path = path; in cifs_query_mf_symlink() 321 oparms.fid = &fid; in cifs_query_mf_symlink() 322 oparms.reconnect = false; in cifs_query_mf_symlink() 324 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 = 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 | 38 smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, in smb2_open_file() argument 45 struct cifs_fid *fid = oparms->fid; in smb2_open_file() 48 smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); in smb2_open_file() 61 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file() 64 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, NULL, in smb2_open_file() 70 if (oparms->tcon->use_resilient) { in smb2_open_file() 73 cpu_to_le32(oparms->tcon->handle_timeout); in smb2_open_file() 75 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file() 83 oparms->tcon->use_resilient = false; in smb2_open_file() 93 rc = SMB2_get_srv_num(xid, oparms->tcon, in smb2_open_file()
|
| D | smb2ops.c | 640 struct cifs_open_parms oparms; in open_shroot() local 682 oparms.tcon = tcon; in open_shroot() 683 oparms.create_options = 0; in open_shroot() 684 oparms.desired_access = FILE_READ_ATTRIBUTES; in open_shroot() 685 oparms.disposition = FILE_OPEN; in open_shroot() 686 oparms.fid = pfid; in open_shroot() 687 oparms.reconnect = false; in open_shroot() 689 rc = SMB2_open_init(tcon, &rqst[0], &oplock, &oparms, &utf16_path); in open_shroot() 757 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_shroot() 758 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_shroot() [all …]
|
| D | cifsacl.c | 1063 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local 1074 oparms.tcon = tcon; in get_cifs_acl_by_path() 1075 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path() 1076 oparms.desired_access = READ_CONTROL; in get_cifs_acl_by_path() 1077 oparms.create_options = create_options; in get_cifs_acl_by_path() 1078 oparms.disposition = FILE_OPEN; in get_cifs_acl_by_path() 1079 oparms.path = path; in get_cifs_acl_by_path() 1080 oparms.fid = &fid; in get_cifs_acl_by_path() 1081 oparms.reconnect = false; in get_cifs_acl_by_path() 1083 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() [all …]
|
| D | dir.c | 240 struct cifs_open_parms oparms; in cifs_do_create() local 363 oparms.tcon = tcon; in cifs_do_create() 364 oparms.cifs_sb = cifs_sb; in cifs_do_create() 365 oparms.desired_access = desired_access; in cifs_do_create() 366 oparms.create_options = create_options; in cifs_do_create() 367 oparms.disposition = disposition; in cifs_do_create() 368 oparms.path = full_path; in cifs_do_create() 369 oparms.fid = fid; in cifs_do_create() 370 oparms.reconnect = false; in cifs_do_create() 371 oparms.mode = mode; in cifs_do_create() [all …]
|
| D | smb2inode.c | 60 struct cifs_open_parms oparms; in smb2_compound_op() local 98 oparms.tcon = tcon; in smb2_compound_op() 99 oparms.desired_access = desired_access; in smb2_compound_op() 100 oparms.disposition = create_disposition; in smb2_compound_op() 101 oparms.create_options = create_options; in smb2_compound_op() 103 oparms.create_options |= CREATE_OPEN_BACKUP_INTENT; in smb2_compound_op() 104 oparms.fid = &fid; in smb2_compound_op() 105 oparms.reconnect = false; in smb2_compound_op() 106 oparms.mode = mode; in smb2_compound_op() 111 rc = SMB2_open_init(tcon, &rqst[num_rqst], &oplock, &oparms, in smb2_compound_op()
|
| D | inode.c | 446 struct cifs_open_parms oparms; local 472 oparms.tcon = tcon; 473 oparms.cifs_sb = cifs_sb; 474 oparms.desired_access = GENERIC_READ; 475 oparms.create_options = CREATE_NOT_DIR; 477 oparms.create_options |= CREATE_OPEN_BACKUP_INTENT; 478 oparms.disposition = FILE_OPEN; 479 oparms.path = path; 480 oparms.fid = &fid; 481 oparms.reconnect = false; [all …]
|
| D | smb2pdu.c | 1961 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument 1963 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf() 1984 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf() 2032 struct cifs_open_parms *oparms) in add_durable_v2_context() argument 2037 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context() 2052 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument 2058 oparms->reconnect = false; in add_durable_reconnect_v2_context() 2060 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context() 2076 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context() argument 2082 if (oparms->reconnect) in add_durable_context() [all …]
|
| D | smb2proto.h | 111 struct cifs_open_parms *oparms, 136 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, 141 __u8 *oplock, struct cifs_open_parms *oparms,
|
| D | file.c | 186 struct cifs_open_parms oparms; in cifs_nt_open() local 235 oparms.tcon = tcon; in cifs_nt_open() 236 oparms.cifs_sb = cifs_sb; in cifs_nt_open() 237 oparms.desired_access = desired_access; in cifs_nt_open() 238 oparms.create_options = create_options; in cifs_nt_open() 239 oparms.disposition = disposition; in cifs_nt_open() 240 oparms.path = full_path; in cifs_nt_open() 241 oparms.fid = fid; in cifs_nt_open() 242 oparms.reconnect = false; in cifs_nt_open() 244 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open() [all …]
|
| D | cifssmb.c | 1394 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1403 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() 1404 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() 1407 int create_options = oparms->create_options; in CIFS_open() 1408 int desired_access = oparms->desired_access; in CIFS_open() 1409 int disposition = oparms->disposition; in CIFS_open() 1410 const char *path = oparms->path; in CIFS_open() 1491 oparms->fid->netfid = rsp->Fid; in CIFS_open()
|
| D | cifsproto.h | 415 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|