Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/filesystem/fat32/
Dfat32.c96 … struct fat32_LongDirectory_t *tmp_ldEntry = (struct fat32_LongDirectory_t *)tmp_dEntry - 1; in __fat32_search_long_short() local
100 while (tmp_ldEntry->LDIR_Attr == ATTR_LONG_NAME && tmp_ldEntry->LDIR_Ord != 0xe5) in __fat32_search_long_short()
105 if (js >= name_len && (tmp_ldEntry->LDIR_Name1[x] == 0xffff)) in __fat32_search_long_short()
108tmp_ldEntry->LDIR_Name1[x] != (uint16_t)(name[js++])) // 文件名不匹配,检索下一个短目录项 in __fat32_search_long_short()
115 if (js >= name_len && (tmp_ldEntry->LDIR_Name2[x] == 0xffff)) in __fat32_search_long_short()
118tmp_ldEntry->LDIR_Name2[x] != (uint16_t)(name[js++])) // 文件名不匹配,检索下一个短目录项 in __fat32_search_long_short()
125 if (js >= name_len && (tmp_ldEntry->LDIR_Name3[x] == 0xffff)) in __fat32_search_long_short()
128tmp_ldEntry->LDIR_Name3[x] != (uint16_t)(name[js++])) // 文件名不匹配,检索下一个短目录项 in __fat32_search_long_short()
135 cnt_long_dir = tmp_dEntry - (struct fat32_Directory_t *)tmp_ldEntry; in __fat32_search_long_short()
139 --tmp_ldEntry; // 检索下一个长目录项 in __fat32_search_long_short()