Lines Matching refs:oparms
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()
697 cifs_open_file(const unsigned int xid, struct cifs_open_parms *oparms, in cifs_open_file() argument
700 if (!(oparms->tcon->ses->capabilities & CAP_NT_SMBS)) in cifs_open_file()
701 return SMBLegacyOpen(xid, oparms->tcon, oparms->path, in cifs_open_file()
702 oparms->disposition, in cifs_open_file()
703 oparms->desired_access, in cifs_open_file()
704 oparms->create_options, in cifs_open_file()
705 &oparms->fid->netfid, oplock, buf, in cifs_open_file()
706 oparms->cifs_sb->local_nls, in cifs_open_file()
707 cifs_remap(oparms->cifs_sb)); in cifs_open_file()
708 return CIFS_open(xid, oparms, oplock, buf); in cifs_open_file()
761 struct cifs_open_parms oparms; in smb_set_file_info() local
794 oparms.tcon = tcon; in smb_set_file_info()
795 oparms.cifs_sb = cifs_sb; in smb_set_file_info()
796 oparms.desired_access = SYNCHRONIZE | FILE_WRITE_ATTRIBUTES; in smb_set_file_info()
797 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR); in smb_set_file_info()
798 oparms.disposition = FILE_OPEN; in smb_set_file_info()
799 oparms.path = full_path; in smb_set_file_info()
800 oparms.fid = &fid; in smb_set_file_info()
801 oparms.reconnect = false; in smb_set_file_info()
804 rc = CIFS_open(xid, &oparms, &oplock, NULL); in smb_set_file_info()
949 struct cifs_open_parms oparms; in cifs_query_symlink() local
971 oparms.tcon = tcon; in cifs_query_symlink()
972 oparms.cifs_sb = cifs_sb; in cifs_query_symlink()
973 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_symlink()
974 oparms.create_options = cifs_create_options(cifs_sb, in cifs_query_symlink()
976 oparms.disposition = FILE_OPEN; in cifs_query_symlink()
977 oparms.path = full_path; in cifs_query_symlink()
978 oparms.fid = &fid; in cifs_query_symlink()
979 oparms.reconnect = false; in cifs_query_symlink()
981 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_symlink()
1038 struct cifs_open_parms oparms; in cifs_make_node() local
1094 oparms.tcon = tcon; in cifs_make_node()
1095 oparms.cifs_sb = cifs_sb; in cifs_make_node()
1096 oparms.desired_access = GENERIC_WRITE; in cifs_make_node()
1097 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR | in cifs_make_node()
1099 oparms.disposition = FILE_CREATE; in cifs_make_node()
1100 oparms.path = full_path; in cifs_make_node()
1101 oparms.fid = &fid; in cifs_make_node()
1102 oparms.reconnect = false; in cifs_make_node()
1108 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, buf); in cifs_make_node()