Lines Matching refs:daccess
634 prev_fp->saccess, curr_fp->daccess);
662 curr_fp->daccess & FILE_DELETE_LE) {
678 curr_fp->daccess & (FILE_EXECUTE_LE | FILE_READ_DATA_LE)) {
687 curr_fp->daccess & (FILE_WRITE_DATA_LE | FILE_APPEND_DATA_LE)) {
695 if (prev_fp->daccess & (FILE_EXECUTE_LE | FILE_READ_DATA_LE) &&
704 if (prev_fp->daccess & (FILE_WRITE_DATA_LE | FILE_APPEND_DATA_LE) &&
713 if (prev_fp->daccess & FILE_DELETE_LE &&
787 __le32 smb_map_generic_desired_access(__le32 daccess)
789 if (daccess & FILE_GENERIC_READ_LE) {
790 daccess |= cpu_to_le32(GENERIC_READ_FLAGS);
791 daccess &= ~FILE_GENERIC_READ_LE;
794 if (daccess & FILE_GENERIC_WRITE_LE) {
795 daccess |= cpu_to_le32(GENERIC_WRITE_FLAGS);
796 daccess &= ~FILE_GENERIC_WRITE_LE;
799 if (daccess & FILE_GENERIC_EXECUTE_LE) {
800 daccess |= cpu_to_le32(GENERIC_EXECUTE_FLAGS);
801 daccess &= ~FILE_GENERIC_EXECUTE_LE;
804 if (daccess & FILE_GENERIC_ALL_LE) {
805 daccess |= cpu_to_le32(GENERIC_ALL_FLAGS);
806 daccess &= ~FILE_GENERIC_ALL_LE;
809 return daccess;