/fs/cifs/ |
D | link.c | 332 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local 337 oparms.tcon = tcon; in cifs_query_mf_symlink() 338 oparms.cifs_sb = cifs_sb; in cifs_query_mf_symlink() 339 oparms.desired_access = GENERIC_READ; in cifs_query_mf_symlink() 340 oparms.create_options = CREATE_NOT_DIR; in cifs_query_mf_symlink() 341 oparms.disposition = FILE_OPEN; in cifs_query_mf_symlink() 342 oparms.path = path; in cifs_query_mf_symlink() 343 oparms.fid = &fid; in cifs_query_mf_symlink() 344 oparms.reconnect = false; in cifs_query_mf_symlink() 346 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink() [all …]
|
D | smb1ops.c | 574 struct cifs_open_parms oparms; in cifs_query_path_info() local 576 oparms.tcon = tcon; in cifs_query_path_info() 577 oparms.cifs_sb = cifs_sb; in cifs_query_path_info() 578 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_path_info() 579 oparms.create_options = 0; in cifs_query_path_info() 580 oparms.disposition = FILE_OPEN; in cifs_query_path_info() 581 oparms.path = full_path; in cifs_query_path_info() 582 oparms.fid = &fid; in cifs_query_path_info() 583 oparms.reconnect = false; in cifs_query_path_info() 586 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 if (oparms->tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING) in smb2_open_file() 67 rc = SMB2_open(xid, oparms, smb2_path, smb2_oplock, smb2_data, NULL); in smb2_open_file() 72 if (oparms->tcon->use_resilient) { in smb2_open_file() 75 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file() 82 oparms->tcon->use_resilient = false; in smb2_open_file() 91 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
|
D | smb2ops.c | 296 struct cifs_open_parms oparms; in smb3_qfs_tcon() local 299 oparms.tcon = tcon; in smb3_qfs_tcon() 300 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb3_qfs_tcon() 301 oparms.disposition = FILE_OPEN; in smb3_qfs_tcon() 302 oparms.create_options = 0; in smb3_qfs_tcon() 303 oparms.fid = &fid; in smb3_qfs_tcon() 304 oparms.reconnect = false; in smb3_qfs_tcon() 306 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL); in smb3_qfs_tcon() 330 struct cifs_open_parms oparms; in smb2_qfs_tcon() local 333 oparms.tcon = tcon; in smb2_qfs_tcon() [all …]
|
D | dir.c | 230 struct cifs_open_parms oparms; in cifs_do_create() local 353 oparms.tcon = tcon; in cifs_do_create() 354 oparms.cifs_sb = cifs_sb; in cifs_do_create() 355 oparms.desired_access = desired_access; in cifs_do_create() 356 oparms.create_options = create_options; in cifs_do_create() 357 oparms.disposition = disposition; in cifs_do_create() 358 oparms.path = full_path; in cifs_do_create() 359 oparms.fid = fid; in cifs_do_create() 360 oparms.reconnect = false; in cifs_do_create() 362 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_do_create() [all …]
|
D | smb2inode.c | 49 struct cifs_open_parms oparms; in smb2_open_op_close() local 56 oparms.tcon = tcon; in smb2_open_op_close() 57 oparms.desired_access = desired_access; in smb2_open_op_close() 58 oparms.disposition = create_disposition; in smb2_open_op_close() 59 oparms.create_options = create_options; in smb2_open_op_close() 60 oparms.fid = &fid; in smb2_open_op_close() 61 oparms.reconnect = false; in smb2_open_op_close() 63 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL); in smb2_open_op_close()
|
D | cifsacl.c | 900 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local 911 oparms.tcon = tcon; in get_cifs_acl_by_path() 912 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path() 913 oparms.desired_access = READ_CONTROL; in get_cifs_acl_by_path() 914 oparms.create_options = create_options; in get_cifs_acl_by_path() 915 oparms.disposition = FILE_OPEN; in get_cifs_acl_by_path() 916 oparms.path = path; in get_cifs_acl_by_path() 917 oparms.fid = &fid; in get_cifs_acl_by_path() 918 oparms.reconnect = false; in get_cifs_acl_by_path() 920 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() [all …]
|
D | inode.c | 437 struct cifs_open_parms oparms; local 463 oparms.tcon = tcon; 464 oparms.cifs_sb = cifs_sb; 465 oparms.desired_access = GENERIC_READ; 466 oparms.create_options = CREATE_NOT_DIR; 467 oparms.disposition = FILE_OPEN; 468 oparms.path = path; 469 oparms.fid = &fid; 470 oparms.reconnect = false; 476 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); [all …]
|
D | smb2pdu.c | 1271 struct cifs_open_parms *oparms) in add_durable_v2_context() argument 1276 iov[num].iov_base = create_durable_v2_buf(oparms->fid); in add_durable_v2_context() 1292 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument 1298 oparms->reconnect = false; in add_durable_reconnect_v2_context() 1300 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context() 1318 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context() argument 1324 if (oparms->reconnect) in add_durable_context() 1326 oparms); in add_durable_context() 1328 return add_durable_v2_context(iov, num_iovec, oparms); in add_durable_context() 1331 if (oparms->reconnect) { in add_durable_context() [all …]
|
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 | smb2proto.h | 97 struct cifs_open_parms *oparms, 116 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms,
|
D | cifsproto.h | 378 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|
D | cifssmb.c | 1299 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1308 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() 1309 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() 1312 int create_options = oparms->create_options; in CIFS_open() 1313 int desired_access = oparms->desired_access; in CIFS_open() 1314 int disposition = oparms->disposition; in CIFS_open() 1315 const char *path = oparms->path; in CIFS_open() 1399 oparms->fid->netfid = rsp->Fid; in CIFS_open()
|