Lines Matching refs:file_block
196 data_block_t file_block; in file_block_map_update() local
237 file_block = block_mac_to_block(tr, &file->block_mac); in file_block_map_update()
238 if (transaction_block_need_copy(tr, file_block)) { in file_block_map_update()
245 assert(old_block == file_block); in file_block_map_update()
254 pr_write("copy file block %" PRIu64 " -> %" PRIu64 "\n", file_block, in file_block_map_update()
272 block_tree_insert(tr, &tr->files_updated, file_block, new_block); in file_block_map_update()
273 block_free(tr, file_block); in file_block_map_update()
373 data_block_t file_block, in file_get_block_etc() argument
398 found = block_map_get(tr, &block_map, file_block, &block_mac); in file_get_block_etc()
439 block_map_set(tr, &block_map, file_block, &block_mac); in file_get_block_etc()
475 data_block_t file_block, in file_get_block() argument
477 return file_get_block_etc(tr, file, file_block, true, false, ref); in file_get_block()
492 data_block_t file_block, in file_get_block_write() argument
495 return (void*)file_get_block_etc(tr, file, file_block, read, true, ref); in file_get_block_write()
520 data_block_t file_block, in file_block_put_dirty() argument
527 block_map_put_dirty(tr, &block_map, file_block, data - sizeof(struct iv), in file_block_put_dirty()
610 data_block_t file_block; in file_set_size() local
628 file_block = DIV_ROUND_UP(size, file_block_size); in file_set_size()
629 block_map_truncate(tr, &block_map, file_block); in file_set_size()