Lines Matching defs:iovas
902 __u64 iovas[10];
907 test_ioctl_ioas_map(buffer, PAGE_SIZE, &iovas[i]);
909 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE);
916 test_ioctl_ioas_map(buffer, length, &iovas[i]);
919 &iovas[i]);
921 EXPECT_EQ(0, iovas[i] % (1UL << (ffs(length) - 1)));
924 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE * (i + 1));
933 test_ioctl_ioas_map(buffer, length, &iovas[i]);
934 EXPECT_EQ(0, iovas[i] % (1UL << (ffs(length) - 1)));
936 iovas[i] > test_cmd.add_reserved.start &&
937 iovas[i] <
942 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE * (i + 1));
962 test_ioctl_ioas_map(buffer, length, &iovas[i]);
963 EXPECT_EQ(0, iovas[i] % (1UL << (ffs(length) - 1)));
964 EXPECT_EQ(true, iovas[i] >= ranges[0].start);
965 EXPECT_EQ(true, iovas[i] <= ranges[0].last);
966 EXPECT_EQ(true, iovas[i] + length > ranges[0].start);
967 EXPECT_EQ(true, iovas[i] + length <= ranges[0].last + 1);
970 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE * (i + 1));