Lines Matching refs:daccess

2518 	__le32 daccess, maximal_access = 0;  in smb2_open()  local
2802 daccess = smb_map_generic_desired_access(req->DesiredAccess); in smb2_open()
2805 rc = smb_check_perm_dacl(conn, &path, &daccess, in smb2_open()
2811 if (daccess & FILE_MAXIMAL_ACCESS_LE) { in smb2_open()
2813 daccess = cpu_to_le32(GENERIC_ALL_FLAGS); in smb2_open()
2817 &daccess); in smb2_open()
2822 maximal_access = daccess; in smb2_open()
2825 open_flags = smb2_create_open_flags(file_present, daccess, in smb2_open()
2872 if (daccess & ~(FILE_READ_ATTRIBUTES_LE | FILE_READ_CONTROL_LE)) { in smb2_open()
2879 if ((daccess & FILE_DELETE_LE) || in smb2_open()
2935 fp->daccess = daccess; in smb2_open()
3881 if (!(dir_fp->daccess & FILE_LIST_DIRECTORY_LE) || in smb2_query_dir()
4150 if (!(fp->daccess & FILE_READ_EA_LE)) { in smb2_get_ea()
4152 fp->daccess); in smb2_get_ea()
4298 file_info->AccessFlags = fp->daccess; in get_file_access_info()
4311 if (!(fp->daccess & FILE_READ_ATTRIBUTES_LE)) { in get_file_basic_info()
4313 fp->daccess); in get_file_basic_info()
4402 if (!(fp->daccess & FILE_READ_ATTRIBUTES_LE)) { in get_file_all_info()
4404 fp->daccess); in get_file_all_info()
4438 file_info->AccessFlags = fp->daccess; in get_file_all_info()
4598 if (!(fp->daccess & FILE_READ_ATTRIBUTES_LE)) { in get_file_network_open_info()
4600 fp->daccess); in get_file_network_open_info()
4689 if (!(fp->daccess & FILE_READ_ATTRIBUTES_LE)) { in get_file_attribute_tag_info()
4691 fp->daccess); in get_file_attribute_tag_info()
5605 if (!(fp->daccess & FILE_WRITE_ATTRIBUTES_LE)) in set_file_basic_info()
5693 if (!(fp->daccess & FILE_WRITE_DATA_LE)) in set_file_allocation_info()
5736 if (!(fp->daccess & FILE_WRITE_DATA_LE)) in set_end_of_file_info()
5772 if (!(fp->daccess & FILE_DELETE_LE)) { in set_rename_info()
5773 pr_err("no right to delete : 0x%x\n", fp->daccess); in set_rename_info()
5797 if (parent_fp->daccess & FILE_DELETE_LE) { in set_rename_info()
5814 if (!(fp->daccess & FILE_DELETE_LE)) { in set_file_disposition_info()
5815 pr_err("no right to delete : 0x%x\n", fp->daccess); in set_file_disposition_info()
5956 if (!(fp->daccess & FILE_WRITE_EA_LE)) { in smb2_set_info_file()
5958 fp->daccess); in smb2_set_info_file()
6252 if (!(fp->daccess & (FILE_READ_DATA_LE | FILE_READ_ATTRIBUTES_LE))) { in smb2_read()
6253 pr_err("Not permitted to read : 0x%x\n", fp->daccess); in smb2_read()
6507 if (!(fp->daccess & (FILE_WRITE_DATA_LE | FILE_READ_ATTRIBUTES_LE))) { in smb2_write()
6508 pr_err("Not permitted to write : 0x%x\n", fp->daccess); in smb2_write()
7228 !(dst_fp->daccess & (FILE_READ_DATA_LE | FILE_GENERIC_READ_LE))) { in fsctl_copychunk()