Lines Matching defs:test
457 struct rmap_test_vector *test)
471 map = kmalloc(map_lookup_size(test->num_stripes), GFP_KERNEL);
481 em->len = test->data_stripe_size * test->num_data_stripes;
483 em->orig_block_len = test->data_stripe_size;
486 map->num_stripes = test->num_stripes;
488 map->type = test->raid_type;
499 map->stripes[i].physical = test->data_stripe_phys_start[i];
512 if (ret || (out_ndaddrs == 0 && test->expected_mapped_addr)) {
514 test->expected_mapped_addr);
523 if (out_ndaddrs != test->expected_mapped_addr) {
531 if (logical[i] != test->mapped_logical[i]) {