Lines Matching refs:oparms
728 struct cifs_open_parms oparms; in smb3_qfs_tcon() local
732 oparms.tcon = tcon; in smb3_qfs_tcon()
733 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb3_qfs_tcon()
734 oparms.disposition = FILE_OPEN; in smb3_qfs_tcon()
735 oparms.create_options = cifs_create_options(cifs_sb, 0); in smb3_qfs_tcon()
736 oparms.fid = &fid; in smb3_qfs_tcon()
737 oparms.reconnect = false; in smb3_qfs_tcon()
743 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon()
771 struct cifs_open_parms oparms; in smb2_qfs_tcon() local
774 oparms.tcon = tcon; in smb2_qfs_tcon()
775 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb2_qfs_tcon()
776 oparms.disposition = FILE_OPEN; in smb2_qfs_tcon()
777 oparms.create_options = cifs_create_options(cifs_sb, 0); in smb2_qfs_tcon()
778 oparms.fid = &fid; in smb2_qfs_tcon()
779 oparms.reconnect = false; in smb2_qfs_tcon()
781 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb2_qfs_tcon()
801 struct cifs_open_parms oparms; in smb2_is_path_accessible() local
819 oparms.tcon = tcon; in smb2_is_path_accessible()
820 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb2_is_path_accessible()
821 oparms.disposition = FILE_OPEN; in smb2_is_path_accessible()
822 oparms.create_options = cifs_create_options(cifs_sb, 0); in smb2_is_path_accessible()
823 oparms.fid = &fid; in smb2_is_path_accessible()
824 oparms.reconnect = false; in smb2_is_path_accessible()
826 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible()
1028 struct cifs_open_parms oparms; in smb2_set_ea() local
1100 memset(&oparms, 0, sizeof(oparms)); in smb2_set_ea()
1101 oparms.tcon = tcon; in smb2_set_ea()
1102 oparms.desired_access = FILE_WRITE_EA; in smb2_set_ea()
1103 oparms.disposition = FILE_OPEN; in smb2_set_ea()
1104 oparms.create_options = cifs_create_options(cifs_sb, 0); in smb2_set_ea()
1105 oparms.fid = &fid; in smb2_set_ea()
1106 oparms.reconnect = false; in smb2_set_ea()
1109 &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea()
1411 struct cifs_open_parms oparms; in smb2_ioctl_query_info() local
1456 memset(&oparms, 0, sizeof(oparms)); in smb2_ioctl_query_info()
1457 oparms.tcon = tcon; in smb2_ioctl_query_info()
1458 oparms.disposition = FILE_OPEN; in smb2_ioctl_query_info()
1459 oparms.create_options = cifs_create_options(cifs_sb, create_options); in smb2_ioctl_query_info()
1460 oparms.fid = &fid; in smb2_ioctl_query_info()
1461 oparms.reconnect = false; in smb2_ioctl_query_info()
1466 oparms.desired_access = FILE_READ_DATA | FILE_WRITE_DATA | FILE_READ_ATTRIBUTES | SYNCHRONIZE; in smb2_ioctl_query_info()
1469 oparms.desired_access = GENERIC_ALL; in smb2_ioctl_query_info()
1472 oparms.desired_access = GENERIC_READ; in smb2_ioctl_query_info()
1475 oparms.desired_access = GENERIC_WRITE; in smb2_ioctl_query_info()
1479 oparms.desired_access = GENERIC_WRITE; in smb2_ioctl_query_info()
1481 oparms.desired_access = FILE_READ_ATTRIBUTES | READ_CONTROL; in smb2_ioctl_query_info()
1485 &rqst[0], &oplock, &oparms, path); in smb2_ioctl_query_info()
2054 struct cifs_open_parms oparms; in smb3_notify() local
2091 oparms.tcon = tcon; in smb3_notify()
2092 oparms.desired_access = FILE_READ_ATTRIBUTES | FILE_READ_DATA; in smb3_notify()
2093 oparms.disposition = FILE_OPEN; in smb3_notify()
2094 oparms.create_options = cifs_create_options(cifs_sb, 0); in smb3_notify()
2095 oparms.fid = &fid; in smb3_notify()
2096 oparms.reconnect = false; in smb3_notify()
2098 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL, in smb3_notify()
2140 struct cifs_open_parms oparms; in smb2_query_dir_first() local
2162 oparms.tcon = tcon; in smb2_query_dir_first()
2163 oparms.desired_access = FILE_READ_ATTRIBUTES | FILE_READ_DATA; in smb2_query_dir_first()
2164 oparms.disposition = FILE_OPEN; in smb2_query_dir_first()
2165 oparms.create_options = cifs_create_options(cifs_sb, 0); in smb2_query_dir_first()
2166 oparms.fid = fid; in smb2_query_dir_first()
2167 oparms.reconnect = false; in smb2_query_dir_first()
2170 &rqst[0], &oplock, &oparms, utf16_path); in smb2_query_dir_first()
2463 struct cifs_open_parms oparms; in smb2_query_info_compound() local
2493 oparms.tcon = tcon; in smb2_query_info_compound()
2494 oparms.desired_access = desired_access; in smb2_query_info_compound()
2495 oparms.disposition = FILE_OPEN; in smb2_query_info_compound()
2496 oparms.create_options = cifs_create_options(cifs_sb, 0); in smb2_query_info_compound()
2497 oparms.fid = &fid; in smb2_query_info_compound()
2498 oparms.reconnect = false; in smb2_query_info_compound()
2501 &rqst[0], &oplock, &oparms, utf16_path); in smb2_query_info_compound()
2620 struct cifs_open_parms oparms; in smb311_queryfs() local
2626 oparms.tcon = tcon; in smb311_queryfs()
2627 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb311_queryfs()
2628 oparms.disposition = FILE_OPEN; in smb311_queryfs()
2629 oparms.create_options = cifs_create_options(cifs_sb, 0); in smb311_queryfs()
2630 oparms.fid = &fid; in smb311_queryfs()
2631 oparms.reconnect = false; in smb311_queryfs()
2633 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb311_queryfs()
2882 struct cifs_open_parms oparms; in smb2_query_symlink() local
2919 memset(&oparms, 0, sizeof(oparms)); in smb2_query_symlink()
2920 oparms.tcon = tcon; in smb2_query_symlink()
2921 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb2_query_symlink()
2922 oparms.disposition = FILE_OPEN; in smb2_query_symlink()
2923 oparms.create_options = cifs_create_options(cifs_sb, create_options); in smb2_query_symlink()
2924 oparms.fid = &fid; in smb2_query_symlink()
2925 oparms.reconnect = false; in smb2_query_symlink()
2928 &rqst[0], &oplock, &oparms, utf16_path); in smb2_query_symlink()
3024 struct cifs_open_parms oparms; in smb2_query_reparse_tag() local
3059 memset(&oparms, 0, sizeof(oparms)); in smb2_query_reparse_tag()
3060 oparms.tcon = tcon; in smb2_query_reparse_tag()
3061 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb2_query_reparse_tag()
3062 oparms.disposition = FILE_OPEN; in smb2_query_reparse_tag()
3063 oparms.create_options = cifs_create_options(cifs_sb, OPEN_REPARSE_POINT); in smb2_query_reparse_tag()
3064 oparms.fid = &fid; in smb2_query_reparse_tag()
3065 oparms.reconnect = false; in smb2_query_reparse_tag()
3068 &rqst[0], &oplock, &oparms, utf16_path); in smb2_query_reparse_tag()
3182 struct cifs_open_parms oparms; in get_smb2_acl_by_path() local
3199 oparms.tcon = tcon; in get_smb2_acl_by_path()
3200 oparms.desired_access = READ_CONTROL; in get_smb2_acl_by_path()
3201 oparms.disposition = FILE_OPEN; in get_smb2_acl_by_path()
3207 oparms.create_options = cifs_create_options(cifs_sb, 0) | OPEN_REPARSE_POINT; in get_smb2_acl_by_path()
3208 oparms.fid = &fid; in get_smb2_acl_by_path()
3209 oparms.reconnect = false; in get_smb2_acl_by_path()
3212 oparms.desired_access |= SYSTEM_SECURITY; in get_smb2_acl_by_path()
3214 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL, in get_smb2_acl_by_path()
3244 struct cifs_open_parms oparms; in set_smb2_acl() local
3268 oparms.tcon = tcon; in set_smb2_acl()
3269 oparms.desired_access = access_flags; in set_smb2_acl()
3270 oparms.create_options = cifs_create_options(cifs_sb, 0); in set_smb2_acl()
3271 oparms.disposition = FILE_OPEN; in set_smb2_acl()
3272 oparms.path = path; in set_smb2_acl()
3273 oparms.fid = &fid; in set_smb2_acl()
3274 oparms.reconnect = false; in set_smb2_acl()
3276 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in set_smb2_acl()
5111 struct cifs_open_parms oparms; in smb2_make_node() local
5136 oparms.tcon = tcon; in smb2_make_node()
5137 oparms.cifs_sb = cifs_sb; in smb2_make_node()
5138 oparms.desired_access = GENERIC_WRITE; in smb2_make_node()
5139 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR | in smb2_make_node()
5141 oparms.disposition = FILE_CREATE; in smb2_make_node()
5142 oparms.path = full_path; in smb2_make_node()
5143 oparms.fid = &fid; in smb2_make_node()
5144 oparms.reconnect = false; in smb2_make_node()
5150 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, &buf); in smb2_make_node()