Lines Matching full:sil

376 	struct sub_index_layout *sil = &layout->index;  in define_sub_index_nonce()  local
381 encode_u64_le(buffer, &offset, sil->sub_index.start_block); in define_sub_index_nonce()
383 sil->nonce = generate_secondary_nonce(primary_nonce, buffer, sizeof(buffer)); in define_sub_index_nonce()
384 if (sil->nonce == 0) { in define_sub_index_nonce()
385 sil->nonce = generate_secondary_nonce(~primary_nonce + 1, buffer, in define_sub_index_nonce()
393 struct sub_index_layout *sil = &layout->index; in setup_sub_index() local
397 sil->sub_index = (struct layout_region) { in setup_sub_index()
404 sil->volume = (struct layout_region) { in setup_sub_index()
414 sil->saves[i].index_save = (struct layout_region) { in setup_sub_index()
1296 struct sub_index_layout *sil = &layout->index; in verify_sub_index() local
1299 sil->sub_index = table->regions[2]; in verify_sub_index()
1300 result = verify_region(&sil->sub_index, next_block, RL_KIND_INDEX, 0); in verify_sub_index()
1306 sil->volume = table->regions[3]; in verify_sub_index()
1307 result = verify_region(&sil->volume, next_block, RL_KIND_VOLUME, in verify_sub_index()
1312 next_block += sil->volume.block_count + layout->super.volume_offset; in verify_sub_index()
1315 sil->saves[i].index_save = table->regions[i + 4]; in verify_sub_index()
1316 result = verify_region(&sil->saves[i].index_save, next_block, in verify_sub_index()
1321 next_block += sil->saves[i].index_save.block_count; in verify_sub_index()
1325 if (next_block != start_block + sil->sub_index.block_count) { in verify_sub_index()