Searched refs:daccess (Results 1 – 7 of 7) sorted by relevance
641 prev_fp->saccess, curr_fp->daccess); in smb_shared_mode_error()669 curr_fp->daccess & FILE_DELETE_LE) { in ksmbd_smb_check_shared_mode()801 if (daccess & FILE_GENERIC_READ_LE) { in smb_map_generic_desired_access()803 daccess &= ~FILE_GENERIC_READ_LE; in smb_map_generic_desired_access()806 if (daccess & FILE_GENERIC_WRITE_LE) { in smb_map_generic_desired_access()808 daccess &= ~FILE_GENERIC_WRITE_LE; in smb_map_generic_desired_access()811 if (daccess & FILE_GENERIC_EXECUTE_LE) { in smb_map_generic_desired_access()813 daccess &= ~FILE_GENERIC_EXECUTE_LE; in smb_map_generic_desired_access()816 if (daccess & FILE_GENERIC_ALL_LE) { in smb_map_generic_desired_access()818 daccess &= ~FILE_GENERIC_ALL_LE; in smb_map_generic_desired_access()[all …]
144 struct dentry *dentry, __le32 *daccess) in ksmbd_vfs_query_maximal_access() argument146 *daccess = cpu_to_le32(FILE_READ_ATTRIBUTES | READ_CONTROL); in ksmbd_vfs_query_maximal_access()149 *daccess |= cpu_to_le32(WRITE_DAC | WRITE_OWNER | SYNCHRONIZE | in ksmbd_vfs_query_maximal_access()155 *daccess |= FILE_READ_DATA_LE | FILE_READ_EA_LE; in ksmbd_vfs_query_maximal_access()158 *daccess |= FILE_EXECUTE_LE; in ksmbd_vfs_query_maximal_access()161 *daccess |= FILE_DELETE_LE; in ksmbd_vfs_query_maximal_access()388 if (!(fp->daccess & (FILE_READ_DATA_LE | FILE_EXECUTE_LE))) { in ksmbd_vfs_read()499 if (!(fp->daccess & (FILE_WRITE_DATA_LE | FILE_APPEND_DATA_LE))) { in ksmbd_vfs_write()732 if (parent_fp->daccess & FILE_DELETE_LE) { in ksmbd_vfs_rename()1794 if (!(src_fp->daccess & (FILE_READ_DATA_LE | FILE_EXECUTE_LE))) { in ksmbd_vfs_copy_file_ranges()[all …]
2850 __le32 daccess, maximal_access = 0; in smb2_open() local3179 &daccess); in smb2_open()3182 maximal_access = daccess; in smb2_open()3242 if ((daccess & FILE_DELETE_LE) || in smb2_open()3299 fp->daccess = daccess; in smb2_open()4586 fp->daccess); in smb2_get_ea()4747 fp->daccess); in get_file_basic_info()4825 fp->daccess); in get_file_all_info()5031 fp->daccess); in get_file_network_open_info()5123 fp->daccess); in get_file_attribute_tag_info()[all …]
84 __le32 daccess; member
155 __le32 daccess; member
76 struct dentry *dentry, __le32 *daccess);
459 __le32 smb_map_generic_desired_access(__le32 daccess);