Lines Matching refs:fibdinfo
3383 struct file_id_both_directory_info *fibdinfo; in dentry_name() local
3385 fibdinfo = (struct file_id_both_directory_info *)d_info->rptr; in dentry_name()
3386 d_info->rptr += le32_to_cpu(fibdinfo->NextEntryOffset); in dentry_name()
3387 d_info->name = fibdinfo->FileName; in dentry_name()
3388 d_info->name_len = le32_to_cpu(fibdinfo->FileNameLength); in dentry_name()
3532 struct file_id_both_directory_info *fibdinfo; in smb2_populate_readdir_entry() local
3534 fibdinfo = (struct file_id_both_directory_info *)kstat; in smb2_populate_readdir_entry()
3535 fibdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3536 fibdinfo->EaSize = in smb2_populate_readdir_entry()
3538 if (fibdinfo->EaSize) in smb2_populate_readdir_entry()
3539 fibdinfo->ExtFileAttributes = FILE_ATTRIBUTE_REPARSE_POINT_LE; in smb2_populate_readdir_entry()
3540 fibdinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3541 fibdinfo->ShortNameLength = 0; in smb2_populate_readdir_entry()
3542 fibdinfo->Reserved = 0; in smb2_populate_readdir_entry()
3543 fibdinfo->Reserved2 = cpu_to_le16(0); in smb2_populate_readdir_entry()
3545 fibdinfo->ExtFileAttributes |= FILE_ATTRIBUTE_HIDDEN_LE; in smb2_populate_readdir_entry()
3546 memcpy(fibdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
3547 fibdinfo->NextEntryOffset = cpu_to_le32(next_entry_offset); in smb2_populate_readdir_entry()
3759 struct file_id_both_directory_info *fibdinfo; in reserve_populate_dentry() local
3761 fibdinfo = (struct file_id_both_directory_info *)d_info->wptr; in reserve_populate_dentry()
3762 memcpy(fibdinfo->FileName, d_info->name, d_info->name_len); in reserve_populate_dentry()
3763 fibdinfo->FileName[d_info->name_len] = 0x00; in reserve_populate_dentry()
3764 fibdinfo->FileNameLength = cpu_to_le32(d_info->name_len); in reserve_populate_dentry()
3765 fibdinfo->NextEntryOffset = cpu_to_le32(next_entry_offset); in reserve_populate_dentry()