Searched refs:daccess (Results 1 – 7 of 7) sorted by relevance
637 prev_fp->saccess, curr_fp->daccess); in smb_shared_mode_error()665 curr_fp->daccess & FILE_DELETE_LE) { in ksmbd_smb_check_shared_mode()792 if (daccess & FILE_GENERIC_READ_LE) { in smb_map_generic_desired_access()794 daccess &= ~FILE_GENERIC_READ_LE; in smb_map_generic_desired_access()797 if (daccess & FILE_GENERIC_WRITE_LE) { in smb_map_generic_desired_access()799 daccess &= ~FILE_GENERIC_WRITE_LE; in smb_map_generic_desired_access()802 if (daccess & FILE_GENERIC_EXECUTE_LE) { in smb_map_generic_desired_access()804 daccess &= ~FILE_GENERIC_EXECUTE_LE; in smb_map_generic_desired_access()807 if (daccess & FILE_GENERIC_ALL_LE) { in smb_map_generic_desired_access()809 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)) { in ksmbd_vfs_write()732 if (parent_fp->daccess & FILE_DELETE_LE) { in ksmbd_vfs_rename()1797 if (!(src_fp->daccess & (FILE_READ_DATA_LE | FILE_EXECUTE_LE))) { in ksmbd_vfs_copy_file_ranges()[all …]
2833 __le32 daccess, maximal_access = 0; in smb2_open() local3162 &daccess); in smb2_open()3165 maximal_access = daccess; in smb2_open()3223 if ((daccess & FILE_DELETE_LE) || in smb2_open()3280 fp->daccess = daccess; in smb2_open()4566 fp->daccess); in smb2_get_ea()4727 fp->daccess); in get_file_basic_info()4805 fp->daccess); in get_file_all_info()5011 fp->daccess); in get_file_network_open_info()5103 fp->daccess); in get_file_attribute_tag_info()[all …]
84 __le32 daccess; member
155 __le32 daccess; member
76 struct dentry *dentry, __le32 *daccess);
457 __le32 smb_map_generic_desired_access(__le32 daccess);