Lines Matching refs:test
1013 struct rmap_test_vector *test) in test_rmap_block() argument
1020 map = btrfs_alloc_chunk_map(test->num_stripes, GFP_KERNEL); in test_rmap_block()
1028 map->chunk_len = test->data_stripe_size * test->num_data_stripes; in test_rmap_block()
1029 map->stripe_size = test->data_stripe_size; in test_rmap_block()
1030 map->num_stripes = test->num_stripes; in test_rmap_block()
1031 map->type = test->raid_type; in test_rmap_block()
1042 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()
1054 if (ret || (out_ndaddrs == 0 && test->expected_mapped_addr)) { in test_rmap_block()
1056 test->expected_mapped_addr); in test_rmap_block()
1065 if (out_ndaddrs != test->expected_mapped_addr) { in test_rmap_block()
1073 if (logical[i] != test->mapped_logical[i]) { in test_rmap_block()