Home
last modified time | relevance | path

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

/lib/fs/fat/
A Dfat.cpp39 void *cache_ptr; in fat_next_cluster_in_chain() local
40 int err = bcache_get_block(fat->bcache(), &cache_ptr, bnum); in fat_next_cluster_in_chain()
48 const auto *table = (const uint32_t *)cache_ptr; in fat_next_cluster_in_chain()
56 const auto *table = (const uint16_t *)cache_ptr; in fat_next_cluster_in_chain()
71 next_cluster = fat_read16(cache_ptr, fat_offset_in_sector); in fat_next_cluster_in_chain()
76 next_cluster = ((const uint8_t *)cache_ptr)[fat_offset_in_sector]; in fat_next_cluster_in_chain()
81 err = bcache_get_block(fat->bcache(), &cache_ptr, bnum); in fat_next_cluster_in_chain()
88 next_cluster |= ((const uint8_t *)cache_ptr)[0] << 8; in fat_next_cluster_in_chain()
/lib/fs/ext2/
A Dext2.c225 void *cache_ptr; in ext2_load_inode() local
226 err = bcache_get_block(ext2->cache, &cache_ptr, bnum); in ext2_load_inode()
231 memcpy(inode, (uint8_t *)cache_ptr + block_offset, sizeof(struct ext2_inode)); in ext2_load_inode()

Completed in 7 milliseconds