Lines Matching refs:oparms

572 		struct cifs_open_parms oparms;  in cifs_query_path_info()  local
579 oparms.tcon = tcon; in cifs_query_path_info()
580 oparms.cifs_sb = cifs_sb; in cifs_query_path_info()
581 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_path_info()
582 oparms.create_options = cifs_create_options(cifs_sb, 0); in cifs_query_path_info()
583 oparms.disposition = FILE_OPEN; in cifs_query_path_info()
584 oparms.path = full_path; in cifs_query_path_info()
585 oparms.fid = &fid; in cifs_query_path_info()
586 oparms.reconnect = false; in cifs_query_path_info()
589 tmprc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_path_info()
719 static int cifs_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, in cifs_open_file() argument
726 if (!(oparms->tcon->ses->capabilities & CAP_NT_SMBS)) in cifs_open_file()
727 rc = SMBLegacyOpen(xid, oparms->tcon, oparms->path, in cifs_open_file()
728 oparms->disposition, in cifs_open_file()
729 oparms->desired_access, in cifs_open_file()
730 oparms->create_options, in cifs_open_file()
731 &oparms->fid->netfid, oplock, &fi, in cifs_open_file()
732 oparms->cifs_sb->local_nls, in cifs_open_file()
733 cifs_remap(oparms->cifs_sb)); in cifs_open_file()
735 rc = CIFS_open(xid, oparms, oplock, &fi); in cifs_open_file()
793 struct cifs_open_parms oparms; in smb_set_file_info() local
826 oparms.tcon = tcon; in smb_set_file_info()
827 oparms.cifs_sb = cifs_sb; in smb_set_file_info()
828 oparms.desired_access = SYNCHRONIZE | FILE_WRITE_ATTRIBUTES; in smb_set_file_info()
829 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR); in smb_set_file_info()
830 oparms.disposition = FILE_OPEN; in smb_set_file_info()
831 oparms.path = full_path; in smb_set_file_info()
832 oparms.fid = &fid; in smb_set_file_info()
833 oparms.reconnect = false; in smb_set_file_info()
836 rc = CIFS_open(xid, &oparms, &oplock, NULL); in smb_set_file_info()
979 struct cifs_open_parms oparms; in cifs_query_symlink() local
1001 oparms.tcon = tcon; in cifs_query_symlink()
1002 oparms.cifs_sb = cifs_sb; in cifs_query_symlink()
1003 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_symlink()
1004 oparms.create_options = cifs_create_options(cifs_sb, in cifs_query_symlink()
1006 oparms.disposition = FILE_OPEN; in cifs_query_symlink()
1007 oparms.path = full_path; in cifs_query_symlink()
1008 oparms.fid = &fid; in cifs_query_symlink()
1009 oparms.reconnect = false; in cifs_query_symlink()
1011 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_symlink()
1068 struct cifs_open_parms oparms; in cifs_make_node() local
1118 oparms.tcon = tcon; in cifs_make_node()
1119 oparms.cifs_sb = cifs_sb; in cifs_make_node()
1120 oparms.desired_access = GENERIC_WRITE; in cifs_make_node()
1121 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR | in cifs_make_node()
1123 oparms.disposition = FILE_CREATE; in cifs_make_node()
1124 oparms.path = full_path; in cifs_make_node()
1125 oparms.fid = &fid; in cifs_make_node()
1126 oparms.reconnect = false; in cifs_make_node()
1132 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, &buf); in cifs_make_node()