Searched refs:CLUSTER_32 (Results 1 – 4 of 4) sorted by relevance
147 if (clu == CLUSTER_32(0)) { /* FAT16 root_dir */ in clear_cluster()174 u32 new_clu, last_clu = CLUSTER_32(~0), read_clu; in fat_alloc_cluster()178 if (new_clu == CLUSTER_32(~0)) in fat_alloc_cluster()185 p_chain->dir = CLUSTER_32(~0); in fat_alloc_cluster()191 if (read_clu == CLUSTER_32(0)) { in fat_alloc_cluster()192 if (FAT_write(sb, new_clu, CLUSTER_32(~0)) < 0) in fat_alloc_cluster()196 if (p_chain->dir == CLUSTER_32(~0)) { in fat_alloc_cluster()228 u32 hint_clu, new_clu, last_clu = CLUSTER_32(~0); in exfat_alloc_cluster()232 if (hint_clu == CLUSTER_32(~0)) { in exfat_alloc_cluster()234 if (hint_clu == CLUSTER_32(~0)) in exfat_alloc_cluster()[all …]
237 *content = CLUSTER_32(~0); in __FAT_read()240 *content = CLUSTER_32(_content); in __FAT_read()258 *content = CLUSTER_32(~0); in __FAT_read()261 *content = CLUSTER_32(_content); in __FAT_read()278 if (_content >= CLUSTER_32(0x0FFFFFF8)) { in __FAT_read()279 *content = CLUSTER_32(~0); in __FAT_read()282 *content = CLUSTER_32(_content); in __FAT_read()296 if (_content >= CLUSTER_32(0xFFFFFFF8)) { in __FAT_read()297 *content = CLUSTER_32(~0); in __FAT_read()300 *content = CLUSTER_32(_content); in __FAT_read()[all …]
625 fid->start_clu = CLUSTER_32(~0); in ffsLookupFile()870 if ((clu_offset > 0) && (clu != CLUSTER_32(~0))) { in ffsWriteFile()874 clu = CLUSTER_32(~0); in ffsWriteFile()886 while ((clu_offset > 0) && (clu != CLUSTER_32(~0))) { in ffsWriteFile()897 if (clu == CLUSTER_32(~0)) { in ffsWriteFile()900 new_clu.dir = (last_clu == CLUSTER_32(~0)) ? in ffsWriteFile()901 CLUSTER_32(~0) : last_clu + 1; in ffsWriteFile()917 if (last_clu == CLUSTER_32(~0)) { in ffsWriteFile()1069 u32 last_clu = CLUSTER_32(0); in ffsTruncateFile()1132 fid->start_clu = CLUSTER_32(~0); in ffsTruncateFile()[all …]
87 #define CLUSTER_32(x) ((u32)(x)) macro