/Linux-v4.19/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 | 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 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 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file() 81 oparms->tcon->use_resilient = false; in smb2_open_file() 90 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
|
D | smb2ops.c | 547 struct cifs_open_parms oparms; in smb3_qfs_tcon() local 551 oparms.tcon = tcon; in smb3_qfs_tcon() 552 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb3_qfs_tcon() 553 oparms.disposition = FILE_OPEN; in smb3_qfs_tcon() 554 oparms.create_options = 0; in smb3_qfs_tcon() 555 oparms.fid = &fid; in smb3_qfs_tcon() 556 oparms.reconnect = false; in smb3_qfs_tcon() 559 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon() 591 struct cifs_open_parms oparms; in smb2_qfs_tcon() local 594 oparms.tcon = tcon; in smb2_qfs_tcon() [all …]
|
D | dir.c | 241 struct cifs_open_parms oparms; in cifs_do_create() local 364 oparms.tcon = tcon; in cifs_do_create() 365 oparms.cifs_sb = cifs_sb; in cifs_do_create() 366 oparms.desired_access = desired_access; in cifs_do_create() 367 oparms.create_options = create_options; in cifs_do_create() 368 oparms.disposition = disposition; in cifs_do_create() 369 oparms.path = full_path; in cifs_do_create() 370 oparms.fid = fid; in cifs_do_create() 371 oparms.reconnect = false; in cifs_do_create() 372 oparms.mode = mode; in cifs_do_create() [all …]
|
D | smb2inode.c | 49 struct cifs_open_parms oparms; in smb2_open_op_close() local 67 oparms.tcon = tcon; in smb2_open_op_close() 68 oparms.desired_access = desired_access; in smb2_open_op_close() 69 oparms.disposition = create_disposition; in smb2_open_op_close() 70 oparms.create_options = create_options; in smb2_open_op_close() 71 oparms.fid = &fid; in smb2_open_op_close() 72 oparms.reconnect = false; in smb2_open_op_close() 74 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_open_op_close()
|
D | cifsacl.c | 1023 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local 1034 oparms.tcon = tcon; in get_cifs_acl_by_path() 1035 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path() 1036 oparms.desired_access = READ_CONTROL; in get_cifs_acl_by_path() 1037 oparms.create_options = create_options; in get_cifs_acl_by_path() 1038 oparms.disposition = FILE_OPEN; in get_cifs_acl_by_path() 1039 oparms.path = path; in get_cifs_acl_by_path() 1040 oparms.fid = &fid; in get_cifs_acl_by_path() 1041 oparms.reconnect = false; in get_cifs_acl_by_path() 1043 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() [all …]
|
D | inode.c | 440 struct cifs_open_parms oparms; local 466 oparms.tcon = tcon; 467 oparms.cifs_sb = cifs_sb; 468 oparms.desired_access = GENERIC_READ; 469 oparms.create_options = CREATE_NOT_DIR; 471 oparms.create_options |= CREATE_OPEN_BACKUP_INTENT; 472 oparms.disposition = FILE_OPEN; 473 oparms.path = path; 474 oparms.fid = &fid; 475 oparms.reconnect = false; [all …]
|
D | smb2pdu.c | 1784 struct cifs_open_parms *oparms) in add_durable_v2_context() argument 1789 iov[num].iov_base = create_durable_v2_buf(oparms->fid); in add_durable_v2_context() 1804 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument 1810 oparms->reconnect = false; in add_durable_reconnect_v2_context() 1812 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context() 1828 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context() argument 1834 if (oparms->reconnect) in add_durable_context() 1836 oparms); in add_durable_context() 1838 return add_durable_v2_context(iov, num_iovec, oparms); in add_durable_context() 1841 if (oparms->reconnect) { in add_durable_context() [all …]
|
D | smb2proto.h | 110 struct cifs_open_parms *oparms, 132 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, 137 __u8 *oplock, struct cifs_open_parms *oparms,
|
D | file.c | 185 struct cifs_open_parms oparms; in cifs_nt_open() local 234 oparms.tcon = tcon; in cifs_nt_open() 235 oparms.cifs_sb = cifs_sb; in cifs_nt_open() 236 oparms.desired_access = desired_access; in cifs_nt_open() 237 oparms.create_options = create_options; in cifs_nt_open() 238 oparms.disposition = disposition; in cifs_nt_open() 239 oparms.path = full_path; in cifs_nt_open() 240 oparms.fid = fid; in cifs_nt_open() 241 oparms.reconnect = false; in cifs_nt_open() 243 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open() [all …]
|
D | cifsproto.h | 406 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|
D | cifssmb.c | 1313 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1322 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() 1323 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() 1326 int create_options = oparms->create_options; in CIFS_open() 1327 int desired_access = oparms->desired_access; in CIFS_open() 1328 int disposition = oparms->disposition; in CIFS_open() 1329 const char *path = oparms->path; in CIFS_open() 1413 oparms->fid->netfid = rsp->Fid; in CIFS_open()
|