/linux-4.1.27/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 | 571 struct cifs_open_parms oparms; in cifs_query_path_info() local 573 oparms.tcon = tcon; in cifs_query_path_info() 574 oparms.cifs_sb = cifs_sb; in cifs_query_path_info() 575 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_path_info() 576 oparms.create_options = 0; in cifs_query_path_info() 577 oparms.disposition = FILE_OPEN; in cifs_query_path_info() 578 oparms.path = full_path; in cifs_query_path_info() 579 oparms.fid = &fid; in cifs_query_path_info() 580 oparms.reconnect = false; in cifs_query_path_info() 583 tmprc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_path_info() [all …]
|
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 | 208 struct cifs_open_parms oparms; in cifs_do_create() local 324 oparms.tcon = tcon; in cifs_do_create() 325 oparms.cifs_sb = cifs_sb; in cifs_do_create() 326 oparms.desired_access = desired_access; in cifs_do_create() 327 oparms.create_options = create_options; in cifs_do_create() 328 oparms.disposition = disposition; in cifs_do_create() 329 oparms.path = full_path; in cifs_do_create() 330 oparms.fid = fid; in cifs_do_create() 331 oparms.reconnect = false; in cifs_do_create() 333 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_do_create() [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() 47 smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); in smb2_open_file() 60 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file() 63 if (oparms->tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING) in smb2_open_file() 66 rc = SMB2_open(xid, oparms, smb2_path, smb2_oplock, smb2_data, NULL); in smb2_open_file() 72 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
|
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 | 901 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local 912 oparms.tcon = tcon; in get_cifs_acl_by_path() 913 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path() 914 oparms.desired_access = READ_CONTROL; in get_cifs_acl_by_path() 915 oparms.create_options = create_options; in get_cifs_acl_by_path() 916 oparms.disposition = FILE_OPEN; in get_cifs_acl_by_path() 917 oparms.path = path; in get_cifs_acl_by_path() 918 oparms.fid = &fid; in get_cifs_acl_by_path() 919 oparms.reconnect = false; in get_cifs_acl_by_path() 921 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() [all …]
|
D | inode.c | 435 struct cifs_open_parms oparms; local 461 oparms.tcon = tcon; 462 oparms.cifs_sb = cifs_sb; 463 oparms.desired_access = GENERIC_READ; 464 oparms.create_options = CREATE_NOT_DIR; 465 oparms.disposition = FILE_OPEN; 466 oparms.path = path; 467 oparms.fid = &fid; 468 oparms.reconnect = false; 474 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); [all …]
|
D | file.c | 185 struct cifs_open_parms oparms; in cifs_nt_open() local 227 oparms.tcon = tcon; in cifs_nt_open() 228 oparms.cifs_sb = cifs_sb; in cifs_nt_open() 229 oparms.desired_access = desired_access; in cifs_nt_open() 230 oparms.create_options = create_options; in cifs_nt_open() 231 oparms.disposition = disposition; in cifs_nt_open() 232 oparms.path = full_path; in cifs_nt_open() 233 oparms.fid = fid; in cifs_nt_open() 234 oparms.reconnect = false; in cifs_nt_open() 236 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open() [all …]
|
D | smb2pdu.c | 1093 struct cifs_open_parms *oparms) in add_durable_context() argument 1098 if (oparms->reconnect) { in add_durable_context() 1099 iov[num].iov_base = create_reconnect_durable_buf(oparms->fid); in add_durable_context() 1101 oparms->reconnect = false; in add_durable_context() 1118 SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, __le16 *path, in SMB2_open() argument 1125 struct cifs_tcon *tcon = oparms->tcon; in SMB2_open() 1148 if (oparms->create_options & CREATE_OPTION_READONLY) in SMB2_open() 1150 if (oparms->create_options & CREATE_OPTION_SPECIAL) in SMB2_open() 1154 req->DesiredAccess = cpu_to_le32(oparms->desired_access); in SMB2_open() 1158 req->CreateDisposition = cpu_to_le32(oparms->disposition); in SMB2_open() [all …]
|
D | smb2proto.h | 93 struct cifs_open_parms *oparms, 111 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms,
|
D | cifsproto.h | 376 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|
D | cifssmb.c | 1272 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1281 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() 1282 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() 1285 int create_options = oparms->create_options; in CIFS_open() 1286 int desired_access = oparms->desired_access; in CIFS_open() 1287 int disposition = oparms->disposition; in CIFS_open() 1288 const char *path = oparms->path; in CIFS_open() 1372 oparms->fid->netfid = rsp->Fid; in CIFS_open()
|