Home
last modified time | relevance | path

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

/lk-master/lib/fs/fat32/
A Dfile.c32 void *cache_ptr; in fat32_next_cluster_in_chain() local
33 int err = bcache_get_block(fat->cache, &cache_ptr, bnum); in fat32_next_cluster_in_chain()
38 uint32_t *table = (uint32_t *)cache_ptr; in fat32_next_cluster_in_chain()
42 uint16_t *table = (uint16_t *)cache_ptr; in fat32_next_cluster_in_chain()
/lk-master/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 3 milliseconds