Home
last modified time | relevance | path

Searched refs:dentptr (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/fs/fat/
Dfat_write.c683 static void set_start_cluster(const fsdata *mydata, dir_entry *dentptr, in set_start_cluster() argument
687 dentptr->starthi = in set_start_cluster()
689 dentptr->start = cpu_to_le16(start_cluster & 0xffff); in set_start_cluster()
723 set_contents(fsdata *mydata, dir_entry *dentptr, loff_t pos, __u8 *buffer, in set_contents() argument
727 __u32 curclust = START(dentptr); in set_contents()
743 set_start_cluster(mydata, dentptr, 0); in set_contents()
867 set_start_cluster(mydata, dentptr, curclust); in set_contents()
949 static void fill_dentry(fsdata *mydata, dir_entry *dentptr, in fill_dentry() argument
952 set_start_cluster(mydata, dentptr, start_cluster); in fill_dentry()
953 dentptr->size = cpu_to_le32(size); in fill_dentry()
[all …]
Dfat.c319 static int get_contents(fsdata *mydata, dir_entry *dentptr, loff_t pos, in get_contents() argument
322 loff_t filesize = FAT2CPU32(dentptr->size); in get_contents()
324 __u32 curclust = START(dentptr); in get_contents()
1216 dir_entry *dentptr = itr->dent; in file_fat_read_at() local
1218 ret = get_contents(&fsdata, dentptr, pos, buffer, maxsize, actread); in file_fat_read_at()