Home
last modified time | relevance | path

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

/openbmc/u-boot/fs/fat/
H A Dfat.c147 static int flush_dirty_fat_buffer(fsdata *mydata);
151 int flush_dirty_fat_buffer(fsdata *mydata) in flush_dirty_fat_buffer()
162 static __u32 get_fatent(fsdata *mydata, __u32 entry) in get_fatent()
247 get_cluster(fsdata *mydata, __u32 clustnum, __u8 *buffer, unsigned long size) in get_cluster()
309 static int get_contents(fsdata *mydata, dir_entry *dentptr, loff_t pos, in get_contents()
545 static int get_fs_info(fsdata *mydata) in get_fs_info()
651 fsdata *fsdata; /* filesystem parameters */ member
679 static int fat_itr_root(fat_itr *itr, fsdata *fsdata) in fat_itr_root() argument
681 if (get_fs_info(fsdata)) in fat_itr_root()
684 itr->fsdata = fsdata; in fat_itr_root()
[all …]
H A Dfat_write.c105 static int flush_dirty_fat_buffer(fsdata *mydata) in flush_dirty_fat_buffer()
264 static int set_fatent_value(fsdata *mydata, __u32 entry, __u32 entry_value) in set_fatent_value()
371 static __u32 determine_fatent(fsdata *mydata, __u32 entry) in determine_fatent()
402 set_cluster(fsdata *mydata, u32 clustnum, u8 *buffer, u32 size) in set_cluster()
466 get_set_cluster(fsdata *mydata, __u32 clustnum, loff_t pos, __u8 *buffer, in get_set_cluster()
578 static int find_empty_cluster(fsdata *mydata) in find_empty_cluster()
597 fsdata *mydata = itr->fsdata; in flush_dir_table()
632 static int clear_fatent(fsdata *mydata, __u32 entry) in clear_fatent()
656 static void set_start_cluster(const fsdata *mydata, dir_entry *dentptr, in set_start_cluster()
670 static int check_overflow(fsdata *mydata, __u32 clustnum, loff_t size) in check_overflow()
[all …]
/openbmc/u-boot/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, int sect) in sect_to_clust() argument
187 return (sect - fsdata->data_begin) / fsdata->clust_size; in sect_to_clust()