Lines Matching refs:block
65 struct squashfs_cache *cache, u64 block, int length) in squashfs_cache_get() argument
74 if (cache->entry[i].block == block) { in squashfs_cache_get()
115 entry->block = block; in squashfs_cache_get()
123 block, length, &entry->next_index, in squashfs_cache_get()
174 cache->name, i, entry->block, entry->refcount, entry->error); in squashfs_cache_get()
178 block); in squashfs_cache_get()
269 entry->block = SQUASHFS_INVALID_BLK; in squashfs_cache_init()
337 u64 *block, int *offset, int length) in squashfs_read_metadata() argument
343 TRACE("Entered squashfs_read_metadata [%llx:%x]\n", *block, *offset); in squashfs_read_metadata()
346 entry = squashfs_cache_get(sb, msblk->block_cache, *block, 0); in squashfs_read_metadata()
362 *block = entry->next_index; in squashfs_read_metadata()
408 void *squashfs_read_table(struct super_block *sb, u64 block, int length) in squashfs_read_table() argument
427 res = squashfs_read_data(sb, data, block, length | in squashfs_read_table()