Lines Matching refs:fatbuf
109 __u8 *bufptr = mydata->fatbuf; in flush_dirty_fat_buffer()
290 __u8 *bufptr = mydata->fatbuf; in set_fatent_value()
316 ((__u32 *) mydata->fatbuf)[offset] = cpu_to_le32(entry_value); in set_fatent_value()
319 ((__u16 *) mydata->fatbuf)[offset] = cpu_to_le16(entry_value); in set_fatent_value()
327 ((__u16 *)mydata->fatbuf)[off16] &= ~0xfff; in set_fatent_value()
328 ((__u16 *)mydata->fatbuf)[off16] |= val1; in set_fatent_value()
334 ((__u16 *)mydata->fatbuf)[off16] &= ~0xf000; in set_fatent_value()
335 ((__u16 *)mydata->fatbuf)[off16] |= (val1 << 12); in set_fatent_value()
337 ((__u16 *)mydata->fatbuf)[off16 + 1] &= ~0xff; in set_fatent_value()
338 ((__u16 *)mydata->fatbuf)[off16 + 1] |= val2; in set_fatent_value()
344 ((__u16 *)mydata->fatbuf)[off16] &= ~0xff00; in set_fatent_value()
345 ((__u16 *)mydata->fatbuf)[off16] |= (val1 << 8); in set_fatent_value()
347 ((__u16 *)mydata->fatbuf)[off16 + 1] &= ~0xf; in set_fatent_value()
348 ((__u16 *)mydata->fatbuf)[off16 + 1] |= val2; in set_fatent_value()
352 ((__u16 *)mydata->fatbuf)[off16] &= ~0xfff0; in set_fatent_value()
353 ((__u16 *)mydata->fatbuf)[off16] |= (val1 << 4); in set_fatent_value()
1054 fsdata datablock = { .fatbuf = NULL, }; in file_fat_write_at()
1183 free(mydata->fatbuf); in file_fat_write_at()
1197 fsdata fsdata = { .fatbuf = NULL, }, *mydata = &fsdata; in fat_dir_entries()
1213 fsdata.fatbuf = malloc_cache_aligned(FATBUFSIZE); in fat_dir_entries()
1214 if (!fsdata.fatbuf) { in fat_dir_entries()
1226 free(fsdata.fatbuf); in fat_dir_entries()
1263 fsdata fsdata = { .fatbuf = NULL, }; in fat_unlink()
1325 free(fsdata.fatbuf); in fat_unlink()
1335 fsdata datablock = { .fatbuf = NULL, }; in fat_mkdir()
1462 free(mydata->fatbuf); in fat_mkdir()