Searched refs:is_root (Results 1 - 1 of 1) sorted by relevance

/system/extras/fatblock/
H A Dimport.c193 static int import_dir(struct fs *fs, char *path, int is_root, argument
294 d->size = sizeof(struct fat_dirent) * (count + (is_root ? 0 : 2));
302 if (is_root)
305 my_first_cluster = is_root ? 0 : out->first_cluster;
307 d->entries = malloc(sizeof(struct fat_dirent) * (count + (is_root ? 0 : 2)));
313 ch_dirent = &d->entries[i + (is_root ? 0 : 2)];
327 if (!is_root) {

Completed in 39 milliseconds