Lines Matching refs:iovas
417 __u64 iovas[10];
422 test_ioctl_ioas_map(buffer, PAGE_SIZE, &iovas[i]);
424 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE);
431 test_ioctl_ioas_map(buffer, length, &iovas[i]);
434 &iovas[i]);
436 EXPECT_EQ(0, iovas[i] % (1UL << (ffs(length) - 1)));
439 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE * (i + 1));
448 test_ioctl_ioas_map(buffer, length, &iovas[i]);
449 EXPECT_EQ(0, iovas[i] % (1UL << (ffs(length) - 1)));
451 iovas[i] > test_cmd.add_reserved.start &&
452 iovas[i] <
457 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE * (i + 1));
477 test_ioctl_ioas_map(buffer, length, &iovas[i]);
478 EXPECT_EQ(0, iovas[i] % (1UL << (ffs(length) - 1)));
479 EXPECT_EQ(true, iovas[i] >= ranges[0].start);
480 EXPECT_EQ(true, iovas[i] <= ranges[0].last);
481 EXPECT_EQ(true, iovas[i] + length > ranges[0].start);
482 EXPECT_EQ(true, iovas[i] + length <= ranges[0].last + 1);
485 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE * (i + 1));