Lines Matching refs:target
321 void fat32_fill_shortname(struct vfs_dir_entry_t *dEntry, struct fat32_Directory_t *target, uint32_… in fat32_fill_shortname() argument
323 memset(target, 0, sizeof(struct fat32_Directory_t)); in fat32_fill_shortname()
332 target->DIR_Name[tmp_index] = dEntry->name[tmp_index]; in fat32_fill_shortname()
334 target->DIR_Name[tmp_index] = 0x20; in fat32_fill_shortname()
341 target->DIR_Name[tmp_index] = 0x20; in fat32_fill_shortname()
349 target->DIR_Name[tmp_index] = 0x20; in fat32_fill_shortname()
357 target->DIR_Name[j] = 'a'; in fat32_fill_shortname()
363 target->DIR_Attr = 0; in fat32_fill_shortname()
365 target->DIR_Attr |= ATTR_DIRECTORY; in fat32_fill_shortname()
367 target->DIR_FileSize = dEntry->dir_inode->file_size; in fat32_fill_shortname()
368 target->DIR_FstClusHI = (uint16_t)((cluster >> 16) & 0x0fff); in fat32_fill_shortname()
369 target->DIR_FstClusLO = (uint16_t)(cluster & 0xffff); in fat32_fill_shortname()
382 void fat32_fill_longname(struct vfs_dir_entry_t *dEntry, struct fat32_LongDirectory_t *target, uint… in fat32_fill_longname() argument
386 struct fat32_LongDirectory_t *Ldentry = (struct fat32_LongDirectory_t *)(target + 1); in fat32_fill_longname()