Home
last modified time | relevance | path

Searched refs:daccess (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/fs/smb/server/
H A Dsmb_common.c641 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 …]
H A Dvfs.c144 struct dentry *dentry, __le32 *daccess) in ksmbd_vfs_query_maximal_access() argument
146 *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 …]
H A Dsmb2pdu.c2850 __le32 daccess, maximal_access = 0; in smb2_open() local
3179 &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 …]
H A Dvfs_cache.h84 __le32 daccess; member
H A Dsmbacl.h155 __le32 daccess; member
H A Dvfs.h76 struct dentry *dentry, __le32 *daccess);
H A Dsmb_common.h459 __le32 smb_map_generic_desired_access(__le32 daccess);