Home
last modified time | relevance | path

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

/linux/fs/ksmbd/
A Dsmb_common.c505 prev_fp->saccess, curr_fp->daccess); in smb_shared_mode_error()
533 curr_fp->daccess & FILE_DELETE_LE) { in ksmbd_smb_check_shared_mode()
660 if (daccess & FILE_GENERIC_READ_LE) { in smb_map_generic_desired_access()
662 daccess &= ~FILE_GENERIC_READ_LE; in smb_map_generic_desired_access()
665 if (daccess & FILE_GENERIC_WRITE_LE) { in smb_map_generic_desired_access()
667 daccess &= ~FILE_GENERIC_WRITE_LE; in smb_map_generic_desired_access()
670 if (daccess & FILE_GENERIC_EXECUTE_LE) { in smb_map_generic_desired_access()
672 daccess &= ~FILE_GENERIC_EXECUTE_LE; in smb_map_generic_desired_access()
675 if (daccess & FILE_GENERIC_ALL_LE) { in smb_map_generic_desired_access()
677 daccess &= ~FILE_GENERIC_ALL_LE; in smb_map_generic_desired_access()
[all …]
A Dvfs.c122 struct dentry *dentry, __le32 *daccess) in ksmbd_vfs_query_maximal_access() argument
127 *daccess = cpu_to_le32(FILE_READ_ATTRIBUTES | READ_CONTROL); in ksmbd_vfs_query_maximal_access()
130 *daccess |= cpu_to_le32(WRITE_DAC | WRITE_OWNER | SYNCHRONIZE | in ksmbd_vfs_query_maximal_access()
136 *daccess |= FILE_READ_DATA_LE | FILE_READ_EA_LE; in ksmbd_vfs_query_maximal_access()
139 *daccess |= FILE_EXECUTE_LE; in ksmbd_vfs_query_maximal_access()
149 *daccess |= FILE_DELETE_LE; in ksmbd_vfs_query_maximal_access()
380 if (!(fp->daccess & (FILE_READ_DATA_LE | FILE_EXECUTE_LE))) { in ksmbd_vfs_read()
492 if (!(fp->daccess & FILE_WRITE_DATA_LE)) { in ksmbd_vfs_write()
1742 if (!(src_fp->daccess & (FILE_READ_DATA_LE | FILE_EXECUTE_LE))) { in ksmbd_vfs_copy_file_ranges()
1746 if (!(dst_fp->daccess & (FILE_WRITE_DATA_LE | FILE_APPEND_DATA_LE))) { in ksmbd_vfs_copy_file_ranges()
A Dsmb2pdu.c2508 __le32 daccess, maximal_access = 0; in smb2_open() local
2807 &daccess); in smb2_open()
2812 maximal_access = daccess; in smb2_open()
2869 if ((daccess & FILE_DELETE_LE) || in smb2_open()
2926 fp->daccess = daccess; in smb2_open()
4141 fp->daccess); in smb2_get_ea()
4302 fp->daccess); in get_file_basic_info()
4393 fp->daccess); in get_file_all_info()
4589 fp->daccess); in get_file_network_open_info()
4680 fp->daccess); in get_file_attribute_tag_info()
[all …]
A Dvfs_cache.h78 __le32 daccess; member
A Dsmbacl.h154 __le32 daccess; member
A Dvfs.h75 struct dentry *dentry, __le32 *daccess);
A Dsmb_common.h470 __le32 smb_map_generic_desired_access(__le32 daccess);

Completed in 42 milliseconds