Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/fs/fat/
H A Dfat.c154 static int flush_dirty_fat_buffer(fsdata *mydata);
157 int flush_dirty_fat_buffer(fsdata *mydata) in flush_dirty_fat_buffer()
168 static __u32 get_fatent(fsdata *mydata, __u32 entry) in get_fatent()
253 get_cluster(fsdata *mydata, __u32 clustnum, __u8 *buffer, unsigned long size) in get_cluster()
318 static int get_contents(fsdata *mydata, dir_entry *dentptr, loff_t pos, in get_contents()
554 static int get_fs_info(fsdata *mydata) in get_fs_info()
645 fsdata *fsdata; /* filesystem parameters */ member
671 static int fat_itr_root(fat_itr *itr, fsdata *fsdata) in fat_itr_root() argument
673 if (get_fs_info(fsdata)) in fat_itr_root()
676 itr->fsdata = fsdata; in fat_itr_root()
[all …]
H A Dfat_write.c107 static int flush_dirty_fat_buffer(fsdata *mydata) in flush_dirty_fat_buffer()
214 static int is_next_clust(fsdata *mydata, dir_entry *dentptr);
215 static void flush_dir_table(fsdata *mydata, dir_entry **dentptr);
222 fill_dir_slot(fsdata *mydata, dir_entry **dentptr, const char *l_name) in fill_dir_slot()
273 get_long_file_name(fsdata *mydata, int curclust, __u8 *cluster, in get_long_file_name()
366 static int set_fatent_value(fsdata *mydata, __u32 entry, __u32 entry_value) in set_fatent_value()
473 static __u32 determine_fatent(fsdata *mydata, __u32 entry) in determine_fatent()
497 set_cluster(fsdata *mydata, __u32 clustnum, __u8 *buffer, in set_cluster()
558 static int find_empty_cluster(fsdata *mydata) in find_empty_cluster()
575 static void flush_dir_table(fsdata *mydata, dir_entry **dentptr) in flush_dir_table()
[all …]
/rk3399_rockchip-uboot/include/
H A Dfat.h178 } fsdata; typedef
180 static inline u32 clust_to_sect(fsdata *fsdata, u32 clust) in clust_to_sect() argument
182 return fsdata->data_begin + clust * fsdata->clust_size; in clust_to_sect()
185 static inline u32 sect_to_clust(fsdata *fsdata, u32 sect) in sect_to_clust() argument
187 return (sect - fsdata->data_begin) / fsdata->clust_size; in sect_to_clust()