Searched refs:fsdata (Results 1 – 3 of 3) sorted by relevance
674 fsdata *fsdata; member743 static int fat_itr_root(fat_itr *itr, fsdata *fsdata) in fat_itr_root() argument748 itr->fsdata = fsdata; in fat_itr_root()779 fsdata *mydata = parent->fsdata; /* for silly macros */ in fat_itr_child()784 itr->fsdata = parent->fsdata; in fat_itr_child()1202 fsdata fsdata; in fat_exists() local1214 free(fsdata.fatbuf); in fat_exists()1222 fsdata fsdata; in fat_size() local1251 free(fsdata.fatbuf); in fat_size()1260 fsdata fsdata; in file_fat_read_at() local[all …]
652 fsdata *mydata = itr->fsdata; in flush_dir()822 fsdata *mydata = itr->fsdata; in new_dir_table()1443 fsdata fsdata = { .fatbuf = NULL, }, *mydata = &fsdata; in fat_dir_entries() local1456 fsdata = *dirs->fsdata; in fat_dir_entries()1460 if (!fsdata.fatbuf) { in fat_dir_entries()1465 fsdata.fatbufnum = -1; in fat_dir_entries()1466 dirs->fsdata = &fsdata; in fat_dir_entries()1472 free(fsdata.fatbuf); in fat_dir_entries()1527 fsdata *mydata = itr->fsdata; in delete_dentry_long()1563 fsdata fsdata = { .fatbuf = NULL, }; in fat_unlink() local[all …]
185 } fsdata; typedef190 static inline u32 clust_to_sect(fsdata *fsdata, u32 clust) in clust_to_sect() argument192 return fsdata->data_begin + clust * fsdata->clust_size; in clust_to_sect()195 static inline u32 sect_to_clust(fsdata *fsdata, int sect) in sect_to_clust() argument197 return (sect - fsdata->data_begin) / fsdata->clust_size; in sect_to_clust()
Completed in 9 milliseconds