Lines Matching refs:posix_info
3812 struct smb2_posix_info *posix_info; in dentry_name() local
3814 posix_info = (struct smb2_posix_info *)d_info->rptr; in dentry_name()
3815 d_info->rptr += le32_to_cpu(posix_info->NextEntryOffset); in dentry_name()
3816 d_info->name = posix_info->name; in dentry_name()
3817 d_info->name_len = le32_to_cpu(posix_info->name_len); in dentry_name()
3971 struct smb2_posix_info *posix_info; in smb2_populate_readdir_entry() local
3974 posix_info = (struct smb2_posix_info *)kstat; in smb2_populate_readdir_entry()
3975 posix_info->Ignored = 0; in smb2_populate_readdir_entry()
3976 posix_info->CreationTime = cpu_to_le64(ksmbd_kstat->create_time); in smb2_populate_readdir_entry()
3978 posix_info->ChangeTime = cpu_to_le64(time); in smb2_populate_readdir_entry()
3980 posix_info->LastAccessTime = cpu_to_le64(time); in smb2_populate_readdir_entry()
3982 posix_info->LastWriteTime = cpu_to_le64(time); in smb2_populate_readdir_entry()
3983 posix_info->EndOfFile = cpu_to_le64(ksmbd_kstat->kstat->size); in smb2_populate_readdir_entry()
3984 posix_info->AllocationSize = cpu_to_le64(ksmbd_kstat->kstat->blocks << 9); in smb2_populate_readdir_entry()
3985 posix_info->DeviceId = cpu_to_le32(ksmbd_kstat->kstat->rdev); in smb2_populate_readdir_entry()
3986 posix_info->HardLinks = cpu_to_le32(ksmbd_kstat->kstat->nlink); in smb2_populate_readdir_entry()
3987 posix_info->Mode = cpu_to_le32(ksmbd_kstat->kstat->mode & 0777); in smb2_populate_readdir_entry()
3988 posix_info->Inode = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3989 posix_info->DosAttributes = in smb2_populate_readdir_entry()
3993 posix_info->DosAttributes |= FILE_ATTRIBUTE_HIDDEN_LE; in smb2_populate_readdir_entry()
4000 SIDUNIX_USER, (struct smb_sid *)&posix_info->SidBuffer[0]); in smb2_populate_readdir_entry()
4002 SIDUNIX_GROUP, (struct smb_sid *)&posix_info->SidBuffer[16]); in smb2_populate_readdir_entry()
4003 memcpy(posix_info->name, conv_name, conv_len); in smb2_populate_readdir_entry()
4004 posix_info->name_len = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
4005 posix_info->NextEntryOffset = cpu_to_le32(next_entry_offset); in smb2_populate_readdir_entry()
4194 struct smb2_posix_info *posix_info; in reserve_populate_dentry() local
4196 posix_info = (struct smb2_posix_info *)d_info->wptr; in reserve_populate_dentry()
4197 memcpy(posix_info->name, d_info->name, d_info->name_len); in reserve_populate_dentry()
4198 posix_info->name[d_info->name_len] = 0x00; in reserve_populate_dentry()
4199 posix_info->name_len = cpu_to_le32(d_info->name_len); in reserve_populate_dentry()
4200 posix_info->NextEntryOffset = in reserve_populate_dentry()