/kernel/linux/linux-5.10/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 = cifs_create_options(cifs_sb, 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 | 564 struct cifs_open_parms oparms; in cifs_query_path_info() local 566 oparms.tcon = tcon; in cifs_query_path_info() 567 oparms.cifs_sb = cifs_sb; in cifs_query_path_info() 568 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_path_info() 569 oparms.create_options = cifs_create_options(cifs_sb, 0); in cifs_query_path_info() 570 oparms.disposition = FILE_OPEN; in cifs_query_path_info() 571 oparms.path = full_path; in cifs_query_path_info() 572 oparms.fid = &fid; in cifs_query_path_info() 573 oparms.reconnect = false; in cifs_query_path_info() 576 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 | 678 struct cifs_open_parms oparms; in open_shroot() local 727 oparms.tcon = tcon; in open_shroot() 728 oparms.create_options = cifs_create_options(cifs_sb, 0); in open_shroot() 729 oparms.desired_access = FILE_READ_ATTRIBUTES; in open_shroot() 730 oparms.disposition = FILE_OPEN; in open_shroot() 731 oparms.fid = pfid; in open_shroot() 732 oparms.reconnect = false; in open_shroot() 735 &rqst[0], &oplock, &oparms, &utf16_path); in open_shroot() 806 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_shroot() 807 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_shroot() [all …]
|
D | cifsacl.c | 1137 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local 1145 oparms.tcon = tcon; in get_cifs_acl_by_path() 1146 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path() 1147 oparms.desired_access = READ_CONTROL; in get_cifs_acl_by_path() 1148 oparms.create_options = cifs_create_options(cifs_sb, 0); in get_cifs_acl_by_path() 1149 oparms.disposition = FILE_OPEN; in get_cifs_acl_by_path() 1150 oparms.path = path; in get_cifs_acl_by_path() 1151 oparms.fid = &fid; in get_cifs_acl_by_path() 1152 oparms.reconnect = false; in get_cifs_acl_by_path() 1154 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 358 oparms.tcon = tcon; in cifs_do_create() 359 oparms.cifs_sb = cifs_sb; in cifs_do_create() 360 oparms.desired_access = desired_access; in cifs_do_create() 361 oparms.create_options = cifs_create_options(cifs_sb, create_options); in cifs_do_create() 362 oparms.disposition = disposition; in cifs_do_create() 363 oparms.path = full_path; in cifs_do_create() 364 oparms.fid = fid; in cifs_do_create() 365 oparms.reconnect = false; in cifs_do_create() 366 oparms.mode = mode; in cifs_do_create() [all …]
|
D | smb2inode.c | 51 struct cifs_open_parms oparms; member 111 vars->oparms.tcon = tcon; in smb2_compound_op() 112 vars->oparms.desired_access = desired_access; in smb2_compound_op() 113 vars->oparms.disposition = create_disposition; in smb2_compound_op() 114 vars->oparms.create_options = cifs_create_options(cifs_sb, create_options); in smb2_compound_op() 115 vars->oparms.fid = &fid; in smb2_compound_op() 116 vars->oparms.reconnect = false; in smb2_compound_op() 117 vars->oparms.mode = mode; in smb2_compound_op() 118 vars->oparms.cifs_sb = cifs_sb; in smb2_compound_op() 123 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
|
D | inode.c | 450 struct cifs_open_parms oparms; local 476 oparms.tcon = tcon; 477 oparms.cifs_sb = cifs_sb; 478 oparms.desired_access = GENERIC_READ; 479 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR); 480 oparms.disposition = FILE_OPEN; 481 oparms.path = path; 482 oparms.fid = &fid; 483 oparms.reconnect = false; 489 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); [all …]
|
D | smb2pdu.c | 2070 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument 2072 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf() 2093 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf() 2141 struct cifs_open_parms *oparms) in add_durable_v2_context() argument 2146 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context() 2161 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument 2167 oparms->reconnect = false; in add_durable_reconnect_v2_context() 2169 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context() 2185 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context() argument 2191 if (oparms->reconnect) in add_durable_context() [all …]
|
D | file.c | 187 struct cifs_open_parms oparms; in cifs_nt_open() local 233 oparms.tcon = tcon; in cifs_nt_open() 234 oparms.cifs_sb = cifs_sb; in cifs_nt_open() 235 oparms.desired_access = desired_access; in cifs_nt_open() 236 oparms.create_options = cifs_create_options(cifs_sb, create_options); in cifs_nt_open() 237 oparms.disposition = disposition; in cifs_nt_open() 238 oparms.path = full_path; in cifs_nt_open() 239 oparms.fid = fid; in cifs_nt_open() 240 oparms.reconnect = false; in cifs_nt_open() 242 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open() [all …]
|
D | smb2proto.h | 120 struct cifs_open_parms *oparms, 145 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, 153 __u8 *oplock, struct cifs_open_parms *oparms,
|
D | cifssmb.c | 1321 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1330 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() 1331 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() 1334 int create_options = oparms->create_options; in CIFS_open() 1335 int desired_access = oparms->desired_access; in CIFS_open() 1336 int disposition = oparms->disposition; in CIFS_open() 1337 const char *path = oparms->path; in CIFS_open() 1418 oparms->fid->netfid = rsp->Fid; in CIFS_open() 1419 oparms->fid->access = desired_access; in CIFS_open() 5813 struct cifs_open_parms oparms; in CIFSSMBSetPathInfoFB() local [all …]
|
D | cifsproto.h | 433 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|